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
-
GridBehaviour<TPoint>RandomSprite<TPoint>
- Derived
- 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, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.nameObject.hideFlags
- Extension Methods
Fields
maxHeightOffset
The maximum height offset.
public float maxHeightOffset
Field Value
maxStackHeight
The maximum stack height.
public int maxStackHeight
Field Value
sprites
The sprites that can be randomly selected from.
public Sprite[] sprites
Field Value
- Sprite[]
Methods
Init()
public void Init()