public void Init(ConversationBubData conversationBub = null) { isInited = true; this.conversationBub = conversationBub; if (this.conversationBub == null) { this.conversationBub = new ConversationBubData(); } }
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; }