FairyGUI.CaptureCamera.OnEnable C# (CSharp) Méthode

OnEnable() public méthode

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

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