Пример #1
0
 public void RequestTreePoints(Vector3[] meshVertices, int chunkSizeIndex)
 {
     hasRequestedTreePoints = true;
     ThreadedDataRequester.RequestData(
         () =>
         TreePointsGenerator.SelectTreePoints(meshVertices, chunkSizeIndex,
                                              _meshCenter, _treeSettings, _clearingSettings),
         OnTreePointsReceived
         );
 }
Пример #2
0
    public void RequestTreePoints(Vector3[] meshVertices, int chunkSizeIndex)
    {
        hasRequestedTreePoints = true;

        ThreadedDataRequester.RequestData(
            () =>
            TreePointsGenerator.SelectTreePoints(meshVertices, chunkSizeIndex),
            OnTreePointsReceived
            );
    }