Version: 2022.3

TilemapCollider2D.ProcessTilemapChanges

切换到手册
public void ProcessTilemapChanges ();

描述

Processes Tilemap changes for Collider updates immediately, if there are any.

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.