Class AnimatedGenerator
Attach this to a TesseraGenerator to run the generator stepwise over several updates, displaying the changes so far.
Note
This class is available only in Tessera Pro
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
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.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
Namespace: Tessera
Assembly: Tessera.dll
Syntax
[RequireComponent(typeof(TesseraGenerator))]
[AddComponentMenu("Tessera/Animated Generator", 41)]
public class AnimatedGenerator : MonoBehaviour
Fields
multithread
If true, use threading to avoid stalling Unity. (ignored on WebGL builds)
Declaration
public bool multithread
Field Value
Type | Description |
---|---|
bool |
progressPerStep
Declaration
public float progressPerStep
Field Value
Type | Description |
---|---|
float |
scaleUncertainyTile
If true, the uncertainty tiles shrink as the solver gets more certain.
Declaration
public bool scaleUncertainyTile
Field Value
Type | Description |
---|---|
bool |
secondsPerStep
Declaration
public float secondsPerStep
Field Value
Type | Description |
---|---|
float |
uncertaintyTile
Game object to show in cells that have yet to be fully solved.
Declaration
public GameObject uncertaintyTile
Field Value
Type | Description |
---|---|
GameObject |
Properties
IsStarted
Declaration
public bool IsStarted { get; }
Property Value
Type | Description |
---|---|
bool |
State
Declaration
public AnimatedGenerator.AnimatedGeneratorState State { get; }
Property Value
Type | Description |
---|---|
AnimatedGenerator.AnimatedGeneratorState |
Methods
PauseGeneration()
Declaration
public void PauseGeneration()
ResumeGeneration()
Declaration
public void ResumeGeneration()
StartGeneration()
Declaration
public void StartGeneration()
Step()
Declaration
public void Step()
StopGeneration()
Declaration
public void StopGeneration()