RemoteCamera.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
    void Start()
    {
        GameObject TargetCamera= GameObject.Find (Target);
        if (TargetCamera!=null)
        {
            cam = TargetCamera.GetComponent<RemoteCameraCapture>();
            if (cam==null)
            {
                cam=TargetCamera.AddComponent<RemoteCameraCapture>();
            }
        }

        myMat = ScreenToDisplayOn.GetComponent<Renderer>().materials;
        player=GameWorldController.instance.playerUW.gameObject;//GameObject.Find ("Gronk");
    }
RemoteCamera