Add missing InitializeCore calls in test scenes

This commit is contained in:
Ammar Askar 2024-10-12 20:20:09 -04:00
parent e5fa723950
commit f912b8d8cf
2 changed files with 5 additions and 0 deletions

View file

@ -47,6 +47,8 @@ namespace OpenTS2.Engine.Tests
private void Start()
{
Core.InitializeCore();
// Load effects.
EffectsManager.Instance.Initialize();

View file

@ -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.