FairyGUI.CaptureCamera.OnEnable C# (CSharp) Method

OnEnable() public method

public OnEnable ( ) : void
return void
        void OnEnable()
        {
            cachedCamera = this.GetComponent<Camera>();
            cachedTransform = this.gameObject.transform;

            if (this.gameObject.name == Name)
                _main = this;
        }