GlobalParameterContainer

GlobalParameterContainer is a component to use when there are parameters that you want to keep even if you change the scene.

  • Click the Create button in the Hierarchy window or right click in the window
  • Select “Arbor / GlobalParameterContainer”
  • A GameObject with GlobalParameterContainer is created.
  • Select the GameObject you want to add GlobalParameterContainer in the Hierarchy window
  • Click the “Add Component” button in the Inspector window
  • Select “Arbor / GlobalParameterContainer”
  • GlobalParameterContainer is added to GameObject.
  • ParameterContainer with parameters to be shared between scenes is created in advance and Prefabized.
  • Select GameObject to which GlobalParameterContainer is added.
    Specify Prefab of ParameterContainer created in Prefab of Inspector.

By specifying GlobalParameterContainer in the Container field of ParameterReference, parameters can be referred.