Table of Contents

Class NetickBehaviour

Namespace
Netick.Unity
Assembly
Netick.Unity.dll
public abstract class NetickBehaviour : NetickBaseBehaviour, INetickScript
Inheritance
Object
Component
Behaviour
MonoBehaviour
NetickBehaviour
Implements
Derived
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.destroyCancellationToken
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Extension Methods

Constructors

NetickBehaviour()

protected NetickBehaviour()

Properties

Engine

public NetickEngine Engine { get; }

Property Value

NetickEngine

Entity

public Entity Entity { get; }

Property Value

Entity

Object

The NetworkObject this behaviour is attached to.

public NetworkObject Object { get; }

Property Value

NetworkObject

Sandbox

The NetworkSandbox containing this Object.

public NetworkSandbox Sandbox { get; }

Property Value

NetworkSandbox

Methods

NetworkDestroy()

Called when this behaviour has been removed from the simulation.

public virtual void NetworkDestroy()

NetworkFixedUpdate()

Called every fixed-time network step. Any changes to the networked state should happen here.

On the client, if you are the Input Source or if this Object.PredictionMode is set to Everyone, it will be called several times in one update/tick during resimulations. To check for resimulations, use [IsResimulating].

public virtual void NetworkFixedUpdate()

NetworkRender()

Called every frame. Executed after NetworkUpdate and NetworkFixedUpdate.

public virtual void NetworkRender()

NetworkStart()

Called when this behaviour has been added to the simulation.

public virtual void NetworkStart()

NetworkUpdate()

Called every frame. Executed before NetworkFixedUpdate.

public virtual void NetworkUpdate()

OnBecameSimulated()

public virtual void OnBecameSimulated()

OnBecameUnsimulated()

public virtual void OnBecameUnsimulated()