기술 자료

Unity Engine

Unity Engine

OnToolSettingsGUI(Terrain, IOnInspectorGUI)

Contains the IMGUI code for custom settings beyond the common settings.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public virtual void OnToolSettingsGUI(Terrain terrain, IOnInspectorGUI editContext)

Parameters

terrain

Active Terrain object.

editContext

Interface used to communicate between Editor and Paint tools.

Remarks

If TerrainPaintToolWithOverlaysBase.HasToolSettings returns true, then there is custom code in this function. If not, then there is no custom code in this function.