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.UI;
namespace Coffee.UIExtensions.Demos
namespace Coffee.UISoftMask.Demos
{
public class SoftMask_Demo : MonoBehaviour
{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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