Table of Contents

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

slot Slot
sharedKey string
onCreate Action<T>
version int
replaceExisting bool
updateExisting bool

Returns

T

Type Parameters

T