public void useSkill() { if (bulletType.Equals(EnumsGame.GameBullets.ENEMY_BULLET_01)) { SkillsManager.instance.useEnemyBullet(bulletType, transform.position); } }
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); } }