Skip to content

Commit fb70fdd

Browse files
Minor changes
1 parent 1388a67 commit fb70fdd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Runtime/EntityComponent.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ public abstract class EntityComponent<EntityComponentType, EntitySystemType> : U
55
where EntityComponentType : EntityComponent<EntityComponentType, EntitySystemType>, new()
66
where EntitySystemType : EntitySystem<EntitySystemType, EntityComponentType>, new() {
77

8-
/// Defines whether this component is enabled.
9-
public bool isEnabled { get; private set; } = false;
10-
118
/// Defines whether this component has been initialized.
129
private bool isInitialized = false;
1310

1411
/// The system matched with this entity's component.
1512
private EntitySystemType system = null;
1613

14+
/// Defines whether this component is enabled.
15+
public bool isEnabled { get; private set; } = false;
16+
1717
/// Gets the system matched with this entity's component. If it's not
1818
/// defined, it will be fetched from the controller.
1919
private EntitySystemType GetSystem () {

0 commit comments

Comments
 (0)