Beispiel #1
0
    void Awake()
    {
        if (GM)
        {
            Destroy(this);
        }
        else
        {
            GM = this;
            IC = FindObjectOfType <IngameConsole>();
        }

        IC.WriteToConsole("i will load the feeds now");   //===== ===== LOG ===== =====
        AllFeeds = ReadFromFile.LoadFeeds(FeedPath);
        IC.WriteToConsole("i will load the filters now"); //===== ===== LOG ===== =====
        AllFilters = ReadFromFile.LoadFilters(FilterPath);

        IC.WriteToConsole("i will restart the game now");//===== ===== LOG ===== =====
        restart();
    }