Removed name from namespaces.
This commit is contained in:
parent
c2bd33729a
commit
b0ba9167cf
@ -1,7 +1,7 @@
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
[CustomEditor(typeof(EventManager), true)]
|
[CustomEditor(typeof(EventManager), true)]
|
||||||
public class EventManagerEditor : Editor
|
public class EventManagerEditor : Editor
|
||||||
|
@ -2,7 +2,7 @@ using System.IO;
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
public class PackgeUpdater
|
public class PackgeUpdater
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
[CustomPropertyDrawer(typeof(ReadOnlyFieldAttribute))]
|
[CustomPropertyDrawer(typeof(ReadOnlyFieldAttribute))]
|
||||||
public class ReadOnlyFieldDrawer : PropertyDrawer
|
public class ReadOnlyFieldDrawer : PropertyDrawer
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
public class ReflectionProbeVolumeEditor : MonoBehaviour
|
public class ReflectionProbeVolumeEditor : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
[InitializeOnLoad]
|
[InitializeOnLoad]
|
||||||
public static class SceneViewRotation
|
public static class SceneViewRotation
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
using System;
|
namespace Utils
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
|
||||||
{
|
{
|
||||||
public static class ArrayExtensions
|
public static class ArrayExtensions
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
[CustomEditor(typeof(MonoBehaviour), true)]
|
[CustomEditor(typeof(MonoBehaviour), true)]
|
||||||
public class DefaultMonoBehaviourEditor : Editor
|
public class DefaultMonoBehaviourEditor : Editor
|
||||||
@ -22,7 +22,9 @@ namespace Agoxandr.Utils
|
|||||||
EditorGUI.BeginChangeCheck();
|
EditorGUI.BeginChangeCheck();
|
||||||
DrawPropertiesExcluding(serializedObject, "m_Script");
|
DrawPropertiesExcluding(serializedObject, "m_Script");
|
||||||
if (EditorGUI.EndChangeCheck())
|
if (EditorGUI.EndChangeCheck())
|
||||||
|
{
|
||||||
serializedObject.ApplyModifiedProperties();
|
serializedObject.ApplyModifiedProperties();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
[CustomEditor(typeof(ScriptableObject), true)]
|
[CustomEditor(typeof(ScriptableObject), true)]
|
||||||
public class DefaultScriptableObjectEditor : Editor
|
public class DefaultScriptableObjectEditor : Editor
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
public class EventManager : MonoBehaviour
|
public class EventManager : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
||||||
public sealed class HideScriptField : Attribute { }
|
public sealed class HideScriptField : Attribute { }
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
namespace Agoxandr.Utils
|
|
||||||
|
namespace Utils
|
||||||
{
|
{
|
||||||
public class ReadOnlyFieldAttribute : PropertyAttribute { }
|
public class ReadOnlyFieldAttribute : PropertyAttribute { }
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
public class ReflectionProbeVolume : MonoBehaviour
|
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;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Agoxandr.Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
public struct TimeSince
|
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",
|
"name": "cyou.shazbot.utils",
|
||||||
"version": "2.7.1",
|
"version": "3.0.0",
|
||||||
"displayName": "Utils",
|
"displayName": "Utils",
|
||||||
"description": "Utility useful for almost any project.",
|
"description": "Utility useful for almost any project.",
|
||||||
"licensesUrl": "https://github.com/Agoxandr/Utils/blob/master/LICENSE.md",
|
"licensesUrl": "https://github.com/Agoxandr/Utils/blob/master/LICENSE.md",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"utility",
|
"utility"
|
||||||
"utils",
|
|
||||||
"agoxandr"
|
|
||||||
],
|
],
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Alexander Filippov",
|
"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