docs.unity.cn
    Show / Hide Table of Contents

    Class ActorExtensions

    Inheritance
    Object
    ActorExtensions
    Namespace: Unity.Reflect.Actor
    Syntax
    public static class ActorExtensions

    Methods

    Connect<TComponent, TMessage>(ActorSystemSetup, ActorSetup, ActorSetup)

    Declaration
    public static void Connect<TComponent, TMessage>(this ActorSystemSetup actorSystemSetup, ActorSetup outputActorSetup, ActorSetup inputActorSetup)
    Parameters
    Type Name Description
    ActorSystemSetup actorSystemSetup
    ActorSetup outputActorSetup
    ActorSetup inputActorSetup
    Type Parameters
    Name Description
    TComponent
    TMessage

    ConnectNet<T>(ActorSystemSetup, ActorSetup, ActorSetup)

    Declaration
    public static void ConnectNet<T>(this ActorSystemSetup actorSystemSetup, ActorSetup outputActorSetup, ActorSetup inputActorSetup)
    Parameters
    Type Name Description
    ActorSystemSetup actorSystemSetup
    ActorSetup outputActorSetup
    ActorSetup inputActorSetup
    Type Parameters
    Name Description
    T

    ConnectRpc<T>(ActorSystemSetup, ActorSetup, ActorSetup)

    Declaration
    public static void ConnectRpc<T>(this ActorSystemSetup actorSystemSetup, ActorSetup outputActorSetup, ActorSetup inputActorSetup)
    Parameters
    Type Name Description
    ActorSystemSetup actorSystemSetup
    ActorSetup outputActorSetup
    ActorSetup inputActorSetup
    Type Parameters
    Name Description
    T

    CreateActorSetup(ActorConfig)

    Declaration
    public static ActorSetup CreateActorSetup(this ActorConfig actorConfig)
    Parameters
    Type Name Description
    ActorConfig actorConfig
    Returns
    Type Description
    ActorSetup

    CreateActorSetup<T>(ActorSystemSetup)

    Declaration
    public static ActorSetup CreateActorSetup<T>(this ActorSystemSetup actorSystemSetup)
    Parameters
    Type Name Description
    ActorSystemSetup actorSystemSetup
    Returns
    Type Description
    ActorSetup
    Type Parameters
    Name Description
    T

    FindActor<T>(ReflectBootstrapper)

    Declaration
    public static T FindActor<T>(this ReflectBootstrapper reflectBootstrapper)
        where T : class
    Parameters
    Type Name Description
    ReflectBootstrapper reflectBootstrapper
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetActorConfig(ActorSystemSetup, ActorSetup)

    Declaration
    public static ActorConfig GetActorConfig(this ActorSystemSetup actorSystemSetup, ActorSetup actorSetup)
    Parameters
    Type Name Description
    ActorSystemSetup actorSystemSetup
    ActorSetup actorSetup
    Returns
    Type Description
    ActorConfig

    GetActorConfig<T>(ActorSystemSetup)

    Declaration
    public static ActorConfig GetActorConfig<T>(this ActorSystemSetup actorSystemSetup)
    Parameters
    Type Name Description
    ActorSystemSetup actorSystemSetup
    Returns
    Type Description
    ActorConfig
    Type Parameters
    Name Description
    T

    GetActorSettings<T>(ActorSetup)

    Declaration
    public static T GetActorSettings<T>(this ActorSetup actorSetup)
        where T : ActorSettings
    Parameters
    Type Name Description
    ActorSetup actorSetup
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetActorSetup<T>(ActorSystemSetup)

    Declaration
    public static ActorSetup GetActorSetup<T>(this ActorSystemSetup actorSystemSetup)
    Parameters
    Type Name Description
    ActorSystemSetup actorSystemSetup
    Returns
    Type Description
    ActorSetup
    Type Parameters
    Name Description
    T

    GetComponentConfig<T>(ActorSystemSetup)

    Declaration
    public static ComponentConfig GetComponentConfig<T>(this ActorSystemSetup actorSystemSetup)
    Parameters
    Type Name Description
    ActorSystemSetup actorSystemSetup
    Returns
    Type Description
    ComponentConfig
    Type Parameters
    Name Description
    T

    InstantiateAndStart(ReflectBootstrapper, ActorSystemSetup, IExposedPropertyTable, UnityProject, UnityUser)

    Declaration
    public static void InstantiateAndStart(this ReflectBootstrapper reflectBootstrapper, ActorSystemSetup actorSystemSetup, IExposedPropertyTable resolver = null, UnityProject unityProject = null, UnityUser unityUser = null)
    Parameters
    Type Name Description
    ReflectBootstrapper reflectBootstrapper
    ActorSystemSetup actorSystemSetup
    IExposedPropertyTable resolver
    UnityProject unityProject
    UnityUser unityUser
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 26 April 2021