#pragma warning restore 0649 #if UNITY_ANDROID void Start() { if (AGShortcutManager.GetShortcutParameter(ShortcutId) != null) { _resultText.text = AGShortcutManager.GetShortcutParameter(ShortcutId); } }
public void RemoveDynamicShortcut() { var idList = new List <string> { ShortcutId }; AGShortcutManager.RemoveDynamicShortcuts(idList); }
public void EnablePinnedShortcut() { var idList = new List <string> { ShortcutId }; AGShortcutManager.EnableShortcuts(idList); }
public void DisablePinnedShortcut() { var idList = new List <string> { ShortcutId }; AGShortcutManager.DisableShortcuts(idList, "Disabled"); }
void PublishShortcut(ShortcutInfo shortcut) { var list = new List <ShortcutInfo> { shortcut }; AGShortcutManager.AddDynamicShortcuts(list); _resultText.text = shortcut.ToString(); }
public void RemoveAllDynamicShortcuts() { AGShortcutManager.RemoveAllDynamicShortcuts(); }
public void CreatePinnedShortcut() { AGShortcutManager.RequestPinShortcut(CreateDocsShortcut()); }