I want to add a ‘VRC Contact Receiver’ to the world and determine whether my avatar’s ‘VRC Contact Sender’ has touched it, but even when I add:
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
using VRC.SDK3.Dynamics;
using VRC.SDK3.Dynamics.Contact.Components;
using VRC.SDK3.Dynamics.Contact;
I get the error ‘error CS0246: The type or namespace name ‘ContactEnterInfo’ could not be found (are you missing a using directive or an assembly reference?)’
in the
public void OnContactEnter(ContactEnterInfo contactInfo){}
section. How can I resolve this?
