Files
ichni_Creator_Studio/Assets/Suggo Creations/RETROWAVE SKIES Lite/Scripts/GetGlobalMatrixLite.cs
SoulliesOfficial 55b7d30a04 天空盒和地板
2025-12-20 03:11:46 -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));
}
}