文档

Unity Engine

Unity Engine

ProcessTilemapChanges()

Processes Tilemap changes for Collider updates immediately, if there are any.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void ProcessTilemapChanges()

Remarks

Tilemap changes for Collider updates are normally handled in the LateUpdate step. If immediate changes are required, use this to have the changes in the Tilemap reflected immediately. Calling this will not process changes if the TilemapCollider2D is not enabled.