Click or drag to resize

IndexedMonoBehaviourWithState Class

A Component that has a state and can be discovered via it's index. Used for synching object state over the network
Inheritance Hierarchy

Namespace:  ImmerseSDK.Indexing
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public abstract class IndexedMonoBehaviourWithState : IndexedMonoBehaviour

The IndexedMonoBehaviourWithState type exposes the following members.

Constructors
  NameDescription
Protected methodIndexedMonoBehaviourWithState
Initializes a new instance of the IndexedMonoBehaviourWithState class
Top
Properties
  NameDescription
Public propertyState
Current state of the object
Top
Methods
  NameDescription
Public methodCheckRequirement
Compare state to the expected value
Protected methodSetState(Byte)
Set the State of this object, event will be triggered
Protected methodSetState(Byte, Boolean)
Set the State of this object
Top
Events
  NameDescription
Public eventOnStateChange
Fired when the state changes
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodGetObjectIndex
Gets the index from the IndexedMonoBehaviour
(Defined by GUID.)
Public Extension MethodGetOwner
Gets the owner id from the IndexedMonoBehaviour
(Defined by GUID.)
Public Extension MethodGetOwnerType
Gets the owner type from the IndexedMonoBehaviour
(Defined by GUID.)
Public Extension MethodGetScene
Gets the scene id from the IndexedMonoBehaviour
(Defined by GUID.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also