Search Results for

    Show / Hide Table of Contents

    Class TriggerBehaviour

    Behaviour that can trigger and kill a piece of code.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    TriggerBehaviour
    AnimationComposer
    Tween<T>
    Namespace: GGL.Animation
    Assembly: GGL.dll
    Syntax
    [HelpURL("https://ggl.yoannhaffner.com/articles/tweens.html")]
    public abstract class TriggerBehaviour : MonoBehaviour
    Remarks

    Base class for every Tween<T>, so that animations can be triggered. However you can use this class to trigger you own stuff.

    Fields

    | Edit this page View Source

    triggerOnceEnabled

    Declaration
    [SerializeField]
    protected bool triggerOnceEnabled
    Field Value
    Type Description
    bool

    Once the component is ative in scene, it will be triggered.

    Methods

    | Edit this page View Source

    Kill()

    Some way to kill what you triggered.

    Declaration
    public abstract void Kill()
    | Edit this page View Source

    Trigger()

    Whatever you want to trigger.

    Declaration
    public abstract void Trigger()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX