void Start() { _instance = this; tr_zhizehn = zhizhen.GetComponent <TweenRotation>(); tr_dongwu = m_gAnimalParent.GetComponent <TweenRotation>(); tp_enjoyGameType = enjoyGameType.GetComponent <TweenPosition>(); m_tEnjoyGameType = enjoyGameType.GetComponent <UITexture>(); }
void OnDestroy() { _instance = null; }