コード例 #1
0
ファイル: MenuDialogList.cs プロジェクト: katuokite/TTLY
 /**
  * <summary>Gets a ButtonDialog data-container class for a dialogue option within the active Conversation</summary>
  * <param name = "slotIndex">The element's slot index number associated with the dialogue option</param>
  * <returns>The ButtonDialog data-container class for a dialogue option within the active Conversation</returns>
  */
 public ButtonDialog GetDialogueOption(int slotIndex)
 {
     slotIndex += offset;
     if (linkedConversation)
     {
         return(linkedConversation.GetOption(slotIndex));
     }
     return(null);
 }