Jump to content

Event Based Input System?


photo

Recommended Posts

Hi,

Just Started using Unigine coming from Cryengine and Unreal engine experience and I have to say I am impressed.

I do Have one question in mind, its about Input System, right now all the tutorials I saw are checking for user input in the Update Function like the Older Unity Input System instead of Event based ones like in Cryengine and UE4 by Default, which gives a performance boost and is neat compared to the Update/Tick approach.

In UE4 it has this InputComponent System that does the job I am looking for something like this.

	//Aim
	PlayerInputComponent->BindAction("Aim", IE_Pressed, this, &ARHN_C_DefaultCharacter::AimStart);
	PlayerInputComponent->BindAction("Aim", IE_Released, this, &ARHN_C_DefaultCharacter::AimStop);

Thanks in Advance!

  • Like 1
Link to comment
×
×
  • Create New...