Show / Hide Table of Contents

Class WeaverGlobControl

Main class for handling breakable globs in WeaverCore.

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
WeaverGlobControl
Implements
ISerializationCallbackReceiver
Namespace: WeaverCore.Components
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
Type Description
Color
| Edit this page View Source

breakAnim

Animation name for breaking.

Declaration
[Tooltip("Animation name for breaking.")]
public string breakAnim
Field Value
Type Description
string
| 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
Type Description
AudioEvent
| 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
Type Description
string
| 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
Type Description
float
| Edit this page View Source

minScale

Declaration
[Space]
[Tooltip("The minimum scale of the glob.")]
public float minScale
Field Value
Type Description
float
| Edit this page View Source

rend

The renderer component for the glob.

Declaration
public Renderer rend
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
Type Description
string

Implements

UnityEngine.ISerializationCallbackReceiver

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
CoroutineUtilities.RunCoroutineWhile<T>(T, IEnumerator, Func<bool>)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾