private void OnTriggerEnter(Collider other) { if (other.tag == "Dog") { DogAttributes attr = other.GetComponent <DogAttributes>(); if (attr.heldSkull == Skulls.Jacques) { MessageSystem.GetInstance().StartDialogue(text); SwitchControl.HumanHasSkull = true; attr.heldSkull = Skulls.None; } } }
private void Start() { Instance = this; }