Started working on XP and leveling/stats system
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace OccaSoftware.SuperSimpleSkybox.Runtime
|
||||
{
|
||||
[ExecuteAlways]
|
||||
[AddComponentMenu("OccaSoftware/Super Simple Skybox/Sun (Static)")]
|
||||
public class SunStatic : MonoBehaviour
|
||||
{
|
||||
private void Update()
|
||||
{
|
||||
Shader.SetGlobalVector(ShaderParams._SunDirection, -transform.forward);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user