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