Move part of the input module to Cryville.Input.
This commit is contained in:
@@ -3,6 +3,7 @@ using Cryville.Crtr.Browsing;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using unity = UnityEngine;
|
||||
|
||||
namespace Cryville.Crtr {
|
||||
public class Menu : MonoBehaviour {
|
||||
@@ -45,7 +46,7 @@ namespace Cryville.Crtr {
|
||||
m_targetAnimator.SetTrigger("T_Main");
|
||||
}
|
||||
}
|
||||
if (Input.GetKeyDown(KeyCode.Escape)) {
|
||||
if (unity::Input.GetKeyDown(KeyCode.Escape)) {
|
||||
if (m_targetAnimator != null) Back();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user