Search Results for

    Show / Hide Table of Contents

    Class ObjCollectable

    This is a handy feature that can be added to any NavObject, turning it into something players can collect during gameplay.

    Inheritance
    object
    AxisMonoBehaviour
    ObjFeature
    ObjCollectable
    Inherited Members
    AxisMonoBehaviour.ContainsLabel(string)
    AxisMonoBehaviour.CountChildrenWithLabel(string, bool)
    AxisMonoBehaviour.ContainsLabelInChildren(string, bool)
    AxisMonoBehaviour.GetSpaceBetweenColliders(AxisMonoBehaviour)
    AxisMonoBehaviour.GetSpaceBetweenCollidersHorizontally(AxisMonoBehaviour)
    AxisMonoBehaviour.PauseGame()
    AxisMonoBehaviour.SetActiveByName(string)
    AxisMonoBehaviour.ResumeGame()
    AxisMonoBehaviour.GameTimeScaleSet(float)
    AxisMonoBehaviour.transform
    AxisMonoBehaviour.gameObject
    AxisMonoBehaviour.collider
    AxisMonoBehaviour.Origin
    AxisMonoBehaviour.OnTransformChildrenChanged()
    Namespace: Axis.ObjFeatures
    Assembly: cs.temp.dll.dll
    Syntax
    public sealed class ObjCollectable : ObjFeature

    Fields

    CollectedFirework

    Firework to burst when this is collected

    Declaration
    public AxisFirework CollectedFirework
    Field Value
    Type Description
    AxisFirework

    Damages

    Damage value to cause on its collector when collected

    Declaration
    public int Damages
    Field Value
    Type Description
    int

    Heals

    Heals value on its collector when collected

    Declaration
    public int Heals
    Field Value
    Type Description
    int

    KeepInsideOnCollect

    Wether this collectable will be nested inside its collector.

    Declaration
    public bool KeepInsideOnCollect
    Field Value
    Type Description
    bool

    OnCollect

    Object with events dispatched related to collectables

    Declaration
    public CollectableEvents OnCollect
    Field Value
    Type Description
    CollectableEvents

    OnCollectedCounterSum

    Associate an AxisCounter to be added 1 when collected

    Declaration
    public AxisCounter OnCollectedCounterSum
    Field Value
    Type Description
    AxisCounter

    ValueSum

    Value to sum to AxisCounter when collected

    Declaration
    public int ValueSum
    Field Value
    Type Description
    int

    Methods

    CollectedBy(NavObject)

    Be collected by specified NavObject

    Declaration
    public void CollectedBy(NavObject by)
    Parameters
    Type Name Description
    NavObject by

    Collector object

    CollectedForceNoCollector()

    Declaration
    public void CollectedForceNoCollector()
    In This Article
    Back to top Axis 1.0.0