Update() public method

public Update ( ulong updateTick, float deltaTime ) : void
updateTick ulong
deltaTime float
return void
示例#1
0
        private static void UpdateDevices(float deltaTime)
        {
            int count = devices.Count;

            for (int i = 0; i < count; i++)
            {
                InputDevice inputDevice = devices[i];
                inputDevice.Update(currentTick, deltaTime);
            }
            if (InputManager.OnUpdateDevices != null)
            {
                InputManager.OnUpdateDevices(currentTick, deltaTime);
            }
        }