public void UnRegister(IMouseBlocker blocker) { Debug.Log("UnRegistering Rect" + blocker.GetCurrentRect().x + " / " + blocker.GetCurrentRect().y + blocker.GetCurrentRect().width + " / " + blocker.GetCurrentRect().height); mouseBlockers.Remove(blocker); }
public void Register(IMouseBlocker blocker) { Debug.Log("Registering Rect" + blocker.GetCurrentRect().x + " / " + blocker.GetCurrentRect().y + blocker.GetCurrentRect().width + " / " + blocker.GetCurrentRect().height + "for blocker " + blocker.GetType()); mouseBlockers.Add(blocker); }