コード例 #1
0
 public HostageState(HostageController hostageController)
 {
     hostage = hostageController;
     grid    = GameObject.FindGameObjectWithTag(Tags.World).GetComponent <World>().grid;
     player  = GameObject.FindGameObjectWithTag(Tags.Player);
 }
コード例 #2
0
 public ReleasedState(HostageController hostageController)  : base(hostageController)
 {
     hostage        = hostageController;
     escapeLocation = GameObject.FindGameObjectWithTag(Tags.Player).transform.position;
 }
コード例 #3
0
 public CapturedState(HostageController hostageController)  : base(hostageController)
 {
     hostage = hostageController;
 }