Skip to content

Commit

Permalink
【ECS】 WithName
Browse files Browse the repository at this point in the history
  • Loading branch information
hexinping committed Aug 12, 2021
1 parent eaf501c commit eb37e82
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,7 @@ ECSLearn/.vs/
ECSLearn/obj/
ECSLearn/.vsconfig
EntityComponentSystemSamples/ECSSamples/Library/
EntityComponentSystemSamples/ECSSamples/.idea/
EntityComponentSystemSamples/ECSSamples/obj/
EntityComponentSystemSamples/ECSSamples/Temp/
EntityComponentSystemSamples/ECSSamples/Logs/
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ protected override void OnUpdate()

// Schedule job to rotate around up vector
Entities
.WithName("RotationSpeedSystem_ForEach")
.WithName("RotationSpeedSystem_ForEach") //job的名字,方便调试
.ForEach((ref Rotation rotation, in RotationSpeed_ForEach rotationSpeed) =>
{
rotation.Value = math.mul(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ EditorUserSettings:
value: 224247031146467a09180d2c13265b5f3105112e1c293238621a1e36ece52777c5f53fedd7363e323c4dc82e0d3a4f2afc031d12
flags: 0
RecentlyUsedScenePath-2:
value: 22424703114646730802002d33365d155946566a0a2734152c2a157cc4ef261de3e43ea7f234362820
value: 224247031146466e1e0b4c0111305a502516153a202d357f7c675d00f6e1203da2ca37eaef3331397923c673372a002bf7270808fe02040e3027b31b1ff6040a
flags: 0
RecentlyUsedScenePath-3:
value: 224247031146466e1e0b4c0111305a502516153a202d357f7c675d00f6e1203da2ca37eaef3331397923c673372a002bf7270808fe02040e3027b31b1ff6040a
value: 224247031146466e1e0b4c0111305a502516153a202d357f7c675d00f6e1203da2ca37eaef3331397923c673372a002bf7270808fe02040e3027b22b1ffa1d0a5fd016cc0ed1
flags: 0
RecentlyUsedScenePath-4:
value: 224247031146466e1e0b4c0111305a502516153a202d357f7c675d00f6e1203da2ca37eaef3331397923c673372a002bf7270808fe02040e3027b22b1ffa1d0a5fd016cc0ed1
value: 224247031146467a09180d2c13265b5f341b17280d3b3535391a1e32eee13634e7a814e5e8381e2f2a07fb73372b032cf10f070eb81e04020517
flags: 0
RecentlyUsedScenePath-5:
value: 22424703114646730802002d33365d155946566a0a2734152c2a157cc4ef261de3e43ea7f234362820
flags: 0
vcSharedLogLevel:
value: 0d5e400f0650
Expand Down

0 comments on commit eb37e82

Please sign in to comment.