Smal fixes + cloud/smoke texture
This commit is contained in:
1 parent
c073f272f6
commit
00fa478ca7
7 files changed
+268
-5
No files matched your search
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user