示例#1
0
    /// <summary>
    /// Checks if all voxels have spawned client and server side
    /// </summary>
    public override void OnStartClient()
    {
        base.OnStartClient();
        mapGen = this;

        StartCoroutine(CountSpawnedVoxels());
    }
示例#2
0
    public void start()
    {
        BuildLog.flushLogFile();

        mapGen = this;

        if (isServer)
        {
            StartCoroutine(spawnVoxelsOnServer(MapManager.splits));
        }
    }