Exemple #1
0
    void FixedUpdate()
    {
        sm.enemyInfo = ei.GetEnemyInformation();
        sm.towerInfo = ti.GetTowerInformation();

        networking.GetAudienceSys().WriteMetadata <ServerMessage>("server", sm);
        networking.GetAudienceSys().WriteMetadata <ServerMessage>("server", sm);
    }