W
W
WasTabon2020-10-30 15:14:56
Unity
WasTabon, 2020-10-30 15:14:56

EventSystems not connecting - "does not implement interface member 'IPointerDownHandler.OnPointerDown(PointerEventData)"?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;

public class PlayerMoving : MonoBehaviour, IPointerDownHandler, IPointerUpHandler


Here is the screenshot of the error -->
5f9c03be65e90724017602.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-10-30
@freeExec

You declared that you would implement IPointerDownHandler, IPointerUpHandler, but you didn't write the actual implementation. You need two more methods.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question