change: change namespace

BREAKING CHANGE: If your code contained the SoftMask API, it would fail to compile. Please change the namespace from `Coffee.UIExtensions` to `Coffee.UISoftMask`.
vr
mob-sakai 2020-05-11 11:47:31 +09:00
parent 34515216a3
commit 0347b04fb7
10 changed files with 21 additions and 21 deletions

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
namespace Coffee.UIExtensions.Demos namespace Coffee.UISoftMask.Demos
{ {
public class SoftMask_Demo : MonoBehaviour public class SoftMask_Demo : MonoBehaviour
{ {

View File

@ -4,9 +4,9 @@ using UnityEditor.Experimental.SceneManagement;
using UnityEditor.SceneManagement; using UnityEditor.SceneManagement;
namespace Coffee.UIExtensions.Editors namespace Coffee.UISoftMask
{ {
public static class Utils public static class EditorUtils
{ {
public static void MarkPrefabDirty () public static void MarkPrefabDirty ()
{ {

View File

@ -4,9 +4,9 @@ using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using UnityEditor; using UnityEditor;
namespace Coffee.UIExtensions namespace Coffee.UISoftMask
{ {
public static class ImportSampleMenu_UISoftMask public static class ImportSampleMenu
{ {
[MenuItem("Assets/Samples/Import UISoftMask Sample")] [MenuItem("Assets/Samples/Import UISoftMask Sample")]
private static void ImportSample() private static void ImportSample()

View File

@ -5,7 +5,7 @@ using UnityEditor;
using System.Linq; using System.Linq;
namespace Coffee.UIExtensions.Editors namespace Coffee.UISoftMask
{ {
/// <summary> /// <summary>
/// SoftMask editor. /// SoftMask editor.
@ -42,7 +42,7 @@ namespace Coffee.UIExtensions.Editors
p.gameObject.AddComponent<SoftMaskable> (); p.gameObject.AddComponent<SoftMaskable> ();
} }
Utils.MarkPrefabDirty (); EditorUtils.MarkPrefabDirty ();
} }
if (GUILayout.Button ("Ping")) if (GUILayout.Button ("Ping"))
{ {

View File

@ -9,7 +9,7 @@ using Object = UnityEngine.Object;
using MaskIntr = UnityEngine.SpriteMaskInteraction; using MaskIntr = UnityEngine.SpriteMaskInteraction;
using System.IO; using System.IO;
namespace Coffee.UIExtensions.Editors namespace Coffee.UISoftMask
{ {
/// <summary> /// <summary>
/// SoftMaskable editor. /// SoftMaskable editor.
@ -244,7 +244,7 @@ namespace Coffee.UIExtensions.Editors
{ {
DestroyImmediate (current); DestroyImmediate (current);
Utils.MarkPrefabDirty (); EditorUtils.MarkPrefabDirty ();
} }
GUILayout.EndHorizontal (); GUILayout.EndHorizontal ();
} }

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
namespace Coffee.UIExtensions namespace Coffee.UISoftMask
{ {
internal static class GraphicConnectorExtension internal static class GraphicConnectorExtension
{ {

View File

@ -3,7 +3,7 @@ using System;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
namespace Coffee.UIExtensions namespace Coffee.UISoftMask
{ {
internal class MaterialCache internal class MaterialCache
{ {

View File

@ -3,7 +3,7 @@ using UnityEngine;
using UnityEngine.Rendering; using UnityEngine.Rendering;
using UnityEngine.UI; using UnityEngine.UI;
namespace Coffee.UIExtensions namespace Coffee.UISoftMask
{ {
/// <summary> /// <summary>
/// Soft mask. /// Soft mask.

View File

@ -4,7 +4,7 @@ using UnityEngine.Rendering;
using UnityEngine.UI; using UnityEngine.UI;
using MaskIntr = UnityEngine.SpriteMaskInteraction; using MaskIntr = UnityEngine.SpriteMaskInteraction;
namespace Coffee.UIExtensions namespace Coffee.UISoftMask
{ {
/// <summary> /// <summary>
/// Soft maskable. /// Soft maskable.