コード例 #1
0
 public void Despawn(EnemyInstance target)
 {
     if (this == target)
     {
         Destroy(gameObject);
     }
 }
コード例 #2
0
 public void TeleportToStart(EnemyInstance target)
 {
     if (this == target)
     {
         var spawnpointPosition = _spawnpoint.position;
         transform.position = new Vector3(spawnpointPosition.x, spawnpointPosition.y);
         SetSpawnPoint(_spawnpoint, true);
     }
 }
コード例 #3
0
 public virtual void ApplySpecialEffect(Scrips.EnemyData.Instances.EnemyInstance target)
 {
 }