跳到主要内容
版本:Next

Interface IComponentApi

Namespace: ReadyM.Sdk.Common.Api
Assembly: ReadyM.Sdk.Common.dll

Provides methods for registering custom networked components.

public interface IComponentApi

Methods

RegisterComponent<T>()

Register a custom INetworkedComponent to be syncronized over the network.

void RegisterComponent<T>() where T : struct, INetworkedComponent

Type Parameters

T

Type of the component to register.