mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-13 06:54:45 +01:00
15 lines
236 B
C#
15 lines
236 B
C#
using UnityEngine;
|
|
|
|
[ExecuteInEditMode]
|
|
public class Misc_Specular : MonoBehaviour
|
|
{
|
|
private void Start()
|
|
{
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
GetComponent<Renderer>().sharedMaterial.SetVector("centerPos", base.transform.position);
|
|
}
|
|
}
|