using System.Collections; using System.Collections.Generic; using UnityEngine; public class LightHelper : MonoBehaviour { public Texture LightAtten; // Start is called before the first frame update void Start() { Shader.SetGlobalTexture("_LightTexturePoint", LightAtten); } // Update is called once per frame void Update() { } }