Experimental: this API is experimental and might be changed or removed in the future.

TerrainPaintTool<T0>.OnSceneGUI

Cambiar al Manual
public void OnSceneGUI (Terrain terrain, Experimental.TerrainAPI.IOnSceneGUI editContext);

Parámetros

terrainActive Terrain object.
editContextInterface used to communicate between Editor and Paint tools.

Descripción

Custom terrain tool OnSceneGUI callback.

Unity calls this method to run tool-specific scene UI and behavior.

See Also: Editor.OnSceneGUI.