void Awake() { _instance = this; Normal = GameObject.Find("NormalAttack").gameObject; Range = GameObject.Find("RangeAttack").gameObject; Red = GameObject.Find("RedAttack").gameObject; }
void Awake(){ _instance = this; }
void Awake() { _instance = this; }
/// <summary> /// Active this instance. /// </summary> public override void Active () { if (!AttackUI) AttackUI = UISystem.GetSingleton().LoadWidget<UIAttack>(ResourceDef.UI_ATTACK); }