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
parent
34515216a3
commit
0347b04fb7
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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 ()
|
||||
{
|
|
@ -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()
|
||||
|
|
|
@ -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"))
|
||||
{
|
||||
|
|
|
@ -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 ();
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Coffee.UIExtensions
|
||||
namespace Coffee.UISoftMask
|
||||
{
|
||||
internal static class GraphicConnectorExtension
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ using System;
|
|||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Coffee.UIExtensions
|
||||
namespace Coffee.UISoftMask
|
||||
{
|
||||
internal class MaterialCache
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ using UnityEngine;
|
|||
using UnityEngine.Rendering;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Coffee.UIExtensions
|
||||
namespace Coffee.UISoftMask
|
||||
{
|
||||
/// <summary>
|
||||
/// Soft mask.
|
||||
|
|
|
@ -4,7 +4,7 @@ using UnityEngine.Rendering;
|
|||
using UnityEngine.UI;
|
||||
using MaskIntr = UnityEngine.SpriteMaskInteraction;
|
||||
|
||||
namespace Coffee.UIExtensions
|
||||
namespace Coffee.UISoftMask
|
||||
{
|
||||
/// <summary>
|
||||
/// Soft maskable.
|
||||
|
|
Loading…
Reference in New Issue