released on steam, adding genedrive
This commit is contained in:
1 parent
d36158bc48
commit
373baed62b
42 files changed
+5905
-318
No files matched your search
@@ -0,0 +1,26 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class LuigiBinder : MonoBehaviour {
|
||||
public Material material;
|
||||
|
||||
private void Start() {
|
||||
if (material == null) {
|
||||
Debug.Log("Material Binder needs a Material.");
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdateWildness(Slider s) {
|
||||
material.SetFloat("_Wildness", s.value);
|
||||
}
|
||||
|
||||
public void UpdateZoom(Slider s) {
|
||||
material.SetFloat("_Zoom", s.value);
|
||||
}
|
||||
|
||||
public void UpdateBrightness(Slider s) {
|
||||
material.SetFloat("_Brightness", s.value);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user