|
DC/RTS Documentation
v1.62
A Unity3D System Incorporating the Functionality of a Dungeon Crawler or Real Time Strategy System
|
This class is used for rendering the multiselect rectangle when in RTS mode. More...
Public Member Functions | |
| void | SetInitialOptions (Material material, ControllerType gametype) |
| Sets Initial Options of the MultiSelectToggle. More... | |
| void | ClearSelectedTargets () |
| Disables and Clears the Selected Objects. More... | |
| List< Transform > | getCurrentlySelected () |
| Returns the List of Unity3D Transform Objects that are Selected. More... | |
| List< Transform > | getPreviouslySelected () |
| Returns the List of Unity3D Transform Objects that were previously Selected. More... | |
| bool | isMovementAllowed () |
| Is Movement Allowed for a selected Control Object? More... | |
Static Public Member Functions | |
| static int | getMultiSelectionCount () |
| Gets how many Control Objects are currently Selected. More... | |
This class is used for rendering the multiselect rectangle when in RTS mode.
This class also keeps track of the selected ControlObjects.
| void MultiSelectToggle.ClearSelectedTargets | ( | ) |
Disables and Clears the Selected Objects.
| List<Transform> MultiSelectToggle.getCurrentlySelected | ( | ) |
Returns the List of Unity3D Transform Objects that are Selected.
|
static |
Gets how many Control Objects are currently Selected.
| List<Transform> MultiSelectToggle.getPreviouslySelected | ( | ) |
Returns the List of Unity3D Transform Objects that were previously Selected.
| bool MultiSelectToggle.isMovementAllowed | ( | ) |
Is Movement Allowed for a selected Control Object?
| void MultiSelectToggle.SetInitialOptions | ( | Material | material, |
| ControllerType | gametype | ||
| ) |
Sets Initial Options of the MultiSelectToggle.
Setting the Material and the Game Type.
| material | The Material of the Box Selection. (This Needs to contain VertexColorUnlit Shader of some sort) |
| gametype | The Game Type of the System. |