using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class PlazaRoom : MonoBehaviour, IPointerClickHandler { public void OnPointerClick(PointerEventData eventData) { GardenSmartFoxManager.GardenSmartFox.PlazaRoomManager.SelfInstance.MoveTo(eventData.pointerCurrentRaycast.worldPosition); } }