public static Sington GetInstance() { if (_instance == null) { GameObject obj = new GameObject(); _instance = obj.AddComponent <Sington>(); } return(_instance); }
void Awake() { _instance = this; }