Table of Contents

Class GravityPatch

Namespace
ConfigurableWarning.Patches
Assembly
RedstoneWizard08.ContentLibrary.dll

Gravity Patches

[HarmonyPatch]
public class GravityPatch
Inheritance
GravityPatch
Inherited Members

Methods

UpdateGravity(PlayerController)

Patches the player controller's update method to modify gravity.

[HarmonyPatch(typeof(PlayerController), "Update")]
[HarmonyPostfix]
public static void UpdateGravity(PlayerController __instance)

Parameters

__instance PlayerController

The current instance of the PlayerController.