This commit is contained in:
2026-02-20 21:03:17 +08:00
parent 6cf9b8df56
commit 27a1f9d084
920 changed files with 196579 additions and 6801 deletions

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 65341d2b856a4aef82e238b10798b430
timeCreated: 1771091754

View File

@@ -0,0 +1,15 @@
using UnityEngine.SceneManagement;
namespace NBF
{
public class PreviewManager : MonoService<PreviewManager>
{
private Scene _scene;
protected override void OnAwake()
{
_scene = SceneManager.CreateScene("RuntimePreviewScene",
new CreateSceneParameters(LocalPhysicsMode.None));
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: d3ee9b922c69484282c9080842cb1d02
timeCreated: 1771091765

View File

@@ -0,0 +1,18 @@
using UnityEngine.InputSystem;
namespace NBF.Setting
{
public abstract class ControllerInputOption : InputOption
{
protected override bool IsBindingContains(InputBinding binding)
{
var path = binding.path;
if (path.Contains("<Keyboard>") || path.Contains("<Mouse>"))
{
return true;
}
return false;
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: c3ed7d01cac8436fb64fef818e33f173
timeCreated: 1770998136