よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public void SendMarshal() { if (_assignedMarshal == null) { _assignedMarshal = GameManager.Instance.AssignMarshal(); if (_assignedMarshal != null) { _assignedMarshal.CollectCivilians(this); GameManager.Instance.ShowMessage("Marshal " + _assignedMarshal.Name + " is on his way!"); } else { GameManager.Instance.ShowMessage("No Marshals Available!"); } } else { GameManager.Instance.ShowMessage("Marshal " + _assignedMarshal.Name + " is already coming!"); } }