protected override void OnCreate() { base.OnCreate(); _renderedItemPositionComputationSystem = World.GetExistingSystem <RenderedItemPositionComputationSystem>(); _graphicsBuffers = new GraphicsBuffer[2]; }
protected override void OnCreate() { _corners = new Vector3[4]; _cameraPlanes = new NativeArray <float4>(6, Allocator.Persistent); _renderedItemPositionComputationSystem = World.GetExistingSystem <RenderedItemPositionComputationSystem>(); }