Ejemplo n.º 1
0
            /// <summary>
            /// Applied after SortRows runs.
            /// </summary>
            internal static void Postfix(PinnedResourcesPanel __instance)
            {
                var pcm = __instance.GetComponent <PinnedCritterManager>();

                if (pcm != null)
                {
                    pcm.PopulatePinnedRows();
                }
            }
Ejemplo n.º 2
0
 /// <summary>
 /// Applied before OnSpawn runs.
 /// </summary>
 internal static void Prefix(PinnedResourcesPanel __instance)
 {
     __instance.gameObject.AddOrGet <PinnedCritterManager>();
 }