예제 #1
0
	// Use this for initialization
	void Start () 
	{
		attakflag = true;
		attakanim = GetComponentInParent<Animator> ();
		damageErea = GetComponent<GameObject> ();
		unitychancontroller = GameObject.Find ("unitychan_dynamic_locomotion").GetComponent<UnityChanControlScriptWithRgidBody> ();
		lifecount = GameObject.Find ("Life").GetComponent<PlayerHP> ();
		lifecount.UpdateLife (unitychancontroller.playerHP);
	}