docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Configuration

    Configuration class for application. Access to app params and other simulation configuration data.

    Inheritance
    object
    Configuration
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Simulation
    Assembly: solution.dll
    Syntax
    public class Configuration

    Fields

    Name Description
    SimulationConfig

    Accessor for the simulation configuration.

    Properties

    Name Description
    Instance

    Singleton accessor.

    Methods

    Name Description
    GetAppParams<T>()

    Returns the AppParams of custom type T

    GetAttemptId()

    Returns the attemptId of the simulation run.

    GetInstanceId()

    Returns the id of the instance on which the simulation is currently running.

    GetStorageBasePath()

    Returns the base storage path for the data storage in the cloud. It defaults to the Application persistent data path.

    GetStorageBasePathOther()

    Returns the non-artifact base storage path for the data storage in the cloud. It defaults to the Application persistent data path.

    GetStoragePath()

    Returns the full path for the storage which contains base path and the attemptId

    GetStoragePathOther()

    Returns the full path for the storage which contains base path and the attemptId, for non-artifacts

    IsSimulationRunningInCloud()

    Returns if the simulation is running in cloud or not.

    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)