Removed name from namespaces.
This commit is contained in:
parent
c2bd33729a
commit
b0ba9167cf
@ -1,7 +1,7 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
[CustomEditor(typeof(EventManager), true)]
|
||||
public class EventManagerEditor : Editor
|
||||
|
@ -2,7 +2,7 @@ using System.IO;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
public class PackgeUpdater
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
[CustomPropertyDrawer(typeof(ReadOnlyFieldAttribute))]
|
||||
public class ReadOnlyFieldDrawer : PropertyDrawer
|
||||
|
@ -1,7 +1,7 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
public class ReflectionProbeVolumeEditor : MonoBehaviour
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
[InitializeOnLoad]
|
||||
public static class SceneViewRotation
|
||||
|
@ -1,6 +1,4 @@
|
||||
using System;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
public static class ArrayExtensions
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
[CustomEditor(typeof(MonoBehaviour), true)]
|
||||
public class DefaultMonoBehaviourEditor : Editor
|
||||
@ -22,7 +22,9 @@ namespace Agoxandr.Utils
|
||||
EditorGUI.BeginChangeCheck();
|
||||
DrawPropertiesExcluding(serializedObject, "m_Script");
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
[CustomEditor(typeof(ScriptableObject), true)]
|
||||
public class DefaultScriptableObjectEditor : Editor
|
||||
|
@ -1,6 +1,6 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
public class EventManager : MonoBehaviour
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
||||
public sealed class HideScriptField : Attribute { }
|
||||
|
@ -1,5 +1,6 @@
|
||||
using UnityEngine;
|
||||
namespace Agoxandr.Utils
|
||||
|
||||
namespace Utils
|
||||
{
|
||||
public class ReadOnlyFieldAttribute : PropertyAttribute { }
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
using System.Diagnostics;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
public class ReflectionProbeVolume : MonoBehaviour
|
||||
{
|
||||
|
@ -1,23 +1,6 @@
|
||||
// https://garry.tv/timesince
|
||||
|
||||
//TimeSince ts;
|
||||
|
||||
//void Start()
|
||||
//{
|
||||
// ts = 0;
|
||||
//}
|
||||
|
||||
//void Update()
|
||||
//{
|
||||
// if (ts > 10)
|
||||
// {
|
||||
// DoSomethingAfterTenSeconds();
|
||||
// }
|
||||
//}
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
public struct TimeSince
|
||||
{
|
||||
@ -34,3 +17,20 @@ namespace Agoxandr.Utils
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// https://garry.tv/timesince
|
||||
|
||||
//TimeSince ts;
|
||||
|
||||
//void Start()
|
||||
//{
|
||||
// ts = 0;
|
||||
//}
|
||||
|
||||
//void Update()
|
||||
//{
|
||||
// if (ts > 10)
|
||||
// {
|
||||
// DoSomethingAfterTenSeconds();
|
||||
// }
|
||||
//}
|
||||
|
11
package.json
11
package.json
@ -1,16 +1,15 @@
|
||||
{
|
||||
"name": "de.agoxandr.utils",
|
||||
"version": "2.7.1",
|
||||
"name": "cyou.shazbot.utils",
|
||||
"version": "3.0.0",
|
||||
"displayName": "Utils",
|
||||
"description": "Utility useful for almost any project.",
|
||||
"licensesUrl": "https://github.com/Agoxandr/Utils/blob/master/LICENSE.md",
|
||||
"keywords": [
|
||||
"utility",
|
||||
"utils",
|
||||
"agoxandr"
|
||||
"utility"
|
||||
],
|
||||
"author": {
|
||||
"name": "Alexander Filippov",
|
||||
"email": "agoxandr@gmail.com"
|
||||
"email": "a.filippov@shazbot.cyou",
|
||||
"url": "https://shazbot.cyou/"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user