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