Ejemplo n.º 1
0
    internal void OnInputDetected(FFEventParameter args)
    {
        FFEngine.Events.UnregisterForEvent("InputKeyDetected", OnInputDetected);
        isRegistered = false;
        InputKeyBinding newBinding = args.data as InputKeyBinding;

        if (newBinding.key != KeyCode.Escape)
        {
            EInputTriggerType type = binding.trigger;
            binding         = newBinding;
            binding.trigger = type;
            _inputKey.UpdateBinding(binding);
        }
        UpdateDisplay();
    }
Ejemplo n.º 2
0
 internal InputReference(AInputEvent a_input, EInputTriggerType a_eventType)
 {
     trigger = a_eventType;
     input   = a_input;
 }
Ejemplo n.º 3
0
	internal InputReference(AInputEvent a_input, EInputTriggerType a_eventType)
	{
		trigger = a_eventType;
		input = a_input;
	}