This Class is used for Continually Calculating and Updating the Position of a Unity3D Transform Object.
More...
This Class is used for Continually Calculating and Updating the Position of a Unity3D Transform Object.
Specifically ControlObjHandler Objects (At this time).
UpdatePositionToggle.UpdatePositionToggle |
( |
Transform |
ref_obj | ) |
|
Creates a New UpdatePositionToggle with a Unity3D Transform Object and the toggle_count.
- Parameters
-
ref_obj | The Unity3D Transform Object. |
c | The Count of this UpdatePositionToggle (This will be used for Formations). |
Adds a New UpdatePositionToggle if one isn't Attached to the update_target.
Else, Add a New one to the updater_list.
- Parameters
-
Vector3 UpdatePositionToggle.destinationPosition |
( |
| ) |
|
Returns the Destination Position of the update_target based on the Calculated Path Tiles.
- Returns
- The Vector3 Relating to the Position.
Transform UpdatePositionToggle.getTransform |
( |
| ) |
|
The Transform of the update_target.
bool UpdatePositionToggle.isMoveable |
( |
| ) |
|
Returns whether the update_target is able to Move.
This is True when the update_target has Calculated Path Tiles.
static void UpdatePositionToggle.UpdateTogglePositions |
( |
| ) |
|
|
static |
Updates the updater_list of UpdatePositionToggles.
Moving it's Position and Changing it's Rotation of the update_target Only if it is Moveable.
bool UpdatePositionToggle.MovementToggle |
|
getset |
Returns or Sets whether this is an Active MovementToggle.
Vector3 UpdatePositionToggle.Position |
|
getset |
The Current Position of the update_target.
Vector3 UpdatePositionToggle.Rotation |
|
getset |
The Current Rotation of the update_target.
The documentation for this class was generated from the following file: