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); } }