protected override void InitObjects() { base.InitObjects(); m_StoreControl = CocoLoad.GetOrAddComponent <CocoStoreControl> (gameObject); BindValue(m_StoreControl); }
private bool RegisterInstance() { if (_instance == null) { _instance = this; return(true); } if (_instance == this) { return(true); } Destroy(this); return(false); }