From 27508bfc92f1ffc7d359bea744d71d899b6718ec Mon Sep 17 00:00:00 2001 From: vorixo Date: Wed, 27 Apr 2022 21:15:43 +0200 Subject: [PATCH] [UPD] Closing some open comments + premature trait section review --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9d92cc1..beecd2a 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ The chunk size (`UE::MassEntity::ChunkSize`) has been conveniently set based on ### 4.5 Processors Processors combine multiple user-defined [queries](#mass-queries) with functions that compute entities. - + Processors are automatically registered with Mass and added to the `EMassProcessingPhase::PrePhsysics` processing phase by default. Each `EMassProcessingPhase` relates to an `ETickingGroup`, meaning that, by default, processors tick every frame in their given processing phase. Users can configure to which processing phase their processor belongs by modifying the `ProcessingPhase` variable included in `UMassProcessor`: @@ -586,16 +586,14 @@ Traits are C++ defined objects that declare a set of Fragments, Tags and data fo To start using traits, create a `DataAsset` that inherits from `MassEntityConfigAsset` and add new traits to it. Each trait can be expanded to set properties if it has any. +In addition, it is possible to inherit Fragments from another `MassEntityConfigAsset` by setting it in the `Parent` field. + ![MassEntityConfigAsset](Images/massentityconfigasset.jpg) -Between the many built-in traits offered by Mass, we can find the `Assorted Fragments` trait, which holds an array of `FInstancedStruct` that enables adding fragments to this trait from the editor without the need of creating a new C++ Trait. +Between the many built-in traits offered by Mass, we can find the `Assorted Fragments` trait, which holds an array of `FInstancedStruct` that enables adding Fragments to this trait from the editor without the need of creating a new C++ Trait. ![AssortedFragments](Images/assortedfragments.jpg) - - - -You can also define a parent MassEntityConfigAsset to inherit the fragments from another `DataAsset`.