示例#1
0
    private BubbleDialogueUnit Create2BubbleDialogue(Transform parent, float height, long uuid)
    {
        GameObject gameObject = BubbleDialogueManager.BubbleDialoguePool.Get(string.Empty);

        gameObject.set_name(uuid.ToString());
        BubbleDialogueUnit bubbleDialogueUnit = parent.get_gameObject().AddMissingComponent <BubbleDialogueUnit>();

        bubbleDialogueUnit.AwakeSelf(gameObject.get_transform());
        this.BubbleDialogues.Add(bubbleDialogueUnit);
        bubbleDialogueUnit.set_enabled(true);
        return(bubbleDialogueUnit);
    }