docs.unity3d.com
    Show / Hide Table of Contents

    Class MARSEnvironmentSettings

    Holds environment scene settings

    Inheritance
    Object
    MARSEnvironmentSettings
    Namespace: Unity.MARS.Simulation
    Syntax
    public class MARSEnvironmentSettings : MonoBehaviour

    Properties

    EnvironmentInfo

    Declaration
    public MARSEnvironmentInfo EnvironmentInfo { get; }
    Property Value
    Type Description
    MARSEnvironmentInfo

    Methods

    GetOrCreateSettings(GameObject, out MARSEnvironmentSettings)

    Get the MARSEnvironmentSettings from the GameObject and create settings if none was found.

    Declaration
    public static bool GetOrCreateSettings(GameObject gameObject, out MARSEnvironmentSettings environmentSettings)
    Parameters
    Type Name Description
    GameObject gameObject

    Root game object we are checking for settings

    MARSEnvironmentSettings environmentSettings

    Environment Settings that is associated with the game object

    Returns
    Type Description
    Boolean

    True if settings was found.

    UpdatePrefabInfo()

    Declaration
    public void UpdatePrefabInfo()
    Back to top
    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