Class Doughnut
- Namespace
- EPOOutline.Demo
- Assembly
- Assembly-CSharp-firstpass.dll
public class Doughnut : MonoBehaviour, ICollectable
- Inheritance
-
Doughnut
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
Doughnut()
Fields
amplitudeShift
public float amplitudeShift
Field Value
- float
eatSound
[SerializeField]
public AudioClip eatSound
Field Value
- AudioClip
initialPosition
public Vector3 initialPosition
Field Value
- Vector3
isCollected
Field Value
- bool
moveAmplitude
[SerializeField]
public float moveAmplitude
Field Value
- float
moveSpeed
[SerializeField]
public float moveSpeed
Field Value
- float
outlinable
public Outlinable outlinable
Field Value
- Outlinable
rotationSpeed
[SerializeField]
public float rotationSpeed
Field Value
- float
Methods
AnimateCollection(GameObject)
public IEnumerator AnimateCollection(GameObject collector)
Parameters
collector
GameObject
Returns
- IEnumerator
Collect(GameObject)
public void Collect(GameObject collector)
Parameters
collector
GameObject
Start()
Update()