文档

Unity Engine

Unity Engine

UpdateAllSortingGroups()

Updates all Sorting Group immediately.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static void UpdateAllSortingGroups()

Remarks

This will update the sorting order for the Renderers under each active Sorting Group immediately, instead of waiting for the next LateUpdate to update the Sorting Group.