Smal fixes + cloud/smoke texture
This commit is contained in:
@@ -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