private static void OnInit(GameManager gameManager)
 {
     EnemyInfo.OnInit();
     CustomInfo.OnInit();
     HitboxInfo.OnInit();
     RngInfo.OnInit();
 }
        private static void OnPreRender(GameManager gameManager, StringBuilder infoBuilder)
        {
            // 放第一位,先更新 settings
            ConfigManager.OnPreRender();

            // 放第二位,先处理镜头之后 camera.WorldToScreenPoint 才能获得正确数据
            CameraManager.OnPreRender(gameManager);

            HeroInfo.OnPreRender(gameManager, infoBuilder);
            CustomInfo.OnPreRender(gameManager, infoBuilder);
            TimeInfo.OnPreRender(gameManager, infoBuilder);
            EnemyInfo.OnPreRender(gameManager, infoBuilder);
            HitboxInfo.OnPreRender(gameManager, infoBuilder);
            RngInfo.OnPreRender(infoBuilder);
        }
        // 重叠房间加载后重新采集数据
#if V1028
        public static void AfterManualLevelStart()
        {
            EnemyInfo.RefreshInfo();
            HitboxInfo.RefreshInfo();
        }
 // ReSharper disable once UnusedMember.Global
 // PlayMakerUnity2DProxy.start()
 public static void OnColliderCreate(GameObject gameObject)
 {
     HitboxInfo.TryAddHitbox(gameObject);
     EnemyInfo.TryAddEnemy(gameObject);
 }