logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityPlayerInputActionBindingTests

    Tests for UnityPlayerInputActionBinding, which wraps a Unity InputAction and a callback handler. Exercises construction and the Bind/Unbind subscription lifecycle without triggering live input, since performing the action requires the Input System runtime to dispatch events.

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

    Constructors

    UnityPlayerInputActionBindingTests()

    Declaration
    public UnityPlayerInputActionBindingTests()

    Methods

    BindThenUnbind_DoesNotThrow()

    Declaration
    public void BindThenUnbind_DoesNotThrow()

    Ctor_StoresActionAndHandler()

    Declaration
    public void Ctor_StoresActionAndHandler()

    Unbind_WithoutBind_DoesNotThrow()

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