您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
20 行
448 B
20 行
448 B
using UnityEngine;
|
|
#if ENABLE_INPUT_SYSTEM
|
|
using GameplayIngredients.Managers;
|
|
#endif
|
|
|
|
namespace GameplayIngredients.Events
|
|
{
|
|
#if !ENABLE_INPUT_SYSTEM
|
|
[WarnDisabledModule("New Input System")]
|
|
#endif
|
|
[AddComponentMenu(ComponentMenu.eventsPath + "On Input Event (New Input System)")]
|
|
public class OnInputEvent : EventBase
|
|
{
|
|
#if ENABLE_INPUT_SYSTEM
|
|
public InputSystemManager.RegisteredInputAction inputAction;
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|