// InteractableSelf.cs using IHXR.Simulation; public class InteractableSelf : ScriptBase { public override void Start() { MakeInteractable(OnInteract); //Log("Click/select this object"); } public override void OnUserJoin(UserInfo user) { MakeInteractable(OnInteract); } void OnInteract(InteractionInfo info) { Log(info.Username + " interacted via " + info.InteractionType); ShowDialog("Interaction", info.Username + " clicked " + info.ObjectName, ModalDialogIcon.Success); } }