public class UniversalBellBehaviour
Inherits MonoBehaviour
, Messages.IUse
Controls the universal bells
Fields
public int BellClipIndex
The index of this bell. It represents the associated bell clip in BellClipContainer.BellClips
. Use SetBellIndex(int)
instead of writing to this.
public AudioSource ClipSource
[SkipSerialisation]
The AudioSource
that it plays bell sounds from
public Gradient ColourGradient
[SkipSerialisation]
The possible colours of a bell
public TextMeshPro DetailViewLabel
[SkipSerialisation]
The detail view text under the bell
public float ClapperVelocityInfluence
[SkipSerialisation]
How much the velocity of the bell influences the clapper
public float ClapperIntensity
[SkipSerialisation]
How much the clapper should move when the bell is activated
Methods
public void SetBellIndex(int i)
Set the bell index. This method also sets all the relevant properties
public BellClip GetBellClip()
Get the BellClip
of this bell
public void Use(ActivationPropagation activation)
No description provided
public void Play()
Play the bell
bi bij bibi