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 → Shut Off Camera Shake At The Start Of A New Round
This might work.
You can call this method from anywhere at anytime.
public static void MaybeStopAllUFECameraShakes()
{
List<ControlsScript> controlsScriptList = UFE.GetAllControlsScripts();
if (controlsScriptList == null)
{
return;
}
int count = controlsScriptList.Count;
for (int i = 0; i < count; i++)
{
if (controlsScriptList[i] == null)
{
continue;
}
controlsScriptList[i].shakeCameraDensity = 0;
}
}
Thank you! I will give it a try!
Universal Fighting Engine Forum → Source Coding → Shut Off Camera Shake At The Start Of A New Round
Powered by PunBB, supported by Informer Technologies, Inc.