public void useSkill()
 {
     if (bulletType.Equals(EnumsGame.GameBullets.ENEMY_BULLET_01))
     {
         SkillsManager.instance.useEnemyBullet(bulletType, transform.position);
     }
 }
示例#2
0
 public void useEnemyBullet(EnumsGame.GameBullets bullet, Vector3 pos)
 {
     if (bullet.Equals(EnumsGame.GameBullets.ENEMY_BULLET_01))
     {
         enemyBullet01.gameObject.SetActive(true);
         enemyBullet01.initBullet(PlayerController.instance.transform, pos);
     }
 }