29 lines
463 B
29 lines
463 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class BowlGM
|
|
{
|
|
public string active;
|
|
|
|
private static BowlGM _instance;
|
|
public static BowlGM Instance
|
|
{
|
|
get
|
|
{
|
|
if (null == _instance)
|
|
{
|
|
_instance = new BowlGM();
|
|
}
|
|
return _instance;
|
|
}
|
|
}
|
|
|
|
public void Method()
|
|
{
|
|
Debug.Log("simle singleton");
|
|
}
|
|
|
|
|
|
}
|