Details
This page uses Mesh from Unity. The glossary says what each one is.
Everything not listed in this reference is internal and may change without notice.
- Target: Obenseuer 0.5.08 (buildid 25969064), Unity 6000.0.77f1 Mono, BepInEx 6 Unity.Mono (be.788, the tested build) or BepInEx 5 (5.4.23 or later).
- Namespace:
ObenseuerCore. Logs go toBepInEx\logs\obenseuer.moddingframework.scenelooks.log. - This page changes none of the game’s methods. Its feature group is
obenseuer.moddingframework.scenelooks, the name you will see in the log.
When you can call it
- Call everything from your mod’s normal code, not from a background thread you started. The game and Unity only run safely on the main thread (see the glossary).
- It is safe to call at any time, and nothing throws. If the call cannot be done, you get an empty array,
null, a failed handle orfalse, and the first failure is written to the log.
If something fails to set up
- This page changes none of the game’s methods, so there is no change that can fail to set up, and no
IsAvailableto check. - The only gate is the Unity version: on any version other than 6000.0.77f1 every call refuses, as described in The rules.
See also
- Mod NPCs:
ModNpcs.SpawnWithLookspawns an NPC and applies a look in one call. - NPC appearance: mesh, material and body shape changes on an NPC that already exists.
- NPC animation: play a clip over an NPC’s own pose.