private void Awake() { m_environmentLighting = new EnvironmentLighting(); m_environmentWeather = new EnvironmentWeather(m_environmentLighting); }
public EnvironmentWeather(EnvironmentLighting environmentLighting) { m_environmentCloud = new EnvironmentCloud(environmentLighting); m_environmentRain = new EnvironmentRain(); m_environmentLightning = new EnvironmentLightning(); }
public EnvironmentCloud(EnvironmentLighting environmentLighting) { m_environmentLighting = environmentLighting; m_camera = UnityEngine.Camera.main; m_cameraTransform = m_camera.transform; }