AiMalgam Core 1.1.0
API documentation for the generic Unity3D AI System
Public Attributes | Protected Member Functions | List of all members
NikosAssets.AiMalgam.Settings.Runtime.AiMalgamBaseRegisterSelf< RuntimeSetType, SetType > Class Template Referenceabstract

A helper class to register a type to an AiMalgamBaseRuntimeSet<T> at runtime More...

Public Attributes

SetType registerItem
 The item to register to registerRuntimeSet
 
RuntimeSetType registerRuntimeSet
 The AiMalgamBaseRuntimeSet<T> to store the SetType
 
bool registerOnStartAndDestroy = false
 Register and unregister the SetType at Start() and Destroy()?
 
bool registerOnEnableAndDisable = true
 Register and unregister the SetType at OnEnable() and OnDisable()?
 

Protected Member Functions

virtual void Reset ()
 
virtual void Awake ()
 
virtual void Start ()
 
virtual void OnDestroy ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 
virtual void OnValidate ()
 
abstract void AutoFill ()
 Add a possibility for the developer to automatically fill your SetType (and other fields), if you like More...
 

Detailed Description

A helper class to register a type to an AiMalgamBaseRuntimeSet<T> at runtime

Template Parameters
RuntimeSetTypeMust inherit from AiMalgamBaseRuntimeSet<T>
SetTypeMust match the generic type of RuntimeSetType
Type Constraints
RuntimeSetType :AiMalgamBaseRuntimeSet<SetType> 

Member Function Documentation

◆ AutoFill()

abstract void NikosAssets.AiMalgam.Settings.Runtime.AiMalgamBaseRegisterSelf< RuntimeSetType, SetType >.AutoFill ( )
protectedpure virtual

Add a possibility for the developer to automatically fill your SetType (and other fields), if you like

Implemented in NikosAssets.AiMalgam.Settings.Runtime.AiMalgamEntityRegisterSelf, and NikosAssets.AiMalgam.Settings.Runtime.AiMalgamTransformRegisterSelf.