private GameObject PanelInner = null;//金手指 void Awake() { ins = this; txt_like.text = ""; last_click_time = Utils.GetTimestampSeconds(); #if UNITY_EDITOR PanelInner.SetActive(true); #else GameObject.Destroy(PanelInner); input = null; PanelInner = null; #endif }
void OnDestroy() { ins = null; }