Exemplo n.º 1
0
 public static void TrySelect(GlobalTargetInfo target)
 {
     if (target.IsValid)
     {
         target = CameraJumper.GetAdjustedTarget(target);
         if (target.HasThing)
         {
             CameraJumper.TrySelectInternal(target.Thing);
         }
         else if (target.HasWorldObject)
         {
             CameraJumper.TrySelectInternal(target.WorldObject);
         }
     }
 }