Double-Fine-Game-Club / bad-golf-community-edition

A community developed version of Patrick Hackett's Bad Golf Amnesia Fortnight pitch!
Other
52 stars 38 forks source link

Configuration Loader #28

Open Cheeseness opened 10 years ago

Cheeseness commented 10 years ago

Load configuration variables from file at game start up and provide runtime access to them.

Goldenheaven commented 10 years ago
Cheeseness commented 10 years ago

I've commented out the part that updates EditorBuildSettings.asset from Config.cs as of 588d16426efc5c33146c25b379314b19f8df9282 to reduce the number of merge conflicts and unexpected scene inclusion behaviour that several contributors have commented on.

Goldenheaven commented 10 years ago

Commented further as to comment levelsPath[] variable as its was only being used inside #if unity editor but was outside that scope

ErikBehar commented 10 years ago

Im going to make the config.xml load from Resources if it doesn't exist in persistant data path working on this now