BoxHealth.die C# (CSharp) 메소드

die() 공개 메소드

public die ( ) : void
리턴 void
	void die(){
		gameObject.GetComponent<Destructible>().Destruct();
		//Enemy died, Do something
		Destroy(gameObject);
	}
}