예제 #1
0
 // Init and spawn anything in preperation for update job state
 public override bool OnStartJob()
 {
     if (!characterNav.NavToRandom(targetShip))
     {
         // Begin the delay, then try increment job state
         jobState = 1;
         jobController.StartCoroutine(jobController.DelayThenIncrementJobState(1.0f, this));
     }
     return(true);
 }