예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     isDead         = false;
     HP_Script      = GetComponent <Enemy_hp>();
     Player         = GameObject.FindGameObjectWithTag("Player");
     PrinceAnim     = GetComponent <Animator>();
     PrinceRenderer = GetComponent <SpriteRenderer>();
 }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     Boss_HP_Script = GetComponent <Enemy_hp>();
 }