We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f03d139 + 7742d0f commit 906850cCopy full SHA for 906850c
Assets/Patterns/9. Update/Custom Update method/Scripts/GameController.cs
@@ -63,7 +63,7 @@ public static void RegisterUpdateableObject(IUpdateable obj)
63
//Unregister
64
public static void UnregisterUpdateableObject(IUpdateable obj)
65
{
66
- if (!updateableObjects.Contains(obj))
+ if (updateableObjects.Contains(obj))
67
68
updateableObjects.Remove(obj);
69
}
0 commit comments