Netcode Bootstrap
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Rukhanka.Samples
|
||||
{
|
||||
#if !ENABLE_INPUT_SYSTEM
|
||||
[InitializeOnLoad]
|
||||
class InputSystemWarning
|
||||
{
|
||||
static InputSystemWarning()
|
||||
{
|
||||
Debug.LogWarning("Warning: The Rukhanka Samples use the \"Input System\" package for input handling. Input will not work until the \"Input System\" package has been imported.");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user