Method Pause
Pause(bool)
Pauses this AnimatedTilemap and prevents it from being updated until it is unpaused.
public bool Pause(bool resetFrameDuration = false)
Parameters
resetFrameDuration
boolA value that indicates whether the the duration of the CurrentFrame should be reset. When this method returns false, the duration will not be reset even if this is specified as true.
Returns
- bool
true this AnimatedTilemap was successfully paused; otherwise, false. This method returns false this AnimatedTilemap is not currently animating or if it is already paused.