예제 #1
0
    void Awake()
    {
        ActionsParser.ParseEvents();
        ActionsParser.ParseEventsActions("eventActions");
        ActionsParser.ParseEventsActions("eventReactions");
        ActionsParser.ParseNormalActions();

        //This parses the spawnpositions and modelnames from settings.xml
        SettingsParser.ParseAll();
        PersonParser.ParsePersons();

        //making all actions and events available for use by the npcs and player respectively
        UnityAction.SpawnActions();
        UnityEventController.SpawnAllPlayerEvents();

//        UnityPlayer.Initialize();
//        ApplyPlayerSettings();
    }