Vector3 inputfield 改进
This commit is contained in:
@@ -43,17 +43,8 @@ namespace Ichni.RhythmGame
|
||||
positionX.UpdateFlexibleFloat(songTime);
|
||||
positionY.UpdateFlexibleFloat(songTime);
|
||||
positionZ.UpdateFlexibleFloat(songTime);
|
||||
|
||||
if (positionX.returnType is FlexibleReturnType.After or FlexibleReturnType.Before
|
||||
or FlexibleReturnType.MiddleInterval or FlexibleReturnType.None &&
|
||||
positionY.returnType is FlexibleReturnType.After or FlexibleReturnType.Before
|
||||
or FlexibleReturnType.MiddleInterval or FlexibleReturnType.None &&
|
||||
positionZ.returnType is FlexibleReturnType.After or FlexibleReturnType.Before
|
||||
or FlexibleReturnType.MiddleInterval or FlexibleReturnType.None)
|
||||
{
|
||||
// Out of range, do nothing
|
||||
}
|
||||
else if (positionX.returnType is FlexibleReturnType.MiddleExecuting or FlexibleReturnType.After or FlexibleReturnType.Before ||
|
||||
|
||||
if (positionX.returnType is FlexibleReturnType.MiddleExecuting or FlexibleReturnType.After or FlexibleReturnType.Before ||
|
||||
positionY.returnType is FlexibleReturnType.MiddleExecuting or FlexibleReturnType.After or FlexibleReturnType.Before ||
|
||||
positionZ.returnType is FlexibleReturnType.MiddleExecuting or FlexibleReturnType.After or FlexibleReturnType.Before)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user