Пример #1
0
 private void Awake()
 {
     m_environmentLighting = new EnvironmentLighting();
     m_environmentWeather  = new EnvironmentWeather(m_environmentLighting);
 }
Пример #2
0
 public EnvironmentWeather(EnvironmentLighting environmentLighting)
 {
     m_environmentCloud     = new EnvironmentCloud(environmentLighting);
     m_environmentRain      = new EnvironmentRain();
     m_environmentLightning = new EnvironmentLightning();
 }
Пример #3
0
 public EnvironmentCloud(EnvironmentLighting environmentLighting)
 {
     m_environmentLighting = environmentLighting;
     m_camera          = UnityEngine.Camera.main;
     m_cameraTransform = m_camera.transform;
 }