Rotorz Tile System Icon
Rotorz Tile System for Unity
API Reference
Available on the Unity Asset Store
TOC

CustomImmediatePreview Class

Can be extended to provide a custom immediate preview implementation which can then be attached to the root-most component of a tile prefab to override immediate preview of oriented brushes.
public abstract class CustomImmediatePreview : MonoBehaviour
public abstract class CustomImmediatePreview extends MonoBehaviour

Constructors

CustomImmediatePreview()
Initializes a new instance of the CustomImmediatePreview class

Methods

DrawImmediatePreview(IBrushContext, TileData, Material, Matrix4x4)
Method is invoked to draw immediate preview.

Remarks

Immediate preview should be drawn using the Graphics class from the UnityEngine API.

Inheritance Hierarchy

System.Object
  Object
    Component
      Behaviour
        MonoBehaviour
          Rotorz.Tile.CustomImmediatePreview

See Also

Reference