Answers for "new unity input system bool switch"

C#
0

new unity input system bool switch

/// <summary>
/// in the action map, add a press interaction
/// and set the trigger behaviour to press and release
/// replace 'Function' with your action name
/// </summary>
void OnFunction()
{
	bool = !bool
}
Posted by: Guest on September-16-2020

Code answers related to "new unity input system bool switch"

C# Answers by Framework

Browse Popular Code Answers by Language