AiMalgam Core 1.1.0
API documentation for the generic Unity3D AI System
Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
NikosAssets.AiMalgam.Descriptions.AiMalgamBaseDescriptor Class Reference

Adds additional data to an AiMalgamEntity instance for custom mechanics, descriptions and custom AiMalgamBaseConditions More...

Public Attributes

bool addThisToEntity = true
 Should this descriptor register itself to its representing AiMalgamEntity?
 

Protected Member Functions

virtual void Awake ()
 
virtual void Start ()
 
virtual void OnDestroy ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 
virtual void Reset ()
 
virtual void OnValidate ()
 
virtual void AutoFill ()
 Automatically fills required and empty fields of this instance
 
virtual void UpdateSupportedActionType ()
 Set the name and hash of this (inherited) descriptor
 

Protected Attributes

string _descriptorTypeSupported = ""
 The type name of this (inherited) descriptor used to generate the hash for DescriptorTypeSupportedHash
 
int _descriptorTypeSupportedHash = -1
 The hash used to find the matching descriptor from AiMalgamEntity
 
AiMalgamEntity _aiMalgamEntity
 The AiMalgamEntity this descriptor represents
 
AiMalgamEntity _prevAiMalgamEntity
 Used if the developer changed the _aiMalgamEntity (at runtime)
 

Properties

string DescriptorTypeSupported [get, protected set]
 The type name of this (inherited) descriptor used to generate the hash for DescriptorTypeSupportedHash
 
int DescriptorTypeSupportedHash [get]
 The hash used to find the matching descriptor from AiMalgamEntity
 
AiMalgamEntity AiMalgamEntity [get, set]
 The AiMalgamEntity this descriptor represents
 

Detailed Description

Adds additional data to an AiMalgamEntity instance for custom mechanics, descriptions and custom AiMalgamBaseConditions