예제 #1
0
 private static void StartFollowSelectedColonist2(bool __state)
 {
     if (__state)
     {
         FollowMe.TryStartFollow(Find.Selector.SingleSelectedThing);
     }
 }
예제 #2
0
 private static void StopFollow_Prefix()
 {
     if (FollowMe.CurrentlyFollowing)
     {
         FollowMe.StopFollow("Harmony");
     }
 }
예제 #3
0
 private static void StopFollow_Prefix_Vector3([NotNull] Vector3 loc)
 {
     if (FollowMe.CurrentlyFollowing)
     {
         if (FollowMe.FollowedThing.TrueCenter() != loc)
         {
             FollowMe.StopFollow("Harmony");
         }
     }
 }