Started working on XP and leveling/stats system

This commit is contained in:
caleb
2025-10-09 08:49:20 +01:00
parent a22eefd770
commit 7745d73d06
219 changed files with 82809 additions and 538 deletions

View File

@@ -0,0 +1,27 @@
using UnityEngine;
namespace OccaSoftware.SuperSimpleSkybox.Runtime
{
/// <summary>
/// This component uses the local to world matrix of the transform to set the rotation of the stars.
/// Typically, you would set this component on the main directional light in your scene.
/// </summary>
[ExecuteAlways]
[AddComponentMenu("OccaSoftware/Super Simple Skybox/Set Star Rotation")]
public class SetStarRotation : MonoBehaviour
{
void Update()
{
SetMatrix();
}
/// <summary>
/// Sets the main light matrix for the star rotation in the shader.
/// </summary>
private void SetMatrix()
{
Shader.SetGlobalMatrix(ShaderParams._StarMatrix, transform.localToWorldMatrix);
}
}
}