public void OnEnable()
 {
     var trigger = target as BarkTrigger;
     if (trigger != null) {
         conversationPicker = new ConversationPicker(trigger.selectedDatabase, trigger.conversation, trigger.useConversationTitlePicker);
     }
 }
 private void InitConversationPicker()
 {
     var trigger = target as ConversationTrigger;
     if (trigger != null) {
         conversationPicker = new ConversationPicker(trigger.selectedDatabase, trigger.conversation, trigger.useConversationTitlePicker);
     }
 }
示例#3
0
        public void OnEnable()
        {
            var trigger = target as BarkTrigger;

            if (trigger != null)
            {
                conversationPicker = new ConversationPicker(trigger.selectedDatabase, trigger.conversation, trigger.useConversationTitlePicker);
            }
        }