コード例 #1
0
    // Use this for initialization
    void Start()
    {
        LTextGroup textGroup = JsonUtility.FromJson <LTextGroup>(Resources.Load <TextAsset>("Texting/Example").text);

        Debug.Log(textGroup.Count);
        Debug.Log(textGroup[0].Body);
    }
コード例 #2
0
 public bool TryGetConversation(string conversationName, out LTextGroup conversation)
 {
     return(allConversations.TryGetValue(conversationName, out conversation));
 }