private void Awake() { instance = this; skybox = RenderSettings.skybox; if (!lightSource) { lightSource = FindObjectOfType <Light>(); } if (baseLightColour == Color.clear) { baseLightColour = lightSource.color; } if (baseLightIntensity == -1) { baseLightIntensity = lightSource.intensity; } }
public override void Initialise() { base.Initialise(); skybox = SkyboxMaster.instance; }
protected override void Start() { base.Start(); skybox = SkyboxMaster.instance; }