14 lines
293 B
C#
14 lines
293 B
C#
|
///Credit perchik
|
|||
|
///Sourced from - http://forum.unity3d.com/threads/receive-onclick-event-and-pass-it-on-to-lower-ui-elements.293642/
|
|||
|
|
|||
|
using UnityEngine;
|
|||
|
using System.Collections;
|
|||
|
|
|||
|
public class ClickBtn : MonoBehaviour
|
|||
|
{
|
|||
|
public void Click()
|
|||
|
{
|
|||
|
Debug.Log("Clicked");
|
|||
|
}
|
|||
|
}
|