void Awake() {
     _instance = this;
     EventDelegate.Set(cacelButton.onClick, () => { OnCancel(); });
     tween = this.GetComponent<TweenScale>();
 }
Beispiel #2
0
 void Awake()
 {
     _instance = this;
     EventDelegate.Set(cacelButton.onClick, () => { OnCancel(); });
     tween = this.GetComponent <TweenScale>();
 }