Example #1
0
        protected override void Awake()
        {
            base.Awake();

            _linkedTouchpad = GetComponent<Touchpad>();
            _linkedTouchpad.CurrentEventCamera = UiRootCamera;
            _touchpadTouchRect = _linkedTouchpad.GetComponent<RectTransform>();
        }
        protected override void Awake()
        {
            base.Awake();

            _linkedTouchpad = GetComponent <Touchpad>();
            _linkedTouchpad.CurrentEventCamera = UiRootCamera;
            _touchpadTouchRect = _linkedTouchpad.GetComponent <RectTransform>();
        }