文档

Unity Engine

Unity Engine

SetConnectivityDirty()

Marks the current connectivity status as invalid.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public static void SetConnectivityDirty()

Remarks

Use this method after adding / removing terrain tiles to inform the terrain that the connectivity needs to be rebuilt.