Browse Source

removing entities tutorial updated

Aggror 5 years ago
parent
commit
f8235224a9

+ 1 - 1
en/tutorials/csharpbeginner/cloning-entities.md

@@ -2,7 +2,7 @@
 You can find this sample in the tutorial project: **Menu** → **Cloning entities** 
 You can find this sample in the tutorial project: **Menu** → **Cloning entities** 
 
 
 ## Explanation
 ## Explanation
-This C# Beginner tutorial covers how to clone an existing entity and how to add that clone to the scene. A cloned entity is an exact copy of an entity, which means that the Transform and all other components with their set values are copied to.
+This C# Beginner tutorial covers how to clone an existing entity and how to add that clone to the scene. A cloned entity is an exact copy of an entity, which means that the Transform and all other components with their set values are copied too.
 
 
 ![Cloning entities](media/cloning-entities.png)
 ![Cloning entities](media/cloning-entities.png)
 
 

+ 2 - 2
en/tutorials/csharpbeginner/index.md

@@ -52,7 +52,7 @@ These tutorials cover the beginner principles of using C# when working with the
     <div class='tutorial_description'>
     <div class='tutorial_description'>
         <ul>
         <ul>
             <li>Accessing the Transform component</li> 
             <li>Accessing the Transform component</li> 
-            <li>Get the local postion</li> 
+            <li>Get the local position</li> 
             <li>Get the world position</li> 
             <li>Get the world position</li> 
         </ul>
         </ul>
     </div>
     </div>
@@ -166,7 +166,7 @@ These tutorials cover the beginner principles of using C# when working with the
             <li>Removing an entity from the scene</li> 
             <li>Removing an entity from the scene</li> 
         </ul>
         </ul>
     </div>
     </div>
-    ](remove-entity.md) 
+    ](removing-entities.md) 
 </div>
 </div>
 
 
 
 

+ 2 - 2
en/tutorials/csharpbeginner/media/removing-entity.png

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
 version https://git-lfs.github.com/spec/v1
-oid sha256:115d28f88246851b2c6a36aef57acdae0680081d6458f6d7da17add516d1594c
-size 429099
+oid sha256:2148a2f74f3bbcce45d69d301d121b251b1d9aab068e55ab289a9b7a74747694
+size 488192

+ 0 - 10
en/tutorials/csharpbeginner/remove-entity.md

@@ -1,10 +0,0 @@
-# Removing an entity
-You can find this sample in the tutorial project: **Menu** &rarr; **Removing an entity** 
-
-## Explanation
-This C# Beginner tutorial covers how to get an entities children. Since those children are also entities, we can retrieve their children too.
-
-![Child entities](media/removing-entity.png)
-
-## Code
-[!code-csharp[Entity](..\..\..\..\stride\samples\Tutorials\CSharpBeginner\CSharpBeginner\CSharpBeginner.Game\Code\RemoveEntitiesDemo.cs)]

+ 4 - 4
en/tutorials/csharpbeginner/removing-entities.md

@@ -1,10 +1,10 @@
-# Removing an entity
+# Removing entities
 You can find this sample in the tutorial project: **Menu** &rarr; **Removing entities** 
 You can find this sample in the tutorial project: **Menu** &rarr; **Removing entities** 
 
 
 ## Explanation
 ## Explanation
-This C# Beginner tutorial covers how to clone an existing entity and how to add that clone to the scene. A cloned entity is an exact copy, which means that the Transform properties and all other components are copied to.
+This C# Beginner tutorial covers how to remove existing entities from the scene and how to remove an entity that is a child of another entity. When we add entities to the Scene root we can remove that again by accessing the  scene entities. Entities that are added as children of other entities can be removed by accessing the children of an entity. 
 
 
-![Cloning entities](media/cloning-entities.png)
+![Cloning entities](media/removing-entity.png)
 
 
 ## Code
 ## Code
-[!code-csharp[Entity](..\..\..\..\stride\samples\Tutorials\CSharpBeginner\CSharpBeginner\CSharpBeginner.Game\Code\CloneEntityDemo.cs)]
+[!code-csharp[Entity](..\..\..\..\stride\samples\Tutorials\CSharpBeginner\CSharpBeginner\CSharpBeginner.Game\Code\RemoveEntitiesDemo.cs)]