23 lines
500 B
C#
23 lines
500 B
C#
using System.Collections;
|
|
using UnityEngine;
|
|
using Watermelon.LevelSystem;
|
|
|
|
namespace Watermelon
|
|
{
|
|
[RegisterModule("Game Settings")]
|
|
public class GameInitModule : InitModule
|
|
{
|
|
public override string ModuleName => "Game Settings";
|
|
|
|
[SerializeField] GameSettings gameSettings;
|
|
|
|
public override IEnumerator InitAsync(GameObject owner)
|
|
{
|
|
gameSettings.Init();
|
|
|
|
LevelController.Init();
|
|
|
|
yield return null;
|
|
}
|
|
}
|
|
} |