示例#1
0
 public void PlayerAttacked()
 {
     foreach (Transform enemy in EnemySet.transform)
     {
         EnemySetImage enemy_set = enemy.gameObject.GetComponent <EnemySetImage>();
         MessageSetScript.message_set.MessageSet("敵を攻撃した。");
         enemy_set.PlayerAttack(enemy_set.power);
     }
     Attack_flow_end();
 }
 private void Awake()
 {
     set      = this;
     setimage = EnemySetImage.enemy_image;
 }
示例#3
0
 private void Awake()
 {
     enemy_image = this;
 }