Beispiel #1
0
    void Update()
    {
        if (_moveJob.IsCompleted)
        {
            _moveJob.Complete();
            _moveJob = MoveJob.Begin(_positions, _batchSize);
        }

        _updateTransformJob = UpdateTransformsJob.Begin(_transforms, _positions, _moveJob);
    }