public void ShowOperation(OperationConfig config) { if (javaSupport != null && currentActivity != null) { javaSupport.CallStatic("showOperation", getOperationConfig(config)); } }
public void ShowOperation(OperationConfig config) { if (!IsHelpCorePrepared()) { return; } helpCore.ShowOperation(config); }
private AndroidJavaObject getOperationConfig(OperationConfig config) { AndroidJavaObject builder = new AndroidJavaObject("net.aihelp.config.OperationConfig$Builder"); builder.Call <AndroidJavaObject>("setSelectIndex", config.GetSelectIndex()); builder.Call <AndroidJavaObject>("setConversationTitle", config.GetConversationTitle()); builder.Call <AndroidJavaObject>("setConversationConfig", getSupportConfig(config.GetConversationConfig())); return(builder.Call <AndroidJavaObject>("build")); }
public void ShowOperation(OperationConfig config) { unity_showOperationConfig(config.GetSelectIndex(), config.GetConversationTitle(), config.GetConversationConfig().GetConversationIntent(), config.GetConversationConfig().IsAlwaysShowHumanSupportButtonInBotPage(), config.GetConversationConfig().GetStoryNode(), config.GetConversationConfig().GetWelcomeMessage()); }
public static void ShowOperation(OperationConfig config) { AIHelpCore.getInstance().ShowOperation(config); }