Table of Contents

Class RandomSprite<TPoint>

Namespace
Gamelogic.Grids.GoldenSkull
Assembly
Assembly-CSharp.dll

The base of grid behaviour that can select random sprites and stack heights.

[ExecuteInEditMode]
public class RandomSprite<TPoint> : GridBehaviour<TPoint> where TPoint : IGridPoint<TPoint>

Type Parameters

TPoint

The type of the point.

Inheritance
RandomSprite<TPoint>
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, 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

Fields

maxHeightOffset

The maximum height offset.

public float maxHeightOffset

Field Value

float

maxStackHeight

The maximum stack height.

public int maxStackHeight

Field Value

int

sprites

The sprites that can be randomly selected from.

public Sprite[] sprites

Field Value

Sprite[]

Methods

Init()

public void Init()