You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Docs/additional-entities-features.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ For instance, the `EntityManager` has these key methods:
39
39
| :- |
40
40
| For the sake of the job safety checks, read or write access of a component's enabled state requires read or write access of the component type itself. |
41
41
42
-
🕹*[See examples of checking and setting the enabled state of components](../examples/components_systems.md#enableable-components).*
42
+
🕹*[See examples of checking and setting the enabled state of components](./examples/components_systems.md#enableable-components).*
43
43
44
44
In an `IJobChunk`, the `Execute` method parameters signal which entities in the chunk match the query:
45
45
@@ -50,7 +50,7 @@ In an `IJobChunk`, the `Execute` method parameters signal which entities in the
50
50
| :- |
51
51
| The `chunkEnabledMask` is a *composite* of all the enabled states of the enableable components included in the query of the job. To check enabled states of individual components, use the `IsComponentEnabled()` and `SetComponentEnabled()` methods of the `ArchetypeChunk`. |
52
52
53
-
🕹*[See an example `IJobChunk` that correctly accounts for disabled components](../examples/jobs.md#ijobchunk).*
53
+
🕹*[See an example `IJobChunk` that correctly accounts for disabled components](./examples/jobs.md#ijobchunk).*
Copy file name to clipboardExpand all lines: Docs/baking.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Baking a Sub Scene is done in a few main steps:
13
13
2. The Baker of each authoring component in the Sub Scene is executed. Each Baker can read the authoring component and add components to the corresponding entity.
14
14
2. The baking systems execute. Each system can read and modify the baked entities in any way: set components, add components, remove components, create additional entities, or destroy entities. Unlike Bakers, baking systems should not access the original GameObjects of the Sub Scene.
15
15
16
-
🕹*[See examples of authoring components, Bakers, and baking systems.](../examples/baking.md)*
16
+
🕹*[See examples of authoring components, Bakers, and baking systems.](./examples/baking.md)*
17
17
18
18
When modified, a Sub Scene is re-baked:
19
19
@@ -58,7 +58,7 @@ The [`SceneSystem`](https://docs.unity3d.com/Packages/com.unity.entities@latest?
58
58
|[`GetScenePath()`](https://docs.unity3d.com/Packages/com.unity.entities@latest?subfolder=/api/Unity.Entities.ICleanupComponent.html)| Returns the path of a scene asset (specified by its GUID). |
59
59
|[`GetSceneEntity()`](https://docs.unity3d.com/Packages/com.unity.entities@latest?subfolder=/api/Unity.Entities.ICleanupComponent.html)| Returns the entity representing a scene (specified by its GUID). |
60
60
61
-
🕹*[See examples of loading and unloading entity scenes and sections.](../examples/baking.md#scene-loading)*
61
+
🕹*[See examples of loading and unloading entity scenes and sections.](./examples/baking.md#scene-loading)*
Copy file name to clipboardExpand all lines: Docs/entities-components.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ An [`EntityQuery`](https://docs.unity3d.com/Packages/com.unity.entities@latest?s
118
118
119
119
A query can also specify component types to *exclude* from the matching archetypes. For example, if a query looks for all entities having component types *A* and *B* but *not* having component type *C*, the query would match entities with component types *A* and *B*, but the query would *not* match entities with component types *A*, *B*, and *C*.
120
120
121
-
🕹*[See examples of creating and using queries](../examples/components_systems.md#querying-for-entities).*
121
+
🕹*[See examples of creating and using queries](./examples/components_systems.md#querying-for-entities).*
122
122
123
123
124
124
<br>
@@ -139,7 +139,7 @@ In order to allow entity indexes to be reused after an entity is destroyed, each
139
139
140
140
The most common, basic kind of component type is defined as a struct implementing [`IComponentData`](https://docs.unity3d.com/Packages/com.unity.entities@latest?subfolder=/api/Unity.Entities.IComponentData.html).
141
141
142
-
🕹*[See examples of creating and using `IComponentData` components.](../examples/components_systems.md#icomponentdata)*
142
+
🕹*[See examples of creating and using `IComponentData` components.](./examples/components_systems.md#icomponentdata)*
143
143
144
144
An `IComponentData` struct is expected to be unmanaged, so it cannot contain any managed field types. Specifically, the allowed field types are:
145
145
@@ -179,7 +179,7 @@ If a managed component type implements `ICloneable`, then any resources it conta
179
179
180
180
A [`DynamicBuffer`](https://docs.unity3d.com/Packages/com.unity.entities@latest?subfolder=/api/Unity.Entities.DynamicBuffer-1.html) is a component type which is a resizable array. To define a `DynamicBuffer` component type, create a struct that implements the [`IBufferElementData`](https://docs.unity3d.com/Packages/com.unity.entities@latest?subfolder=/api/Unity.Entities.IBufferElementData.html) interface.
181
181
182
-
🕹*[See examples of creating and using `DynamicBuffer` components](../examples/components_systems.md#dynamicbuffers-ibufferelementdata).*
182
+
🕹*[See examples of creating and using `DynamicBuffer` components](./examples/components_systems.md#dynamicbuffers-ibufferelementdata).*
183
183
184
184
The buffer of each entity stores a `Length`, a `Capacity`, and a pointer:
185
185
@@ -228,7 +228,7 @@ A `DynamicBuffer<T>` can be '[reinterpreted](https://docs.unity3d.com/Packages/c
228
228
229
229
An aspect is an object-like wrapper over a subset of an entity's components. Aspects can be useful for simplifying queries and component-related code. The [`TransformAspect`](https://docs.unity3d.com/Packages/com.unity.entities@latest?subfolder=/api/Unity.Transforms.TransformAspect.html), for example, groups together the standard transform components ([`LocalTransform`](https://docs.unity3d.com/Packages/com.unity.entities@latest?subfolder=/api/Unity.Transforms.LocalTransform.html), [`ParentTransform`](https://docs.unity3d.com/Packages/com.unity.entities@latest?subfolder=/api/Unity.Transforms.ParentTransform.html), and [`WorldTransform`](https://docs.unity3d.com/Packages/com.unity.entities@latest?subfolder=/api/Unity.Transforms.WorldTransform.html)).
230
230
231
-
🕹*[See examples of creating and using aspects](../examples/components_systems.md#aspects)*.
231
+
🕹*[See examples of creating and using aspects](./examples/components_systems.md#aspects)*.
232
232
233
233
Including an aspect in a query is the same as including the components wrapped by the aspect, *e.g.* a query that includes `TransformAspect` includes the standard transform matrix components.
Copy file name to clipboardExpand all lines: Docs/entities-jobs.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ You can offload the processing of entity data to worker threads with the [C# Job
6
6
-[`IJobChunk`](https://docs.unity3d.com/Packages/com.unity.entities@latest?subfolder=/api/Unity.Entities.IJobChunk.html), whose `Execute()` method is called once for each individual chunk matching the query.
7
7
-[`IJobEntity`](https://docs.unity3d.com/Packages/com.unity.entities@latest?subfolder=/api/Unity.Entities.IJobEntity.html), whose `Execute()` method is called once for each entity entity matching the query.
8
8
9
-
🕹*[See examples of IJobChunk](../examples/jobs.md#ijobchunk)[and IJobEntity](../examples/jobs.md#ijobentity).*
9
+
🕹*[See examples of IJobChunk](./examples/jobs.md#ijobchunk)[and IJobEntity](./examples/jobs.md#ijobentity).*
10
10
11
11
Although `IJobEntity` is generally more convenient to write and use, `IJobChunk` provides more precise control. In most cases, their performance is identical for equivalent work.
0 commit comments