Tile - YAnimators - Set Rotation Animator – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Set Rotation Animator(Object, Rotation animator, Time offset)

YlandsTile-601.png

static setRotationAnimator(obj: YEntity | YLogic | YGroup, rotationAnimator: YRotationAnimator, timeOffset: number): void;

Parameters

obj

rotationAnimator

timeOffset

Description

Sets the rotation animator for the selected object.