ExampleGroups
ExampleGroups

Purpose

Establish groups for agents and relationships between the groups. 

How to Use

The IGroupSystem allows you to logically group agents together. Agents can exists in one or more groups.  Groups can have one or more sub groups.  You can also build relationships between groups.

Scene Location & Name

Assets/Ride/Examples/Groups/ExampleGroups.unity

Setup Requirements 

Utilize the IGroupSystem API for your scene and its agents by adding the ExampleGroups script. 

ExampleGroups Script

Add this script to an object in your scene to enable grouping of agents. Modify as needed to suit your own needs. 

IGroupSystem Script

Referenced by ExampleGroups script for group definitions.