Click or drag to resize

InspectableVectorPoint Class

This class provides is a mutable class that can be used to construct VectorPoints. It is provided for use in Unity's inspector.
This class provides is a mutable class that can be used to construct VectorPoints. It is provided for use in Unity's inspector.
Inheritance Hierarchy
SystemObject
  Gamelogic.GridsInspectableVectorPoint

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
[VersionAttribute(1, 0, 0)]
public class InspectableVectorPoint

The InspectableVectorPoint type exposes the following members.

Constructors
Methods
Fields
  NameDescription
Public fieldx
Public fieldy
Top
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
Examples
[Serializable]
public MyClass
{
    public InspectableVectorPoint playerStart;

    private PointyHexPoint playerPosition;

    public void Start()
    {
        playerPosition = playerStart.GetPointyHexPoint();
    }
}
Examples
Typical usage us this:
[Serializable]
public MyClass
{
    public InspectableVectorPoint playerStart;

    private PointyHexPoint playerPosition;

    public void Start()
    {
        playerPosition = playerStart.GetPointyHexPoint();
    }
}
See Also