场景设计
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using Sirenix.OdinInspector;
|
||||
using SLSFramework.General;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cielonos.MainGame.Environments
|
||||
{
|
||||
public class EnvironmentManager : Singleton<EnvironmentManager>
|
||||
{
|
||||
[Required]
|
||||
public RainingSubmodule rainingSm;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
rainingSm.rainingState.SetValue();
|
||||
rainingSm.rainingStart.Post(gameObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user