void OnEnable()
 {
     if (_controller == null)
     {
         _controller = (LeiaDisplay)target;
     }
 }
示例#2
0
        void Start()
        {
            _leiaDisplay = LeiaDisplay.Instance;

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