13 lines
352 B
C#
13 lines
352 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.EventSystems;
|
|
|
|
public class ItemImageController : MonoBehaviour, IPointerClickHandler
|
|
{
|
|
public void OnPointerClick(PointerEventData eventData)
|
|
{
|
|
if (null != GetComponent<IInteraction>()) GetComponent<IInteraction>().Interaction();
|
|
}
|
|
}
|