Checkpoints & movement

This commit is contained in:
OMGeeky
2022-05-23 19:06:14 +02:00
parent fc47e7d8f4
commit d14d23594e
71 changed files with 298792 additions and 3438 deletions

View File

@@ -0,0 +1,14 @@
using UnityEngine;
public class DissolveSample : MonoBehaviour {
private Material material;
private void Start() {
material = GetComponent<Renderer>().material;
}
private void Update() {
material.SetFloat("_DissolveAmount", Mathf.Sin(Time.time) / 2 + 0.5f);
}
}