private static void Postfix(LightShaftGimble __instance) { if (!GameManager.m_IsPaused && AmbientLights.config != null && AmbientLights.config.ready && GameLights.gameLightsReady) { GameLights.UpdateLightshafts(); } }
private static void Postfix(LightShaftGimble __instance) { GameLights.gameShaftsList.Add(__instance.gameObject.GetComponentsInChildren <Renderer>()); }