Example #1
0
    private void Start()
    {
        CharacterManager cm = CharacterManager.singleton;

        root     = GetComponent <RectTransform>();
        renderer = GetComponentInChildren <SpriteRenderer>();
        dialogue = DialogueSystem.singleton;
        dialogue.CloseChoicePanel();
        CharacterManager.singleton.characterDict.Add(characterName, cm.characters.Count);
        cm.characters.Add(this);
    }