Beispiel #1
0
 public void Init(ConversationBubData conversationBub = null)
 {
     isInited             = true;
     this.conversationBub = conversationBub;
     if (this.conversationBub == null)
     {
         this.conversationBub = new ConversationBubData();
     }
 }
Beispiel #2
0
    void Start()
    {
        charSpriteDict = new Dictionary <Character, Sprite>()
        {
            { Character.MOTHER, mother },
            { Character.FATHER, father },
            { Character.BROTHER, brother },
            { Character.SISTER, sister },
            { Character.GRANDMA, grandma },
        };

        conversationBubData = GetComponent <ConversationBubUI>().conversationBub;
    }