Table of Contents

Class CustomMapBuilder

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

Inherit from this class to implement custom map for an grid builder. This class should return a map. To have the grid builder used this map, you should set the Map to Custom in the editor, and attach this script to the same game object as the grid builder.

[Version(1, 8, 0)]
public abstract class CustomMapBuilder : MonoBehaviour
Inheritance
CustomMapBuilder
Derived
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.runInEditMode
Component.GetComponent<T>()
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentsInParent<T>()
Component.transform
Component.gameObject
Component.tag
Object.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.name
Object.hideFlags
Extension Methods

Methods

CreateWindowedMap<TPoint>()

Returns a custom map windowed map.

public virtual WindowedMap<TPoint> CreateWindowedMap<TPoint>() where TPoint : IGridPoint<TPoint>

Returns

WindowedMap<TPoint>

Type Parameters

TPoint

The type of the point.

Remarks

Implementors: Check the type; if it is "your" type, return the map. Otherwise return null.