Description
Checks the number of child game objects of the BaseObject that have the specified object tag.
The child count is compared against the given value using the specified comparison type.
Parameters
| Parameter | Description |
|---|
| BaseObject | The game object (Self or Target) whose child objects are checked |
| CompareType | Type of comparison operation |
| S1 | Object tag used to filter child game objects |
| F1 | Value to compare against the number of matching child objects |
Examples
| Description | BaseObject | Command | CompareType | S1 | F1 |
|---|
| Checks whether the target game object has one or more child objects with the Crop object tag | Target | ChildCount | GreaterOrEqual | Crop | 1.0 |