void Awake() { this.OnMoveStart = (() => { LogicCore.SP.EventGroup.FireEvent((int)LogicCore.LogicCoreEvent.OnJoystickStart, this, null); }); this.OnMove = ((v) => { LogicCore.SP.EventGroup.FireEvent((int)LogicCore.LogicCoreEvent.OnJoystickMove, this, EventGroup.NewArg <EventSingleArgs <Vector2>, Vector2>(v)); }); this.OnMoveEnd = (() => { LogicCore.SP.EventGroup.FireEvent((int)LogicCore.LogicCoreEvent.OnJoystickEnd, this, null); }); cachedRectTransform = transform as RectTransform; }