A* Pathfinding Project  3.8.5
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
GroupController Class Reference

RVO Example Scene Unit Controller. More...

Detailed Description

RVO Example Scene Unit Controller.

Controls AIs and camera in the RVO example scene.

Public Member Functions

Color GetColor (float angle)
 Color from an angle.
 
void Order ()
 
void Select (Vector2 _start, Vector2 _end)
 
void Start ()
 
void Update ()
 

Public Attributes

bool adjustCamera = true
 
GUIStyle selectionBox
 

Private Member Functions

void OnGUI ()
 

Private Attributes

Camera cam
 
Vector2 end
 
const float rad2Deg = 360.0f/ ((float)System.Math.PI*2)
 Radians to degrees constant.
 
List< RVOExampleAgentselection = new List<RVOExampleAgent>()
 
Simulator sim
 
Vector2 start
 
bool wasDown = false
 

Member Function Documentation

Color GetColor ( float  angle)

Color from an angle.

void OnGUI ( )
private
void Order ( )
void Select ( Vector2  _start,
Vector2  _end 
)
void Start ( )
void Update ( )

Member Data Documentation

bool adjustCamera = true
Camera cam
private
Vector2 end
private
const float rad2Deg = 360.0f/ ((float)System.Math.PI*2)
private

Radians to degrees constant.

List<RVOExampleAgent> selection = new List<RVOExampleAgent>()
private
GUIStyle selectionBox
Simulator sim
private
Vector2 start
private
bool wasDown = false
private

The documentation for this class was generated from the following file: