BlackLight.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
	void Start () {
	
		_directionalLight = GameObject.Find("Directional light").GetComponent<Light>();
		_initialIntensity = _directionalLight.GetComponent<Light>().intensity;

		_camera = transform.parent.FindChild("Main Camera").GetComponent<Camera>();
		_initialBackground = _camera.backgroundColor;

		setDiffuseTransparentPlane();
	}