Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetAnimationTime(Vector3Int, float)

Sets the running animation time for a Tile at the given position.
Read time 1 minuteLast updated 5 days ago

Definition

public void SetAnimationTime(Vector3Int position, float time)

Parameters

position

The grid cell position.

time

The running animation time in seconds.

Remarks

Use this to set the running animation of a Tile at the given position to a particular frame of the animation or to synchronize the animation time between different Tiles.