ApiData().GetBehaviorCount
Returns the total number of Behaviors in the current Brain data.
Description
This method returns the number of Behaviors in the Brain. One possible use is to employ the returned integer as a limit for programmatically iterating through all of the Behaviors.
Example Usage (C#)
int count = _core.ApiData().GetBehaviorCount();
Parameters
None. |
Returns
The integer number value representing the total number of Behaviors. The value is -1 if the operation failed.