Class ExecutableFunctionLibrary
Derived from this class to add custom static functions
public abstract class ExecutableFunctionLibrary
- Inheritance
-
objectExecutableFunctionLibrary
- Derived
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()object.ReferenceEquals(object, object)object.ToString()
Remarks
Must add partial modifier
Constructors
ExecutableFunctionLibrary()
protected ExecutableFunctionLibrary()
Methods
CollectExecutableFunctions()
Collect all static executable functions in this library
protected virtual void CollectExecutableFunctions()
RegisterExecutableFunctionFileInfo<TLibrary>(string, int, string, int)
Register static executable function file info to the reflection system, only works in editor and development build
protected static void RegisterExecutableFunctionFileInfo<TLibrary>(string functionName, int parameterCount, string filePath, int lineNumber) where TLibrary : ExecutableFunctionLibrary
Parameters
functionNamestringparameterCountintfilePathstringlineNumberint
Type Parameters
TLibrary
RegisterExecutableFunctionPtr<TLibrary>(string, int, void*)
Register static executable function pointer to the reflection system
protected static void RegisterExecutableFunctionPtr<TLibrary>(string functionName, int parameterCount, void* functionPtr) where TLibrary : ExecutableFunctionLibrary
Parameters
functionNamestringparameterCountintfunctionPtrvoid*
Type Parameters
TLibrary