浏览代码

Slight fix to remove wanning when two systems are present at the same time

/main
Thomas ICHÉ 3 年前
当前提交
f8e6a633
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Runtime/Managers/Implementations/UIEventManager.cs

2
Runtime/Managers/Implementations/UIEventManager.cs


im.enabled = true;
#endif
#if ENABLE_INPUT_SYSTEM
#if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER
if (!TryGetComponent(out InputSystemUIInputModule ism))
Debug.LogWarning("You are using the new Input System but the UI Event Manager prefab is not configured to use input from this package. In order to fix the issue, please add and configure a InputSystemUIInputModule component to your Assets/Resources/UIEventManagerPrefab. If the prefab is not present, use the Gameplay Ingredients Wizard located at Window/Gameplay Ingredients/Setup Wizard");
#endif

正在加载...
取消
保存