Unity 6.3
0 онлайн 21 гостей 3 в системе
Вход

Event.type

Declaration

public EventType type;

Описание

Тип события.

Дополнительные ресурсы: EventType, GUI Руководство по написанию сценариев.

using UnityEngine;

public class Example : MonoBehaviour { // Prints the current event detected. void OnGUI() { Debug.Log("Current event detected: " + Event.current.type); } }