diff --git a/Packages/icosa-api-client-unity/Editor/AssetBrowser/AssetBrowserWindow.cs b/Packages/icosa-api-client-unity/Editor/AssetBrowser/AssetBrowserWindow.cs index 07a2243..49dc87e 100644 --- a/Packages/icosa-api-client-unity/Editor/AssetBrowser/AssetBrowserWindow.cs +++ b/Packages/icosa-api-client-unity/Editor/AssetBrowser/AssetBrowserWindow.cs @@ -105,7 +105,7 @@ public class AssetBrowserWindow : EditorWindow { /// /// Texture to use for the title bar. /// - private const string TITLE_TEX = "Editor/Textures/PolyToolkitTitle.png"; + private const string TITLE_TEX = "Editor/Textures/IcosaToolkitTitle.png"; /// /// Texture to use for the back button (back arrow) if the skin is Unity pro. @@ -513,7 +513,7 @@ private void DrawBrowseUi() { guiHelper.BeginHorizontal(); GUILayout.Label("Asset type:", GUILayout.Width(LEFT_COL_WIDTH)); bool blocksToggle = GUILayout.Toggle(assetTypeFilter == PolyFormatFilter.BLOCKS, "Blocks", "Button"); - bool tiltBrushToggle = GUILayout.Toggle(assetTypeFilter == PolyFormatFilter.TILT, "Tilt Brush", "Button"); + bool tiltBrushToggle = GUILayout.Toggle(assetTypeFilter == PolyFormatFilter.TILT, "Open Brush", "Button"); bool allToggle = GUILayout.Toggle(assetTypeFilter == null, "All", "Button"); guiHelper.EndHorizontal(); GUILayout.Space(10); diff --git a/Packages/icosa-api-client-unity/Editor/AssetBrowser/WelcomeWindow.cs b/Packages/icosa-api-client-unity/Editor/AssetBrowser/WelcomeWindow.cs index a886033..2ced54f 100644 --- a/Packages/icosa-api-client-unity/Editor/AssetBrowser/WelcomeWindow.cs +++ b/Packages/icosa-api-client-unity/Editor/AssetBrowser/WelcomeWindow.cs @@ -25,17 +25,17 @@ public class WelcomeWindow : EditorWindow { /// /// Title of the window (shown in the Unity UI). /// - private const string WINDOW_TITLE = "Welcome to Poly Toolkit"; + private const string WINDOW_TITLE = "Welcome to Icosa Toolkit"; /// /// Texture to use for the welcome image. /// - private const string WELCOME_TEX = "Editor/Textures/PolyToolkitWelcome.png"; + private const string WELCOME_TEX = "Editor/Textures/IcosaToolkitWelcome.png"; /// /// URL for online documentation page. /// - private const string ONLINE_DOCUMENTATION_URL = "https://developers.google.com/poly/develop/unity"; + private const string ONLINE_DOCUMENTATION_URL = "https://api.icosa.gallery/v1/docs"; private const int DEFAULT_WIDTH = 500; private const int DEFAULT_HEIGHT = 500; @@ -87,14 +87,14 @@ public void OnGUI() { guiHelper.BeginArea(new Rect(PADDING, WELCOME_TEX_HEIGHT + PADDING, position.width - 2 * PADDING, position.height - 2 * PADDING)); - GUILayout.Label("Welcome to Poly Toolkit!", EditorStyles.boldLabel); + GUILayout.Label("Welcome to Icosa Toolkit!", EditorStyles.boldLabel); GUILayout.Label("Version: " + PtSettings.Version); GUILayout.Space(10); GUILayout.Label( - "This toolkit allows you to import assets from Poly into your project " + + "This toolkit allows you to import assets from Icosa Gallery into your project " + "at edit time and at runtime.\n\n" + - "The Poly Toolkit window was added to your editor. You can use it as a separate " + + "The Icosa Toolkit window was added to your editor. You can use it as a separate " + "window or dock like any tool window. If you close it, you can access it again " + "from the Poly menu.\n\n" + PolyInternalUtils.ATTRIBUTION_NOTICE + "\n\n" + diff --git a/Packages/icosa-api-client-unity/Editor/Textures/IcosaToolkitTitle.png b/Packages/icosa-api-client-unity/Editor/Textures/IcosaToolkitTitle.png new file mode 100644 index 0000000..4a4cfc6 Binary files /dev/null and b/Packages/icosa-api-client-unity/Editor/Textures/IcosaToolkitTitle.png differ diff --git a/Packages/icosa-api-client-unity/Editor/Textures/PolyToolkitTitle.png.meta b/Packages/icosa-api-client-unity/Editor/Textures/IcosaToolkitTitle.png.meta similarity index 100% rename from Packages/icosa-api-client-unity/Editor/Textures/PolyToolkitTitle.png.meta rename to Packages/icosa-api-client-unity/Editor/Textures/IcosaToolkitTitle.png.meta diff --git a/Packages/icosa-api-client-unity/Editor/Textures/IcosaToolkitWelcome.png b/Packages/icosa-api-client-unity/Editor/Textures/IcosaToolkitWelcome.png new file mode 100644 index 0000000..441fd76 Binary files /dev/null and b/Packages/icosa-api-client-unity/Editor/Textures/IcosaToolkitWelcome.png differ diff --git a/Packages/icosa-api-client-unity/Editor/Textures/PolyToolkitWelcome.png.meta b/Packages/icosa-api-client-unity/Editor/Textures/IcosaToolkitWelcome.png.meta similarity index 100% rename from Packages/icosa-api-client-unity/Editor/Textures/PolyToolkitWelcome.png.meta rename to Packages/icosa-api-client-unity/Editor/Textures/IcosaToolkitWelcome.png.meta diff --git a/Packages/icosa-api-client-unity/Editor/Textures/PolyToolkitTitle.png b/Packages/icosa-api-client-unity/Editor/Textures/PolyToolkitTitle.png deleted file mode 100644 index da6f0ea..0000000 Binary files a/Packages/icosa-api-client-unity/Editor/Textures/PolyToolkitTitle.png and /dev/null differ diff --git a/Packages/icosa-api-client-unity/Editor/Textures/PolyToolkitWelcome.png b/Packages/icosa-api-client-unity/Editor/Textures/PolyToolkitWelcome.png deleted file mode 100644 index 26f27a7..0000000 Binary files a/Packages/icosa-api-client-unity/Editor/Textures/PolyToolkitWelcome.png and /dev/null differ diff --git a/Packages/icosa-api-client-unity/Runtime/Internal/PolyInternalUtils.cs b/Packages/icosa-api-client-unity/Runtime/Internal/PolyInternalUtils.cs index 56e1313..37a954c 100644 --- a/Packages/icosa-api-client-unity/Runtime/Internal/PolyInternalUtils.cs +++ b/Packages/icosa-api-client-unity/Runtime/Internal/PolyInternalUtils.cs @@ -24,7 +24,7 @@ public static class PolyInternalUtils { public const string ATTRIBUTION_NOTICE = "IMPORTANT: Third-party assets are licensed through the Creative Commons license. When using any " + "third-party assets in your project, you are required to give proper attribution. For more information " + - "refer to https://goo.gl/CNVF5Z. By continuing, you agree to use assets in " + + "refer to https://creativecommons.org/share-your-work/use-remix/ By continuing, you agree to use assets in " + "accordance to their license."; /// /// Creates a singleton GameObject in a way that's appropriate for diff --git a/Packages/icosa-api-client-unity/Runtime/Scripts/PolyApi.cs b/Packages/icosa-api-client-unity/Runtime/Scripts/PolyApi.cs index 5fdd5f9..8e26b4b 100644 --- a/Packages/icosa-api-client-unity/Runtime/Scripts/PolyApi.cs +++ b/Packages/icosa-api-client-unity/Runtime/Scripts/PolyApi.cs @@ -290,9 +290,9 @@ public static void FetchThumbnail(PolyAsset asset, PolyFetchThumbnailOptions opt /// private static void CheckInitialized() { if (!initialized) { - throw new Exception("Poly Toolkit runtime API not initialized. You must have a PolyToolkitManager in your " + + throw new Exception("Icosa Toolkit runtime API not initialized. You must have a PolyToolkitManager in your " + "scene and wait until after its Awake() method runs, or explicitly call PolyApi.Init() before " + - "using Poly API methods."); + "using Icosa API methods."); } }