예제 #1
0
 protected override void Start()
 {
     base.Start();
     heartAttack          = GetComponentInChildren <HeartAttack>();
     bossHealthBarManager = BossHealthBarManager.instance;
     bossHealthBarManager.setReferenceToHeart(this, heartID);
 }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     heartAttack = GetComponentInParent <HeartAttack>();
 }