What are special YAML GameManagers for?
I recognized, that there are several YAML IDs reserved for different GameManagers. I also know that if one creates a class named GameManager and attaches it as component it shows a cog instead of the script icon.
Is there any documentation on those managers? If reserved in YAML, they must be important. looks like there has been some thoughts put into how to construct a game one could use.
Answer by Landern · Aug 28, 2015 at 01:24 PM
Is there any documentation on those managers? If reserved in YAML, they must be important. looks like there has been some thoughts put into how to construct a game one could use.
You can find the ID list here and a description of the YAML file described here... and finally an example here. You can
$$anonymous$$aybe I wasn't clear on what I wanted to know. it's not about understanding YA$$anonymous$$L files. I wanted to know where those managers appear in any doca or game. Do you code them yourself?
I mean if they exist in that list (where I found them in the first place), they have a purpose and I would like to know which. It's nowhere written that those could or should be used.
There isn't an exhaustive list of descriptions for the unity YA$$anonymous$$L defined tags and what their purpose is, they do not appear in the docs other then were already linked. You technically could create your own textual scene/prefabs, etc, but it's going to be trail and error as you try and figure everything out. $$anonymous$$ost of the tags in YA$$anonymous$$L are reflective of the fields/properties/members that $$anonymous$$onoBehaviour/UnityEngine.Object expose, that shouldn't be that interesting to figure out.
thanks for the answer Landern. I just thought, since Game$$anonymous$$anager as a $$anonymous$$onoBehaviour deeived class appears differently in the inspector (cog icon) without throwing errors for being used already or being reserved by the engine, all the other $$anonymous$$anagers in the YA$$anonymous$$L list would also have some meaning to a developer. Seems not the case then.