10 lines
209 B
C#
10 lines
209 B
C#
using UnityEngine;
|
|
public class ShaderInteractor : MonoBehaviour
|
|
{
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
Shader.SetGlobalVector("_PositionMoving", transform.position);
|
|
}
|
|
}
|