Pages 1
Universal Fighting Engine Forum We are no longer using the forum to answer questions due to bot attacks. Please use our discord instead: https://discord.gg/hGMZhF7 |
You are not logged in. Please login or register.
Universal Fighting Engine Forum → Source Coding → Use a button press to select Alternative Costume
100% custom code is needed.
I'll post some code I use for this later.
Awesome, looking forward to it.
This code should get you started.
//Place this code in DoFixedUpdate
if (player1CurrentInputs != null)
{
foreach (KeyValuePair<InputReferences, InputEvents> pair in player1CurrentInputs)
{
if (pair.Key.inputType == InputType.Button && pair.Key.engineRelatedButton == ButtonPress.Button1)
{
}
}
}
Universal Fighting Engine Forum → Source Coding → Use a button press to select Alternative Costume
Powered by PunBB, supported by Informer Technologies, Inc.