Game Parameters | Game Foundation | 0.8.0-preview
docs.unity.cn
    Show / Hide Table of Contents

    Game Parameters

    Overview

    Game Parameters provide static configuration for your game that is accessible through script. These parameters can control various aspects of your game, including your Game Economy. Each Game Parameter is a catalog item and works similar to other catalog items, except they don't have a display name.

    You can create Game Parameter objects, then define static properties to further define that concept.

    Editor Overview

    Open the Game Parameter window by going to Window → Game Foundation → Game Parameters. The Game Parameter window will let you configure game parameters.

    An overview of the Game Parameter Window

    In the example above, a Game Parameter is created per game level. This game parameter can be an approach to set up the difficulty of the levels in a game, or toggle some features on or off according to difficulty of game level.

    < table of contents

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 23 November 2020