Search Results for

    Show / Hide Table of Contents

    Class ActorManager

    Inheritance
    object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    Mirror.NetworkBehaviour
    DewNetworkBehaviour
    NetworkedManagerBase<ActorManager>
    ActorManager
    Implements
    ILogicUpdate
    Inherited Members
    NetworkedManagerBase<ActorManager>.instance
    NetworkedManagerBase<ActorManager>.softInstance
    NetworkedManagerBase<ActorManager>.Awake()
    NetworkedManagerBase<ActorManager>.OnEnable()
    NetworkedManagerBase<ActorManager>.OnStartClient()
    NetworkedManagerBase<ActorManager>.OnStopClient()
    DewNetworkBehaviour.FxPlayNewNetworked(GameObject, Vector3, Quaternion?)
    DewNetworkBehaviour.FxPlayNewNetworked(GameObject, Entity)
    DewNetworkBehaviour.FxPlayNewNetworked(GameObject, Entity, Vector3, Quaternion?)
    DewNetworkBehaviour.FxPlayNewNetworked(GameObject)
    DewNetworkBehaviour.FxPlayNetworked(GameObject)
    DewNetworkBehaviour.FxPlayNetworked(GameObject, Vector3, Quaternion?)
    DewNetworkBehaviour.FxPlayNetworked(GameObject, Entity)
    DewNetworkBehaviour.FxPlayNetworked(GameObject, Entity, Vector3, Quaternion?)
    DewNetworkBehaviour.FxStopNetworked(GameObject)
    DewNetworkBehaviour.FxPlayNew(GameObject)
    DewNetworkBehaviour.FxPlayNew(GameObject, Vector3, Quaternion?)
    DewNetworkBehaviour.FxPlayNew(GameObject, Entity)
    DewNetworkBehaviour.FxPlayNew(GameObject, Entity, Vector3, Quaternion?)
    DewNetworkBehaviour.FxPlay(GameObject)
    DewNetworkBehaviour.FxPlay(GameObject, Vector3, Quaternion?)
    DewNetworkBehaviour.FxPlay(GameObject, Entity)
    DewNetworkBehaviour.FxPlay(GameObject, Entity, Vector3, Quaternion?)
    DewNetworkBehaviour.FxStop(GameObject)
    DewNetworkBehaviour.FxApplySpeedMultiplier(GameObject, float)
    DewNetworkBehaviour.FxApplySpeedMultiplierNetworked(GameObject, float)
    DewNetworkBehaviour.InvalidateInstance()
    DewNetworkBehaviour.OnStopServer()
    DewNetworkBehaviour.OnLateStart()
    DewNetworkBehaviour.OnLateStartServer()
    DewNetworkBehaviour.OnStop()
    DewNetworkBehaviour.OnDestroy()
    DewNetworkBehaviour.FrameUpdate()
    DewNetworkBehaviour.GetComponent<T>(out T)
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    public class ActorManager : NetworkedManagerBase<ActorManager>, ILogicUpdate

    Fields

    allActors

    All actors present. This only includes active actors.

    Declaration
    public HashSet<Actor> allActors
    Field Value
    Type Description
    System.Collections.Generic.HashSet<T><Actor>

    allActorsBeingDestroyed

    Declaration
    public HashSet<Actor> allActorsBeingDestroyed
    Field Value
    Type Description
    System.Collections.Generic.HashSet<T><Actor>

    allEntities

    All entities present. This only includes alive entities.

    Declaration
    public HashSet<Entity> allEntities
    Field Value
    Type Description
    System.Collections.Generic.HashSet<T><Entity>

    allHeroes

    All heroes present.

    Declaration
    public List<Hero> allHeroes
    Field Value
    Type Description
    System.Collections.Generic.List<T><Hero>

    ClientEvent_OnActorAdd

    Declaration
    public SafeAction<Actor> ClientEvent_OnActorAdd
    Field Value
    Type Description
    SafeAction<Actor>

    ClientEvent_OnActorRemove

    Declaration
    public SafeAction<Actor> ClientEvent_OnActorRemove
    Field Value
    Type Description
    SafeAction<Actor>

    ClientEvent_OnAwakeEntityAdd

    Declaration
    public SafeAction<Entity> ClientEvent_OnAwakeEntityAdd
    Field Value
    Type Description
    SafeAction<Entity>

    ClientEvent_OnAwakeEntityRemove

    Declaration
    public SafeAction<Entity> ClientEvent_OnAwakeEntityRemove
    Field Value
    Type Description
    SafeAction<Entity>

    ClientEvent_OnEntityAdd

    Declaration
    public SafeAction<Entity> ClientEvent_OnEntityAdd
    Field Value
    Type Description
    SafeAction<Entity>

    ClientEvent_OnEntityRemove

    Declaration
    public SafeAction<Entity> ClientEvent_OnEntityRemove
    Field Value
    Type Description
    SafeAction<Entity>

    ClientEvent_OnHeroAdd

    Declaration
    public SafeAction<Hero> ClientEvent_OnHeroAdd
    Field Value
    Type Description
    SafeAction<Hero>

    ClientEvent_OnHeroRemove

    Declaration
    public SafeAction<Hero> ClientEvent_OnHeroRemove
    Field Value
    Type Description
    SafeAction<Hero>

    ClientEvent_OnLocalHeroAdd

    Declaration
    public SafeAction<Hero> ClientEvent_OnLocalHeroAdd
    Field Value
    Type Description
    SafeAction<Hero>

    ClientEvent_OnLocalHeroRemove

    Declaration
    public SafeAction<Hero> ClientEvent_OnLocalHeroRemove
    Field Value
    Type Description
    SafeAction<Hero>

    enableUsefulActorName

    Declaration
    public static bool enableUsefulActorName
    Field Value
    Type Description
    bool

    onActorBeforePrepare

    Declaration
    public SafeAction<Actor> onActorBeforePrepare
    Field Value
    Type Description
    SafeAction<Actor>

    Properties

    numOfActors

    Declaration
    [ShowInInspector]
    public int numOfActors { get; }
    Property Value
    Type Description
    int

    numOfEntities

    Declaration
    [ShowInInspector]
    public int numOfEntities { get; }
    Property Value
    Type Description
    int

    numOfHeroes

    Declaration
    [ShowInInspector]
    public int numOfHeroes { get; }
    Property Value
    Type Description
    int

    serverActor

    Declaration
    public Actor serverActor { get; set; }
    Property Value
    Type Description
    Actor

    Methods

    CleanupActorsBeforeShutdown()

    Declaration
    public static void CleanupActorsBeforeShutdown()

    ClearSceneIdOfAllActors()

    Declaration
    public void ClearSceneIdOfAllActors()

    DoSleepLogicUpdate(float)

    Declaration
    public void DoSleepLogicUpdate(float dt)
    Parameters
    Type Name Description
    float dt

    LogicUpdate(float)

    Declaration
    public override void LogicUpdate(float dt)
    Parameters
    Type Name Description
    float dt
    Overrides
    DewNetworkBehaviour.LogicUpdate(float)

    OnStart()

    Declaration
    public override void OnStart()
    Overrides
    DewNetworkBehaviour.OnStart()

    OnStartServer()

    Declaration
    public override void OnStartServer()
    Overrides
    DewNetworkBehaviour.OnStartServer()

    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