TV.Awake C# (CSharp) Method

Awake() public method

public Awake ( ) : void
return void
    public void Awake()
    {
        tvScreenMesh = this.transform.FindChild("TVScreen").GetComponent<MeshRenderer>(); //get tv screen mesh
        tvDial = this.transform.FindChild("RetroTV").FindChild("Dial").gameObject; //get tv dial

        if (disableRenderTextureWhenNotInUse)
        {
            setupTVCamerasList();
        }

        checkAvailableTVChannel();
        updateTVChannel();
    }