[Fix] All in one + add dice

This commit is contained in:
2026-02-23 22:24:46 +07:00
parent 4f942cd7c0
commit 2f9e082d75
1593 changed files with 474068 additions and 31 deletions
@@ -0,0 +1,18 @@
using UnityEngine;
namespace AllIn13DShader
{
public class EnvironmentSpotlightController : EnvironmentController
{
public Transform lightsParent;
public float rotationSpeed;
protected override void Update()
{
base.Update();
Quaternion quat = lightsParent.rotation;
lightsParent.rotation = quat * Quaternion.AngleAxis(rotationSpeed * Time.deltaTime, lightsParent.up);
}
}
}