Click or drag to resize

MeshGridEditorTGridBuilder, TPoint Class

The base class of mesh-grid editors. This class implements the core logic.
Inheritance Hierarchy
SystemObject
  Object
    ScriptableObject
      Editor
        Gamelogic.Extensions.Editor.InternalGLEditorTGridBuilder
          Gamelogic.Grids.Editor.InternalMeshGridEditorTGridBuilder, TPoint
            Gamelogic.Grids.Editor.InternalDiamondMeshGridEditor
            Gamelogic.Grids.Editor.InternalFlatHexMeshGridEditor
            Gamelogic.Grids.Editor.InternalPointyHexMeshGridEditor
            Gamelogic.Grids.Editor.InternalRectMeshGridEditor

Namespace:  Gamelogic.Grids.Editor.Internal
Assembly:  Assembly-CSharp-Editor (in Assembly-CSharp-Editor.dll) Version: 0.0.0.0
Syntax
C#
public class MeshGridEditor<TGridBuilder, TPoint> : GLEditor<TGridBuilder>
where TGridBuilder : MonoBehaviour, ITileGrid<TPoint>
where TPoint : Object, IGridPoint<TPoint>

Type Parameters

TGridBuilder
The type of the grid builder.
TPoint
The type of the point of the grid to build.

The MeshGridEditorTGridBuilder, TPoint type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyhideFlags

Should the object be hidden, saved with the scene or modifiable by the user?

(Inherited from Object.)
Public propertyname

The name of the object.

(Inherited from Object.)
Public propertyserializedObject

A SerializedObject representing the object or objects being inspected.

(Inherited from Editor.)
Public propertytarget

The object being inspected.

(Inherited from Editor.)
Public propertyTarget (Inherited from GLEditorT.)
Public propertytargets

An array of all the object being inspected.

(Inherited from Editor.)
Public propertyTargets (Inherited from GLEditorT.)
Top
Methods
  NameDescription
Protected methodAddField(SerializedProperty) (Inherited from GLEditorT.)
Protected methodAddField(GLSerializedProperty) (Inherited from GLEditorT.)
Protected methodAddLabel (Inherited from GLEditorT.)
Protected methodAddTextAndButton (Inherited from GLEditorT.)
Protected methodArrayGUI (Inherited from GLEditorT.)
Public methodDrawDefaultInspector

Draw the built-in inspector.

(Inherited from Editor.)
Public methodDrawHeader

Call this function to draw the header of the editor.

(Inherited from Editor.)
Protected methodDrawInspectorButtons
Draws the buttons in the inspector for all method in the target class that are marked with the InspectorButtonAttribute.
(Inherited from GLEditorT.)
Public methodDrawPreview

The first entry point for Preview Drawing.

(Inherited from Editor.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindProperty (Inherited from GLEditorT.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInfoString

Implement this method to show asset information on top of the asset preview.

(Inherited from Editor.)
Public methodGetInstanceID

Returns the instance id of the object.

(Inherited from Object.)
Public methodGetPreviewTitle

Override this method if you want to change the label of the Preview area.

(Inherited from Editor.)
Public methodGetType (Inherited from Object.)
Public methodHasPreviewGUI

Override this method in subclasses if you implement OnPreviewGUI.

(Inherited from Editor.)
Public methodHasProperty (Inherited from GLEditorT.)
Public methodInitialize (Inherited from Editor.)
Protected methodIs2DMap
Protected methodIsCustomShape
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMoveNextTarget (Inherited from Editor.)
Public methodOnEnable
Protected methodOnHeaderGUI (Inherited from Editor.)
Public methodOnInspectorGUI (Overrides Editor.OnInspectorGUI.)
Public methodOnInteractivePreviewGUI

Implement to create your own interactive custom preview. Interactive custom previews are used in the preview area of the inspector and the object selector.

(Inherited from Editor.)
Public methodOnPreviewGUI

Implement to create your own custom preview for the preview area of the inspector, primary editor headers and the object selector.

(Inherited from Editor.)
Public methodOnPreviewSettings

Override this method if you want to show custom controls in the preview header.

(Inherited from Editor.)
Public methodReloadPreviewInstances (Inherited from Editor.)
Public methodRenderStaticPreview

Override this method if you want to render a static preview that shows.

(Inherited from Editor.)
Public methodRepaint

Repaint any inspectors that shows this editor.

(Inherited from Editor.)
Public methodRequiresConstantRepaint

Does this edit require to be repainted constantly in its current state?

(Inherited from Editor.)
Public methodResetTarget (Inherited from Editor.)
Public methodSetDirty Obsolete. (Inherited from ScriptableObject.)
Protected methodShowDimensions
Protected methodShowSize
Public methodSplitter
Draws a line as a separator in the inspector.
(Inherited from GLEditorT.)
Public methodToString

Returns the name of the game object.

(Inherited from Object.)
Public methodUseDefaultMargins

Override this method in subclasses to return false if you don't want default margins.

(Inherited from Editor.)
Top
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
See Also