編集

次の方法で共有


PlayModeTestUtilities.CalculateNumSteps(Int32) Method

Definition

Given a numSteps value, determines if the value is a 'sentinel' value of ControllerMoveStepsSentinelValue, which should be converted to the current default value of ControllerMoveSteps. If it's not the sentinel value, this returns numSteps unchanged.

public:
 static int CalculateNumSteps(int numSteps);
public static int CalculateNumSteps (int numSteps);
static member CalculateNumSteps : int -> int
Public Shared Function CalculateNumSteps (numSteps As Integer) As Integer

Parameters

numSteps
Int32

Returns

Applies to