void OnEnable()
 {
     if (_controller == null)
     {
         _controller = (LeiaDisplay)target;
     }
 }
Exemplo n.º 2
0
        void Start()
        {
            _leiaDisplay = LeiaDisplay.Instance;

            if (_leiaDisplay == null)
            {
                this.Error(DisplayNotFound);
                return;
            }
        }