Search Results for

    Show / Hide Table of Contents

    Class Section_Monsters

    Inheritance
    object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    LogicBehaviour
    RoomSectionComponent
    Section_Monsters
    Implements
    ILogicUpdate
    Inherited Members
    RoomSectionComponent.section
    LogicBehaviour.shouldRegisterUpdates
    LogicBehaviour.OnEnable()
    LogicBehaviour.OnDisable()
    LogicBehaviour.LogicUpdate(float)
    LogicBehaviour.FrameUpdate()
    LogicBehaviour.GetComponent<T>(out T)
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    public class Section_Monsters : RoomSectionComponent, ILogicUpdate

    Fields

    activateCondition

    Declaration
    [ShowIf("@combatAreaSettings != SectionCombatAreaType.No", true)]
    public CombatAreaActivateCondition activateCondition
    Field Value
    Type Description
    CombatAreaActivateCondition

    addedInitDelay

    Declaration
    [ShowIf("@combatAreaSettings != SectionCombatAreaType.No", true)]
    public Vector2 addedInitDelay
    Field Value
    Type Description
    UnityEngine.Vector2

    combatAreaSettings

    Declaration
    public SectionCombatAreaType combatAreaSettings
    Field Value
    Type Description
    SectionCombatAreaType

    miniBossCount

    Declaration
    [ShowIf("@combatAreaSettings != SectionCombatAreaType.No", true)]
    public int miniBossCount
    Field Value
    Type Description
    int

    onClearCombatArea

    Declaration
    [FoldoutGroup("Events", 0)]
    public UnityEvent onClearCombatArea
    Field Value
    Type Description
    UnityEngine.Events.UnityEvent

    onStartCombatArea

    Declaration
    [FoldoutGroup("Events", 0)]
    public UnityEvent onStartCombatArea
    Field Value
    Type Description
    UnityEngine.Events.UnityEvent

    ruleOverride

    Declaration
    [ShowIf("@combatAreaSettings != SectionCombatAreaType.No", true)]
    public MonsterSpawnRule ruleOverride
    Field Value
    Type Description
    MonsterSpawnRule

    spawnMiniBossInstead

    Declaration
    [ShowIf("@combatAreaSettings != SectionCombatAreaType.No", true)]
    public bool spawnMiniBossInstead
    Field Value
    Type Description
    bool

    spawnPosOverride

    Declaration
    [ShowIf("@combatAreaSettings != SectionCombatAreaType.No", true)]
    public Transform spawnPosOverride
    Field Value
    Type Description
    UnityEngine.Transform

    Properties

    didClearCombatArea

    Available on server.

    Declaration
    public bool didClearCombatArea { get; set; }
    Property Value
    Type Description
    bool

    isCombatActive

    Available on server.

    Declaration
    public bool isCombatActive { get; }
    Property Value
    Type Description
    bool

    isMarkedAsCombatArea

    Available on server.

    Declaration
    public bool isMarkedAsCombatArea { get; set; }
    Property Value
    Type Description
    bool

    isOverPopulation

    Available on server.

    Declaration
    public bool isOverPopulation { get; }
    Property Value
    Type Description
    bool

    maxPopulation

    Declaration
    public float maxPopulation { get; }
    Property Value
    Type Description
    float

    population

    Available on server.

    Declaration
    public float population { get; }
    Property Value
    Type Description
    float

    Methods

    Awake()

    Declaration
    protected override void Awake()
    Overrides
    RoomSectionComponent.Awake()

    GetSpawnPositionInSection(Func<Vector3, bool>, DewRandom)

    Evaluator will be provided raw position without NavMesh, ground or any checks.
    Position got passed by evaluator might not be returned as result of this function.

    Declaration
    public Vector3 GetSpawnPositionInSection(Func<Vector3, bool> evaluator = null, DewRandom random = null)
    Parameters
    Type Name Description
    System.Func<T, TResult><UnityEngine.Vector3, bool> evaluator
    DewRandom random
    Returns
    Type Description
    UnityEngine.Vector3

    GetSpawnPositionInSection(float, float, DewRandom)

    Declaration
    public Vector3 GetSpawnPositionInSection(float minDist, float maxDist, DewRandom random = null)
    Parameters
    Type Name Description
    float minDist
    float maxDist
    DewRandom random
    Returns
    Type Description
    UnityEngine.Vector3

    Implements

    ILogicUpdate

    Extension Methods

    DewGUI.SetExpandHeight<T>(T, bool)
    DewGUI.SetExpandHeight<T>(T, float)
    DewGUI.SetExpandWidth<T>(T, bool)
    DewGUI.SetExpandWidth<T>(T, float)
    DewGUI.SetHeight<T>(T, float)
    DewGUI.SetText<T>(T, string)
    DewGUI.SetTextLocalized<T>(T, string)
    DewGUI.SetWidth<T>(T, float)
    In This Article
    Back to top Shape of Dreams API Documentation