Esempio n. 1
0
    //get signal on all instances but only act if id is the same as the original sender
    [RPC] void ReturnStateRequest(string gameInstanceID, string ip, string stateString)
    {
        if (gameInstanceID == IGC_VirtualSystem.uniqueID)
        {
            restoreData      = stateString;
            this.IP          = ip;
            this.restoreData = stateString;
            gameObject.name  = "Computer_" + IP;

            fileSystem.BuildFilesFromFileString();
        }
    }