Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
hexinping committed Aug 13, 2021
1 parent e263201 commit 1ccf745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected override void OnCreate()
m_Query = GetEntityQuery(typeof(Rotation), ComponentType.ReadOnly<RotationSpeed_IJobEntityBatch>());
}

//IJobEntityBatch 效率特别高效
//IJobEntityBatch 效率特别高效 Job最好多加上BurstCompile
// Use the [BurstCompile] attribute to compile a job with Burst. You may see significant speed ups, so try it!
[BurstCompile]
struct RotationSpeedJob : IJobEntityBatch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ PrefabInstance:
- target: {fileID: 8672214540600007728, guid: 3a95237b170224a3a92b0c33ec8b87f1,
type: 3}
propertyPath: m_IsActive
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8903556393890852412, guid: 3a95237b170224a3a92b0c33ec8b87f1,
type: 3}
Expand Down

0 comments on commit 1ccf745

Please sign in to comment.