private void Awake() { WMS.Initialize(); commandBufferManager = GetComponentInChildren <WeatherMakerCommandBufferManagerScript>(); if (commandBufferManager == null) { Debug.LogError("CommandBufferManager needs to be set on WeatherMakerScript"); } CheckPerformanceProfile(); }
private void Awake() { WMS.Initialize(); if (ResourceContainer == null) { Debug.LogError("Please ensure you have set a resource container on the WeatherMakerScript, this is required to load Weather Maker resources properly"); } commandBufferManager = GetComponentInChildren <WeatherMakerCommandBufferManagerScript>(); if (commandBufferManager == null) { Debug.LogError("CommandBufferManager needs to be set on WeatherMakerScript"); } CheckPerformanceProfile(); }