public virtual void Erase(GridLayout grid, GameObject brushTarget, Vector3Int position)Įrase removes data onto the target GameObject brushTarget with the GridLayout grid at the given position. Override this to implement the action desired on painting. This is triggered when the Brush is activated on the grid and the Paint Tool is selected on the Palette window. More info See in Glossary brushTarget with the GridLayout grid at the given position. A GameObject’s functionality is defined by the Components attached to it. Paint adds data onto the target GameObject The fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. public virtual void Paint(GridLayout grid, GameObject brushTarget, Vector3Int position) GridBrushBase provides a fixed set of APIs for painting. All brushes added must inherit from GridBrushBase.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |