Esempio n. 1
0
 public static void Postfix(Deployable __instance)
 {
     if (__instance.IsDeployed && !__instance.PackedStateItemPrefab)
     {
         Instance.AddDestroyInteraction(__instance);
     }
 }
Esempio n. 2
0
            public static void Postfix(Deployable __instance)
            {
                var self = __instance;

                if (self.IsDeployed && self.PackedStateItemPrefab == null)
                {
                    Instance.AddDestroyInteraction(self);
                }
            }