Exemple #1
0
    public void BatchAdd(General gen)
    {
        if (_batchManager == null)
        {
            _batchManager = new BatchManager(_building.MyId + ".Batch");
        }

        _batchManager.AddGen(gen);
    }
Exemple #2
0
 /// <summary>
 /// Add the Object to the BatchMesh
 /// </summary>
 /// <param name="gen"></param>
 public void BatchAdd(General gen)
 {
     _batchManager.AddGen(gen);
 }