Search Results for

    Show / Hide Table of Contents

    Class NavZone

    NavZones group tiles with shared properties, like terrain and effects, like visual or damages enriching gameplay with immersive elements.

    Inheritance
    object
    AxisMonoBehaviour
    AxisGameObject
    NavZone
    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.Navigation
    Assembly: cs.temp.dll.dll
    Syntax
    public sealed class NavZone : AxisGameObject

    Fields

    AffectContainingLabel

    Declaration
    public string AffectContainingLabel
    Field Value
    Type Description
    string

    ObjectEnterFirework

    Firework to burst when any NavObject enters in this zone's region

    Declaration
    public AxisFirework ObjectEnterFirework
    Field Value
    Type Description
    AxisFirework

    ObjectExitFirework

    Firework to burst when any NavObject exit this zone's region

    Declaration
    public AxisFirework ObjectExitFirework
    Field Value
    Type Description
    AxisFirework

    ObjectLandFirework

    Firework to burst when any NavObject touches ground in this zone

    Declaration
    public AxisFirework ObjectLandFirework
    Field Value
    Type Description
    AxisFirework

    OnObject

    Events dispatched when NavObjects interacts with this zone

    Declaration
    public NavObjectEvents OnObject
    Field Value
    Type Description
    NavObjectEvents

    TileRendererSetup

    Setup for rendering tiles where this NavZone is at

    Declaration
    public SetupTileRenderer TileRendererSetup
    Field Value
    Type Description
    SetupTileRenderer

    TimeToDisable

    Time after this zone is enabled to be automatically disabled

    Declaration
    public float TimeToDisable
    Field Value
    Type Description
    float

    Properties

    CurrentMatrix

    The current NavmeshMatrix this NavZone is in

    Declaration
    public NavmeshMatrix CurrentMatrix { get; }
    Property Value
    Type Description
    NavmeshMatrix

    GizmosColor

    [Read-only] The main color used to render this zone tiles in gizmos

    Declaration
    public Color GizmosColor { get; }
    Property Value
    Type Description
    Color

    Setup

    Setup settings for this zone effects

    Declaration
    public SetupZone Setup { get; set; }
    Property Value
    Type Description
    SetupZone

    TerrainEffect

    [Read-only] Effects to apply to NavAgents when entering this NavZone's tiles

    Declaration
    public TerrainEffect TerrainEffect { get; }
    Property Value
    Type Description
    TerrainEffect

    terrainType

    [Read-only] The type of terrain this zone is made of

    Declaration
    public TerrainType terrainType { get; }
    Property Value
    Type Description
    TerrainType
    In This Article
    Back to top Axis 1.0.0