logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityUiMouseInteractionLockTests

    Tests for UnityUiMouseInteractionLock: owner-tracked pointer locking where the first owner wins, only the owner can unlock, and pointer events are gated to the active owner's hierarchy while locked.

    Inheritance
    object
    UnityUiMouseInteractionLockTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Tests.Infrastructure.Services
    Assembly: Tests.dll
    Syntax
    public class UnityUiMouseInteractionLockTests

    Constructors

    UnityUiMouseInteractionLockTests()

    Declaration
    public UnityUiMouseInteractionLockTests()

    Methods

    ForceUnlockAll_WhenLocked_ClearsLock()

    Declaration
    public void ForceUnlockAll_WhenLocked_ClearsLock()

    ForceUnlockOwnedBy_MatchingOwner_ClearsLock()

    Declaration
    public void ForceUnlockOwnedBy_MatchingOwner_ClearsLock()

    ForceUnlockOwnedBy_NonMatchingOwner_LeavesLockIntact()

    Declaration
    public void ForceUnlockOwnedBy_NonMatchingOwner_LeavesLockIntact()

    IsPointerAllowedFor_NullTargetWhileLocked_IsBlocked()

    Declaration
    public void IsPointerAllowedFor_NullTargetWhileLocked_IsBlocked()

    IsPointerAllowedFor_OutsideOwnerHierarchy_IsBlocked()

    Declaration
    public void IsPointerAllowedFor_OutsideOwnerHierarchy_IsBlocked()

    IsPointerAllowedFor_OwnerHierarchy_IsAllowed()

    Declaration
    public void IsPointerAllowedFor_OwnerHierarchy_IsAllowed()

    IsPointerAllowedFor_WhenUnlocked_AllowsAnyTarget()

    Declaration
    public void IsPointerAllowedFor_WhenUnlocked_AllowsAnyTarget()

    Lock_FromUnlocked_SetsLockedStateAndActiveOwner()

    Declaration
    public void Lock_FromUnlocked_SetsLockedStateAndActiveOwner()

    Lock_NullOwner_DoesNotLock()

    Declaration
    public void Lock_NullOwner_DoesNotLock()

    Lock_SecondDifferentOwner_IsIgnoredFirstOwnerWins()

    Declaration
    public void Lock_SecondDifferentOwner_IsIgnoredFirstOwnerWins()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    Unlock_ByCurrentOwner_ClearsLock()

    Declaration
    public void Unlock_ByCurrentOwner_ClearsLock()

    Unlock_ByNonOwner_IsIgnored()

    Declaration
    public void Unlock_ByNonOwner_IsIgnored()
    In this article
    © 2026 Serenity. All Rights Reserved