private float PlayerSpeed() { if (controllerType == ControllerType.Local) { return(gameEntity.GetGameEntityController().GetPlayerSpeed()); } else { return(networkFields.GetFloat(GMKeyCode.PlayerSpeed)); } }
private float PlayerSpeed() { if (controllerType == ControllerType.Local) { return(gameEntity.GetGameEntityController().GetPlayerSpeed()); } else { return(networkFields.GetFloat(GMKeyCode.PlayerSpeed)); } }