Пример #1
0
 /// <summary>
 /// Allows a Pawn to set up custom input bindings. Called upon possession by a PlayerController, using the InputComponent created by CreatePlayerInputComponent().
 /// </summary>
 protected virtual void SetupPlayerInputComponent(UInputComponent playerInputComponent)
 {
     setupPlayerInputComponentRedirect
     .Resolve(VTableHacks.PawnSetupPlayerInputComponent, this)
     .Invoke(Address, playerInputComponent.Address);
 }
Пример #2
0
        internal override void SetupPlayerInputComponentInternal(IntPtr playerInputComponentAddress)
        {
            UInputComponent playerInputComponent = GCHelper.Find <UInputComponent>(playerInputComponentAddress);

            SetupPlayerInputComponent(playerInputComponent);
        }
Пример #3
0
 protected virtual void SetupPlayerInputComponent(UInputComponent playerInputComponent)
 {
 }