skybox subsetter

This commit is contained in:
SoulliesOfficial
2025-07-09 01:01:06 -04:00
parent 6533997d59
commit 537caabfa9
128 changed files with 13280 additions and 2268 deletions

View File

@@ -0,0 +1,31 @@
using UnityEngine;
using UnityEngine.InputSystem;
namespace SkyboxBlenderSpace
{
public class SpacebarClick2 : MonoBehaviour
{
public SkyboxBlender skyboxScript;
bool isStopped;
void Update()
{
if (Keyboard.current.spaceKey.wasPressedThisFrame) {
skyboxScript.Blend(true);
isStopped = false;
}
// stop blending
if (Keyboard.current.eKey.wasPressedThisFrame) {
if (isStopped) {
skyboxScript.Blend(true);
isStopped = false;
}
else {
skyboxScript.Stop();
isStopped = true;
}
}
}
}
}