Class ItemTools
Inherited Members
Namespace: SonsSdk
Assembly: SonsSdk.dll
Syntax
public class ItemTools
Constructors
ItemTools()
Declaration
public ItemTools()
Methods
AddItemComponent(int, Type, EPrefabType)
Declaration
public static void AddItemComponent(int itemId, Type component, ItemTools.EPrefabType hookType)
Parameters
Type | Name | Description |
---|---|---|
int | itemId | |
Type | component | |
ItemTools.EPrefabType | hookType |
AddItemComponent<T>(int, EPrefabType)
Declaration
public static void AddItemComponent<T>(int itemId, ItemTools.EPrefabType hookType)
Parameters
Type | Name | Description |
---|---|---|
int | itemId | |
ItemTools.EPrefabType | hookType |
Type Parameters
Name | Description |
---|---|
T |