Метод | Описание | |
---|---|---|
RotateTo2DGameAction ( System.Entity entity, float to, System.TimeSpan time, EaseFunction ease = EaseFunction.None, bool local = false ) : System |
Initializes a new instance of the RotateTo2DGameAction class.
|
Метод | Описание | |
---|---|---|
PerformRun ( ) : void |
Performs the run operation
|
Метод | Описание | |
---|---|---|
LocalRotateAction ( float delta ) : void |
The local rotate method
|
|
RotateAction ( float delta ) : void |
The rotate method
|
public RotateTo2DGameAction ( System.Entity entity, float to, System.TimeSpan time, EaseFunction ease = EaseFunction.None, bool local = false ) : System | ||
entity | System.Entity | The target entity |
to | float | The target angle |
time | System.TimeSpan | Animation duration |
ease | EaseFunction | The ease function |
local | bool | If the rotation is local |
Результат | System |