public void GivePet() { refereces.GetComponent <ReferencesScript>().pet = Instantiate(petPrefab, petInstantiatePos.position, petInstantiatePos.rotation); dialogueBox.SetActive(false); character.GetComponent <PlayerMovement>().Unlock(); pISys.Unlock(); }
void UnlockCharacter() { pMov.Unlock(); pISys.Unlock(); }