mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/MI-38.git
synced 2026-01-24 01:15:41 +03:00
15 lines
277 B
C#
15 lines
277 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.EventSystems;
|
|
|
|
public class quit : MonoBehaviour, IPointerClickHandler
|
|
{
|
|
public void OnPointerClick(PointerEventData eventData)
|
|
{
|
|
Application.Quit();
|
|
}
|
|
|
|
|
|
}
|