OnInteract
using UnityEngine;
public class EventExample : MonoBehaviour
{
void Start ()
{
UltimateGamepadCursor.Instance.OnInteract += ( go ) =>
{
Debug.Log( $"Object Interacted With: {go.name}" );
};
}
}Last updated
Was this helpful?