Smal fixes + cloud/smoke texture

This commit is contained in:
Richard Ott committed 2018-09-01 19:27:39 +02:00
1 parent c073f272f6
commit 00fa478ca7
7 files changed
+268 -5

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ public class LightLurch : MonoBehaviour {
lurchRenderer.material.SetColor("_EmissionColor", lightSource.color * (emissionMultiplier * emissionValue));
emissionValue = baseEmission;
lurchRenderer.material.EnableKeyword("_EMISSION");
lightSource.enabled = true;
}
// Update is called once per frame
+1 -1
View File
@@ -31,7 +31,7 @@ public class MateMate : MonoBehaviour {
other.transform.root.GetComponentInChildren<LurchMovement>().canGlide = true;
if(mateGlow)
//other.transform.root.GetComponentInChildren<LurchMovement>().canGlide = true;
other.transform.root.GetComponentInChildren<LightLurch>().enabled = true;
cutscene.SetActive(true);
}