Files
ichni_Official/Assets/Suggo Creations/RETROWAVE SKIES Lite/Scripts/GetGlobalMatrixLite.cs
SoulliesOfficial f09278037e 调整
2025-11-22 21:36:59 -05:00

15 lines
267 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteAlways]
public class GetGlobalMatrixLite : MonoBehaviour
{
void Update()
{
Shader.SetGlobalMatrix("_LightMatrix", Matrix4x4.Rotate(transform.rotation));
}
}