Class CustomReactions
Data that contains all the runtime logic for custom reactions
Namespace: Surfer
Assembly: cs.temp.dll.dll
Syntax
public static class CustomReactions
Fields
All
Declaration
public static readonly Dictionary<string, PathAction> All
Field Value
Type | Description |
---|---|
Dictionary<String, PathAction> |
Methods
GetAllNames()
Get all the names/paths of the reactions. Used for the inspector
Declaration
public static string[] GetAllNames()
Returns
Type | Description |
---|---|
String[] | Names/paths list |
GetKey(String)
Get the key of a specific reaction. Used for the inspector
Declaration
public static string GetKey(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | Reaction name/path to retrieve the key |
Returns
Type | Description |
---|---|
String | Reaction key |
GetName(String)
Get the name/path of a specific reaction. Used for the inspector
Declaration
public static string GetName(string key)
Parameters
Type | Name | Description |
---|---|---|
String | key | Reaction key to retrieve the name/path |
Returns
Type | Description |
---|---|
String | Reaction name/path |