Hi, i have problem with UI Button, here are my script:
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Ataki : MonoBehaviour {
public void test()
{
Debug.Log ("Button Clicked");
}
}
Did you try it in an empty scene, where you only added the button and then set it up like that or are you doing it in an already existing scene?
Do you have an event system, a standalone input module, …?