Added demon heads when drinking.
This commit is contained in:
parent
ee6f44b22b
commit
8952b95ec5
15 changed files with 1242 additions and 715 deletions
|
|
@ -3,6 +3,7 @@ using System.Collections;
|
|||
|
||||
public class Patron : MonoBehaviour {
|
||||
public Renderer characterSprite;
|
||||
public Renderer demonHead;
|
||||
public AudioClip demonDeath;
|
||||
public AudioClip patronDeath;
|
||||
|
||||
|
|
@ -39,6 +40,7 @@ public class Patron : MonoBehaviour {
|
|||
|
||||
if (other.tag == "VVAura" && isDemon) {
|
||||
characterSprite.renderer.material.color = Color.red;
|
||||
demonHead.renderer.enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue