示例#1
0
 public virtual void ChangeTarget(int direction)
 {
     if (lockOn)
     {
         GameObject newTarget = targetControl.ChangeTarget(direction);
         if (newTarget != null)
         {
             target = newTarget;
         }
     }
 }