mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-01 19:13:03 +08:00

* Added Max Results option to Search (default 5000) * Fixed a TypeInitializationException which can happen when inspecting some classes with Dictionary members * Fixed an issue which could prevent Input support from initializating * Improved and fixed the display of TextAsset objects * A few other minor fixes
24 lines
573 B
C#
24 lines
573 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using UnityEngine;
|
|
|
|
namespace Explorer.Input
|
|
{
|
|
// Just a stub for games where no Input module was able to load at all.
|
|
|
|
public class NoInput : IAbstractInput
|
|
{
|
|
public Vector2 MousePosition => Vector2.zero;
|
|
|
|
public bool GetKey(KeyCode key) => false;
|
|
public bool GetKeyDown(KeyCode key) => false;
|
|
|
|
public bool GetMouseButton(int btn) => false;
|
|
public bool GetMouseButtonDown(int btn) => false;
|
|
|
|
public void Init() { }
|
|
}
|
|
}
|