コード例 #1
0
        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
        }
コード例 #2
0
 void OnDestroy()
 {
     ins = null;
 }