// Use this for initialization
	void Start () {
		rbd2D = GetComponent<Rigidbody2D> ();
		anim = GetComponent<Animator> ();
		aL = (Arrow_Launch)FindObjectOfType (typeof(Arrow_Launch));
		directEnemy = (Enemy_Controller)FindObjectOfType (typeof(Enemy_Controller));
		pStatus = (Player_Status)FindObjectOfType (typeof(Player_Status));
	}
Beispiel #2
0
	// Use this for initialization
	void Start () {
		aL = (Arrow_Launch)FindObjectOfType (typeof(Arrow_Launch));
        WeaponPanel = GameObject.Find("WeaponPanel");
        HPScript = GameObject.Find("HPBar").GetComponent<HPBarScript>();
        SPScript = GameObject.Find("SPBar").GetComponent<SPBarScript>();
        EXPScript = GameObject.Find("EXPBar").GetComponent<EXPBarScript>();

        
    }