wip: HouseOfLeaves
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class SandController : MonoBehaviour
|
||||
{
|
||||
public Renderer SandRenderer;
|
||||
public float Duration = 15;
|
||||
|
||||
void Update()
|
||||
{
|
||||
SandRenderer.material.SetFloat("_Progression", Time.timeSinceLevelLoad / Duration);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user