// Use this for initialization void Awake() { if (dialogFile != null) { dialog = JsonUtility.FromJson <Dialog>(dialogFile.text); } tooltipOScale = interactTooltip.transform.localScale; interactTooltip.transform.localScale = Vector3.zero; ss = GetComponent <ShapeShifter>(); NPC_Source.clip = character_theme; NPC_Source.Play(); }
private void Start() { shifter = ShapeManager.Instance.CreateShape(startShape).GetComponent <ShapeShifter>(); }