暂时修复单例第二次运行时出现的bug
This commit is contained in:
@@ -6,6 +6,7 @@ namespace A2W
|
||||
{
|
||||
public class SceneSingleton<T> : MonoBehaviour where T : MonoBehaviour
|
||||
{
|
||||
[System.Obsolete]
|
||||
public static T instance
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user