docs.unity3d.com
    Show / Hide Table of Contents

    Class ScriptableObjectUtility

    Inheritance
    Object
    Object
    ScriptableObject
    ScriptableObjectUtility
    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, Boolean)
    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, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Cinemachine.Editor
    Syntax
    public class ScriptableObjectUtility : ScriptableObject

    Fields

    kPackageRoot

    Declaration
    public static string kPackageRoot
    Field Value
    Type Description
    String

    Properties

    CinemachineInstallPath

    Get the Cinemachine package install path. Works whether CM is a packman package or an ordinary asset.

    Declaration
    public static string CinemachineInstallPath { get; }
    Property Value
    Type Description
    String

    CinemachineRealativeInstallPath

    Get the Cinemachine package install path. Works whether CM is a packman package or an ordinary asset.

    Declaration
    public static string CinemachineRealativeInstallPath { get; }
    Property Value
    Type Description
    String

    Methods

    Create<T>(Boolean, Boolean)

    Declaration
    public static void Create<T>(bool prependFolderName = false, bool trimName = true)
        where T : ScriptableObject
    Parameters
    Type Name Description
    Boolean prependFolderName
    Boolean trimName
    Type Parameters
    Name Description
    T

    CreateAt(Type, String)

    Create a scriptable object asset

    Declaration
    public static ScriptableObject CreateAt(Type assetType, string assetPath)
    Parameters
    Type Name Description
    Type assetType
    String assetPath
    Returns
    Type Description
    ScriptableObject

    CreateAt<T>(String)

    Create a scriptable object asset

    Declaration
    public static T CreateAt<T>(string assetPath)
        where T : ScriptableObject
    Parameters
    Type Name Description
    String assetPath
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023