logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ActingDeviceTracker

    Simple holder for the last input device that drove a UI action. Written by the UI input layer (the navigate/submit/cancel callbacks, where the triggering device is known) and read by UnityGamepadTargetResolver when resolving the acting pad. Registered as a single instance in the service locator so both sides share the same value.

    Inheritance
    object
    ActingDeviceTracker
    Implements
    IActingDeviceTracker
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Feedback.Infrastructure.Services
    Assembly: Serenity.UnityFeedback.Infrastructure.dll
    Syntax
    public class ActingDeviceTracker : IActingDeviceTracker

    Constructors

    ActingDeviceTracker()

    Declaration
    public ActingDeviceTracker()

    Properties

    ActingDeviceId

    Declaration
    public string ActingDeviceId { get; }
    Property Value
    Type Description
    string

    Methods

    Clear()

    Declaration
    public void Clear()

    SetActingDevice(string)

    Declaration
    public void SetActingDevice(string deviceId)
    Parameters
    Type Name Description
    string deviceId

    Implements

    IActingDeviceTracker
    In this article
    © 2026 Serenity. All Rights Reserved