docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class OccurrenceRef

    Inheritance
    object
    Object
    ScriptableObject
    OccurrenceRef
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Pixyz.UnitySDK
    Assembly: Unity.Pixyz.UnitySDK.Runtime.dll
    Syntax
    [Serializable]
    public class OccurrenceRef : ScriptableObject

    Fields

    Occurrence

    Declaration
    [HideInInspector]
    public OccurrenceSync Occurrence
    Field Value
    Type Description
    OccurrenceSync

    Properties

    IsValid

    Is this reference still valid ?

    Declaration
    public bool IsValid { get; }
    Property Value
    Type Description
    bool

    Methods

    CreateInstance(OccurrenceRef)

    Create a new ref base on the ref provided

    Declaration
    public static OccurrenceRef CreateInstance(OccurrenceRef source)
    Parameters
    Type Name Description
    OccurrenceRef source
    Returns
    Type Description
    OccurrenceRef

    CreateInstance(OccurrenceSync)

    Create a new reference base on the provided occurrence

    Declaration
    public static OccurrenceRef CreateInstance(OccurrenceSync occurrence)
    Parameters
    Type Name Description
    OccurrenceSync occurrence
    Returns
    Type Description
    OccurrenceRef

    GetHandle()

    Return a handle on the linked occurrence or create one

    Declaration
    public OccurrenceSync.Handle GetHandle()
    Returns
    Type Description
    OccurrenceSync.Handle

    Invalidate()

    Declaration
    public void Invalidate()

    OnDestroy()

    Declaration
    public void OnDestroy()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)