We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class ScriptUtilities

    A set of utilities to configure script compilation.

    Inheritance
    Object
    ScriptUtilities
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    public static class ScriptUtilities

    Methods

    AppendScriptingDefinitions(BuildTargetGroup, String[])

    Appends a set of symbolic constant definitions to Unity's Scripting Define Symbols for the specified build target group.

    Declaration
    public static void AppendScriptingDefinitions(BuildTargetGroup targetGroup, string[] symbols)
    Parameters
    Type Name Description
    BuildTargetGroup targetGroup

    The build target group for which the symbols are to be defined.

    String[] symbols

    Array of symbols to define.

    RemoveScriptingDefinitions(BuildTargetGroup, String[])

    Removes a set of symbolic constant definitions to Unity's Scripting Define Symbols from the specified build target group.

    Declaration
    public static void RemoveScriptingDefinitions(BuildTargetGroup targetGroup, string[] symbols)
    Parameters
    Type Name Description
    BuildTargetGroup targetGroup

    The build target group for which the symbols are to be removed.

    String[] symbols

    Array of symbols to remove.

    In This Article
    Back to top Generated by DocFX