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
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKLoggingBehaviour
            ImmerseSDK.IndexingIndexedMonoBehaviour
              ImmerseSDK.IndexingIndexedMonoBehaviourWithState
                ImmerseSDK.IndexingIndexedMonoBehaviourWithNamedStates
                ImmerseSDK.MultiplayerTransformSync

Namespace:  ImmerseSDK.Indexing
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.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
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 MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also