예제 #1
0
 void Awake()
 {
     _instance = this;
     Normal    = GameObject.Find("NormalAttack").gameObject;
     Range     = GameObject.Find("RangeAttack").gameObject;
     Red       = GameObject.Find("RedAttack").gameObject;
 }
예제 #2
0
	void Awake(){
		_instance = this;
	}
예제 #3
0
 void Awake()
 {
     _instance = this;
 }
예제 #4
0
파일: AttackObserver.cs 프로젝트: oathx/Six
	/// <summary>
	/// Active this instance.
	/// </summary>
	public override void Active ()
	{
		if (!AttackUI)
			AttackUI = UISystem.GetSingleton().LoadWidget<UIAttack>(ResourceDef.UI_ATTACK);
	}