Catlike Coding
Unity Code Documentation
Public Member Functions | Protected Member Functions | Properties | List of all members
CatlikeCoding.NumberFlow.FunctionLibrary Class Referenceabstract

Base class for NumberFlow function libraries. Extend to create your own library. More...

Inherits ScriptableObject.

Inherited by CatlikeCoding.NumberFlow.DefaultFunctionLibrary.

Public Member Functions

IEnumerable< FunctionListFunctions ()
 Lists all functions in this library. More...
 

Protected Member Functions

void Register (Function function)
 Register a CatlikeCoding.NumberFlow.Function with this library. More...
 
abstract void RegisterFunctions ()
 Override this method to register all your functions with this library. More...
 

Properties

Function this[string id] [get]
 Get the CatlikeCoding.NumberFlow.Function with the specified id. More...
 

Detailed Description

Base class for NumberFlow function libraries. Extend to create your own library.

Member Function Documentation

IEnumerable<Function> CatlikeCoding.NumberFlow.FunctionLibrary.ListFunctions ( )

Lists all functions in this library.

Returns
The function enumerator.
void CatlikeCoding.NumberFlow.FunctionLibrary.Register ( Function  function)
protected

Register a CatlikeCoding.NumberFlow.Function with this library.

Parameters
functionCatlikeCoding.NumberFlow.Function to register.
abstract void CatlikeCoding.NumberFlow.FunctionLibrary.RegisterFunctions ( )
protectedpure virtual

Override this method to register all your functions with this library.

Implemented in CatlikeCoding.NumberFlow.DefaultFunctionLibrary.

Property Documentation

Function CatlikeCoding.NumberFlow.FunctionLibrary.this[string id]
get

Get the CatlikeCoding.NumberFlow.Function with the specified id.

Parameters
idFunction identifier, being its fully qualified type/