LongPressMiniProfileController
LongPressMiniProfileController is a built-in component script that automatically handles long press interactions to display mini profiles for characters.
This script sets itself up automatically in ClientAwake - you don't need to call any of its methods manually. All event handlers and tap detection are configured automatically when the script initializes.
Simply attach this component to a GameObject in your scene, and it will handle long press interactions on characters.
Methods
Internal event handler automatically connected in ClientAwake to handle the beginning of a long press gesture. You do not need to call this method manually.
Parameters
Returns
Internal event handler automatically connected in ClientAwake to handle the continuation of an ongoing long press gesture. You do not need to call this method manually.
Parameters
Returns
Internal event handler automatically connected in ClientAwake to handle the end of a long press gesture. You do not need to call this method manually.
Parameters
Returns
Internal method used to detect taps. You do not need to call this method manually.
Parameters
position
Internal method called automatically in ClientAwake to set up tap mask for detecting long press events. You do not need to call this method manually.
Returns
Updated 13 days ago