Skip to content

Commit e527ac1

Browse files
Getting isEnabled within entities is now public
1 parent ca4f01a commit e527ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/EntityComponent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public abstract class EntityComponent<EntityComponentType, EntitySystemType> : U
66
where EntitySystemType : EntitySystem<EntitySystemType, EntityComponentType>, new() {
77

88
/// Defines whether this component is enabled.
9-
private bool isEnabled = false;
9+
public bool isEnabled { get; private set; } = false;
1010

1111
/// Defines whether this component has been initialized.
1212
private bool isInitialized = false;

0 commit comments

Comments
 (0)