Bezi回来了
This commit is contained in:
@@ -117,11 +117,20 @@ namespace Cielonos.MainGame.Characters
|
||||
}
|
||||
};
|
||||
|
||||
inputActions.Player.LockOnTarget.performed += ctx =>
|
||||
inputActions.Player.LockonTarget.performed += ctx =>
|
||||
{
|
||||
if (ctx.performed && isCursorLocked.Value)
|
||||
{
|
||||
operation.LockOnTarget();
|
||||
operation.LockonTarget();
|
||||
}
|
||||
};
|
||||
|
||||
inputActions.Player.SelectLockonTarget.performed += ctx =>
|
||||
{
|
||||
if (ctx.performed && isCursorLocked.Value)
|
||||
{
|
||||
Debug.Log("Value: " + ctx.ReadValue<float>());
|
||||
operation.SelectLockonTarget(ctx.ReadValue<float>());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user