13 lines
355 B
C#
13 lines
355 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();
|
|||
|
}
|
|||
|
}
|