Skip to content

Commit

Permalink
fix type leading to compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-arndt committed May 14, 2022
1 parent f9814c0 commit 814317a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MonoBehaviourExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static void Deactivate(this MonoBehaviour monoBehaviour)

public static void Enable(this MonoBehaviour monoBehaviour)
{
monoBehaviour.enable = true;
monoBehaviour.enabled = true;
}

public static void Disable(this MonoBehaviour monoBehaviour)
Expand Down

0 comments on commit 814317a

Please sign in to comment.