Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

TerrainPaintTool<T0>.OnSceneGUI

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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

Parameters

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

Description

Custom terrain tool OnSceneGUI callback.

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

See Also: Editor.OnSceneGUI.

Did you find this page useful? Please give it a rating: