ActionDirector  1.0.0
The action director's cut for rapid actions integration
ActionDirector.ActionRotateToObject Class Reference

Rotate a Transform object to point at another Transform object. More...

Inheritance diagram for ActionDirector.ActionRotateToObject:
ActionDirector.ActionDuration

Public Member Functions

override void Run ()
 
override void StaticStep (float delta)
 
- Public Member Functions inherited from ActionDirector.ActionDuration
override void Step (float delta)
 
override void Run ()
 

Public Attributes

Transform transformObject
 
Transform transformObjectToFocus
 
bool is2d = false
 
- Public Attributes inherited from ActionDirector.ActionDuration
float duration = 0.0f
 
Ease ease = new Ease()
 

Detailed Description

Rotate a Transform object to point at another Transform object.

This action will rotate a transform object to point to another transform object.

Member Data Documentation

bool ActionDirector.ActionRotateToObject.is2d = false

Are we using 2d or 3d?

Transform ActionDirector.ActionRotateToObject.transformObject

The transform object to rotate

Transform ActionDirector.ActionRotateToObject.transformObjectToFocus

The transform object to point


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