using System; using UnityEngine; namespace FX { // Token: 0x0200076B RID: 1899 public class FX_ch_002022 : MonoBehaviour { // Token: 0x06003061 RID: 12385 RVA: 0x0010402C File Offset: 0x0010402C private void Start() { this.pID = Shader.PropertyToID(this.valueName); this.tr = base.GetComponent(); } // Token: 0x06003062 RID: 12386 RVA: 0x0010404C File Offset: 0x0010404C private void Update() { Vector3 position = base.transform.position; this.tr.materials[0].SetVector(this.pID, position); } // Token: 0x040056B7 RID: 22199 private int pID; // Token: 0x040056B8 RID: 22200 private Renderer tr; // Token: 0x040056B9 RID: 22201 [SerializeField] private string valueName = "_AbsPos"; } }