コード例 #1
0
        public void BindAxis(string axisName, Action <float> callback)
        {
            var eventId = NativeManager.AddEvent(callback);

            E_UInputComponent_BindAxis_Event(this, eventId, axisName);
        }
コード例 #2
0
        public void BindAction(string actionName, EInputEvent keyEvent, Action callback)
        {
            var eventId = NativeManager.AddEvent(callback);

            E_UInputComponent_BindAction(this, eventId, actionName, keyEvent);
        }