RoR2-ChensHelpers

Contains simple and useful helpers for RoR2 mod creators to use. Mainly caters to Chen's mods.

View on GitHub

ChensHelpers

Chen.Helpers.GeneralHelpers

Instances Class

Helper static class that allows the fetching of an instance without the need to write long codes.
Checks are done by this helper and should output a debug log in the console.

public static class Instances

Inheritance System.Object 🡒 Instances

Properties  
hostBody Gets the instance of the host’s CharacterBody component.
hostBodyObject Gets the instance of the host’s CharacterBody GameObject.
hostMaster Gets the instance of the host’s CharacterMaster component.
hostMasterObject Gets the instance of the host’s CharacterMaster GameObject.
hostPcmc Gets the instance of the host’s PlayerCharacterMasterController.