mirror of
https://github.com/LazyDuchess/OpenTS2.git
synced 2025-01-22 08:11:47 -05:00
Add missing InitializeCore calls in test scenes
This commit is contained in:
parent
e5fa723950
commit
f912b8d8cf
2 changed files with 5 additions and 0 deletions
|
@ -47,6 +47,8 @@ namespace OpenTS2.Engine.Tests
|
|||
|
||||
private void Start()
|
||||
{
|
||||
Core.InitializeCore();
|
||||
|
||||
// Load effects.
|
||||
EffectsManager.Instance.Initialize();
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ using OpenTS2.Common;
|
|||
using OpenTS2.Components;
|
||||
using OpenTS2.Content;
|
||||
using OpenTS2.Content.DBPF.Scenegraph;
|
||||
using OpenTS2.Engine;
|
||||
using OpenTS2.Files;
|
||||
using OpenTS2.Files.Formats.DBPF;
|
||||
using UnityEngine;
|
||||
|
@ -10,6 +11,8 @@ public class ScenegraphGMDCTest : MonoBehaviour
|
|||
{
|
||||
private void Start()
|
||||
{
|
||||
Core.InitializeCore();
|
||||
|
||||
var contentManager = ContentManager.Instance;
|
||||
|
||||
// Load base game assets.
|
||||
|
|
Loading…
Reference in a new issue