Class NetworkUser
The Network User component contains user information and synchronizes the transform of gameObject across the network.
網絡使用者組件,包含使用者資訊及用作在網絡中同步遊戲物件的 Transform。
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
UnityEngine.Networking.NetworkBehaviour
NetworkUser
Inherited Members
Namespace: Votanic.vNet.Networking
Assembly: Votanic.vNet.dll
Syntax
[AddComponentMenu("")]
public class NetworkUser : NetworkObject
Fields
userID
User unique identifier.
使用者唯一識別碼。
Declaration
[Header("[User Status]")]
[Tooltip("ser unique identifier.\n使用者唯一識別碼。")]
public uint userID
Field Value
Type | Description |
---|---|
System. |
userName
User name.
使用者名稱。
Declaration
[Tooltip("User name.\n使用者名稱。")]
public string userName
Field Value
Type | Description |
---|---|
System. |
Methods
Start()
Declaration
[Obfuscation(Exclude = true)]
public override void Start()
Overrides
Update()
Declaration
[Obfuscation(Exclude = true)]
public virtual void Update()