Example #1
0
    void FixedUpdate()
    {
        if (!isInit)
        {
            return;
        }

        delta = Time.fixedDeltaTime;
        GetInput_FixedUpdate();
        InGame_UpdateStates_FixedUpdate();
        states.FixedTick(delta);
    }
 private void FixedUpdate()
 {
     fixedDelta = Time.fixedDeltaTime;
     GetFixedInput();
     states.FixedTick(fixedDelta);
 }