示例#1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.Alpha2) && enemy.Inrange(15))
     {
         enemy.playerPosition.SFX.PlayOneShot(enemy.playerPosition.spellSFX);
         startStun();
         manaCount.useMana(1);
     }
 }