Class WeaverGlobControl
Main class for handling breakable globs in WeaverCore.
Inheritance
Object
Component
Behaviour
MonoBehaviour
WeaverGlobControl
Implements
ISerializationCallbackReceiver
Assembly: WeaverCore.dll
Syntax
public class WeaverGlobControl : MonoBehaviour, ISerializationCallbackReceiver
Fields
|
Edit this page
View Source
audioPlayerPrefab
Declaration
[Space]
[HideInInspector]
[Tooltip("Prefab for the audio player.")]
public AudioSource audioPlayerPrefab
Field Value
Type |
Description |
AudioSource |
|
|
Edit this page
View Source
bloodColorOverride
Color override for blood.
Declaration
[Tooltip("Color override for blood.")]
public Color bloodColorOverride
Field Value
|
Edit this page
View Source
breakAnim
Animation name for breaking.
Declaration
[Tooltip("Animation name for breaking.")]
public string breakAnim
Field Value
|
Edit this page
View Source
breakSound
Audio event for the break sound.
Declaration
[Tooltip("Audio event for the break sound.")]
public AudioEvent breakSound
Field Value
|
Edit this page
View Source
groundCollider
Declaration
[Space]
public Collider2D groundCollider
Field Value
Type |
Description |
Collider2D |
|
|
Edit this page
View Source
landAnim
Declaration
[Space]
[Tooltip("Animation name for landing.")]
public string landAnim
Field Value
|
Edit this page
View Source
maxScale
The maximum scale of the glob.
Declaration
[Tooltip("The maximum scale of the glob.")]
public float maxScale
Field Value
|
Edit this page
View Source
minScale
Declaration
[Space]
[Tooltip("The minimum scale of the glob.")]
public float minScale
Field Value
|
Edit this page
View Source
rend
The renderer component for the glob.
Declaration
Field Value
Type |
Description |
Renderer |
|
|
Edit this page
View Source
splatChild
Declaration
[Space]
public GameObject splatChild
Field Value
Type |
Description |
GameObject |
|
|
Edit this page
View Source
wobbleAnim
Animation name for wobbling.
Declaration
[Tooltip("Animation name for wobbling.")]
public string wobbleAnim
Field Value
Implements
UnityEngine.ISerializationCallbackReceiver
Extension Methods