Ejemplo n.º 1
0
    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;
            }
        }
    }
Ejemplo n.º 2
0
 private void Start()
 {
     Instance = this;
 }
Ejemplo n.º 3
0
 private void Start()
 {
     Instance = this;
 }