Skip to content

Commit

Permalink
Merge pull request #67 from ivan443250/master
Browse files Browse the repository at this point in the history
Update EntityViewInspector
  • Loading branch information
grofit authored Oct 30, 2024
2 parents a18c051 + 4660c72 commit 676b4e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Assets/EcsRx/UnityEditor/Editor/EntityViewInspector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public class EntityViewInspector : global::UnityEditor.Editor
public bool showComponents;

private readonly IEnumerable<Type> allComponentTypes = AppDomain.CurrentDomain.GetAssemblies()
.SelectMany(s => s.GetTypes())
.Where(p => typeof(IComponent).IsAssignableFrom(p) && p.IsClass);

.SelectMany(s => s.GetTypes())
.Where(p => typeof(IComponent).IsAssignableFrom(p) && p.IsClass)
.ToArray();

private void PoolSection()
{
Expand Down

0 comments on commit 676b4e6

Please sign in to comment.