コード例 #1
0
            /// <summary>
            /// Applied after SortRows runs.
            /// </summary>
            internal static void Postfix(PinnedResourcesPanel __instance)
            {
                var pcm = __instance.GetComponent <PinnedCritterManager>();

                if (pcm != null)
                {
                    pcm.PopulatePinnedRows();
                }
            }
コード例 #2
0
 /// <summary>
 /// Applied before OnSpawn runs.
 /// </summary>
 internal static void Prefix(PinnedResourcesPanel __instance)
 {
     __instance.gameObject.AddOrGet <PinnedCritterManager>();
 }