Class MultiLayersCircularArray
- Namespace
- Fr4z.CircularArrayUi
- Assembly
- Fr4z.CircularArray.dll
Use this component to manage multiple CircularArray
[AddComponentMenu("Fr4z/Multi Layers Circular Array")]
public class MultiLayersCircularArray : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourMultiLayersCircularArray
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.CancelInvoke()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.destroyCancellationTokenMonoBehaviour.useGUILayoutMonoBehaviour.runInEditModeBehaviour.enabledBehaviour.isActiveAndEnabledComponent.GetComponent<T>()Component.TryGetComponent<T>(out T)Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentInParent<T>()Component.GetComponentsInParent<T>()Component.GetComponents<T>()Component.transformComponent.gameObjectComponent.tagObject.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.FindObjectsByType<T>(FindObjectsSortMode)Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)Object.FindObjectOfType<T>()Object.FindFirstObjectByType<T>()Object.FindAnyObjectByType<T>()Object.FindFirstObjectByType<T>(FindObjectsInactive)Object.FindAnyObjectByType<T>(FindObjectsInactive)Object.ToString()Object.nameObject.hideFlags
Properties
AnimateSeparately
If true change OpenProgress of each CircularArray one after another.
public bool AnimateSeparately { get; set; }
Property Value
CircularArrays
The list of CircularArray to control
public List<CircularArray> CircularArrays { get; set; }
Property Value
ControlAngle
public bool ControlAngle { get; set; }
Property Value
Duration
The duration of the open/close animation
public float Duration { get; set; }
Property Value
ExtensionModules
The extension modules of the Multi layers Circular Array. They allow to modify the value of properties during the open/close animations
public List<ExtensionModule<MultiLayersCircularArray>> ExtensionModules { get; set; }
Property Value
FromAngle
If ControlAngle is true, set FromAngle foreach CircularArray in CircularArrays.
public float FromAngle { get; set; }
Property Value
MaxRadius
The maximum radius of the circular arrays in CircularArrays
public float MaxRadius { get; set; }
Property Value
MinRadius
The minimum radius of the circular arrays in CircularArrays
public float MinRadius { get; set; }
Property Value
OpenProgress
The current state of the open animation of the circular arrays. Set this a value from 0 to 1.
public float OpenProgress { get; set; }
Property Value
ToAngle
If ControlAngle is true, set ToAngle foreach CircularArray in CircularArrays.
public float ToAngle { get; set; }
Property Value
Methods
Close()
Close all circular arrays in CircularArrays list
public void Close()
Open()
Open all circular arrays in CircularArrays list
public void Open()
Toggle()
Toggle open/close state
public void Toggle()