コード例 #1
0
ファイル: EntityList.cs プロジェクト: vitellaryjr/Everest
        // Mods can't access patch_ classes directly.
        // We thus expose any new members through extensions.

        /// <summary>
        /// Get the list of entities which are about to get added.
        /// </summary>
        public static List <Entity> GetToAdd(this EntityList self)
        => ((patch_EntityList)(object)self).ToAdd;
コード例 #2
0
 private static void EntityListOnDebugRender(On.Monocle.EntityList.orig_DebugRender orig, Monocle.EntityList self, Camera camera)
 {
     drawingHitboxes = true;
     orig(self, camera);
     drawingHitboxes = false;
 }