8000
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.
1 parent 3301586 commit 7742d0fCopy full SHA for 7742d0f
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