Class WidgetElasticDemo
Demonstration script to show how ElasticSystem can be used to drive
a satisfying UI inflation/deflation effect of an example UI widget.
Inheritance
WidgetElasticDemo
Assembly: cs.temp.dll.dll
public class WidgetElasticDemo : MonoBehaviour
Fields
Declaration
public Transform BackplateTransform
Field Value
Type |
Description |
Transform |
|
Declaration
public float DeflateAngle
Field Value
Declaration
public float DeflateScale
Field Value
Declaration
public List<Transform> FlipPanels
Field Value
Type |
Description |
List<Transform> |
|
Declaration
public float InflateAngle
Field Value
Declaration
public float InflateScale
Field Value
Methods
Declaration
public IEnumerator DeflateCoroutine()
Returns
Type |
Description |
IEnumerator |
|
Declaration
public IEnumerator InflateCoroutine()
Returns
Type |
Description |
IEnumerator |
|
Declaration
public void ToggleInflate()