Class SharedComponentHelper
- Namespace
- MonkeyLoader.Resonite
- Assembly
- MonkeyLoader.Resonite.Integration.dll
public static class SharedComponentHelper
- Inheritance
-
SharedComponentHelper
- Inherited Members
Methods
GetSharedComponentOrCreate<T>(Slot, string, Action<T>, int, bool, bool)
public static T GetSharedComponentOrCreate<T>(this Slot slot, string sharedKey, Action<T> onCreate, int version = 0, bool replaceExisting = false, bool updateExisting = false) where T : Component, new()
Parameters
Returns
- T
Type Parameters
T