Class BasicHexGridMain
public class BasicHexGridMain : GLMonoBehaviour
- Inheritance
-
BasicHexGridMain
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.runInEditModeComponent.GetComponent<T>()Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentsInParent<T>()Component.transformComponent.gameObjectComponent.tagObject.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.nameObject.hideFlags
Fields
cellPrefab
[Tooltip("The prefab to use for cells.")]
public SpriteCell cellPrefab
Field Value
colorFunction
[Tooltip("Used to color the cells.")]
public ColorFunction colorFunction
Field Value
colors
[Tooltip("The colors to use to color the cells.")]
public ColorList colors
Field Value
gridRoot
[Tooltip("All our cells will use this as root to keep the scene neat.")]
public GameObject gridRoot
Field Value
horizontalAlignment
[Tooltip("How the grid should be horizontal aligned on screen")]
public HorizontalAlignment horizontalAlignment
Field Value
horizontalAnchorPivot
[Tooltip("How the grid should be horizontal aligned depending on the pivot of the cell used")]
public HorizontalAlignment horizontalAnchorPivot
Field Value
radius
[Tooltip("The dimensions for the grid to use.")]
public int radius
Field Value
verticalAlignment
[Tooltip("How the grid should be vertical aligned on screen")]
public VerticalAlignment verticalAlignment
Field Value
verticalAnchorPivot
[Tooltip("How the grid should be vertical aligned depending on the pivot of the cell used")]
public VerticalAlignment verticalAnchorPivot
Field Value
Properties
ScreenRect
public static Rect ScreenRect { get; }
Property Value
Methods
OnValidate()
public void OnValidate()
Start()
public void Start()