Exemple #1
0
 internal InputReference(AInputEvent a_input, EInputTriggerType a_eventType)
 {
     trigger = a_eventType;
     input   = a_input;
 }
Exemple #2
0
 internal void Register(AInputEvent a_input)
 {
     keys.Add(a_input.eventName, a_input);
 }
Exemple #3
0
	internal void RegisterOnEventKey(EInputEventKey a_key, AInputEvent.InputAction a_delegate)
	{
		RegisterOnEventKey(a_key.ToString(), a_delegate);
	}
Exemple #4
0
	internal void Register(AInputEvent a_input)
	{
		keys.Add(a_input.eventName, a_input);
	}
Exemple #5
0
	internal void UnregisterOnEventKey(string a_keyName, AInputEvent.InputAction a_delegate)
	{
		if(keys.ContainsKey(a_keyName))
		{
			keys[a_keyName].onActivation -= a_delegate;
		}
	}
Exemple #6
0
	internal InputReference(AInputEvent a_input, EInputTriggerType a_eventType)
	{
		trigger = a_eventType;
		input = a_input;
	}
 /* Get the input event type. */
 public static AInputEventType AInputEvent_getType(this AInputEvent @event)
 {
     return(default(AInputEventType));
 }