Removed name from namespaces.

This commit is contained in:
Alexander Filippov 2021-08-16 04:45:10 +02:00
parent c2bd33729a
commit b0ba9167cf
18 changed files with 39 additions and 39 deletions

View File

@ -1,7 +1,7 @@
using UnityEditor;
using UnityEngine;
namespace Agoxandr.Utils
namespace Utils
{
[CustomEditor(typeof(EventManager), true)]
public class EventManagerEditor : Editor

View File

@ -2,7 +2,7 @@ using System.IO;
using UnityEditor;
using UnityEngine;
namespace Agoxandr.Utils
namespace Utils
{
public class PackgeUpdater
{

View File

@ -1,7 +1,7 @@
using UnityEditor;
using UnityEngine;
namespace Agoxandr.Utils
namespace Utils
{
[CustomPropertyDrawer(typeof(ReadOnlyFieldAttribute))]
public class ReadOnlyFieldDrawer : PropertyDrawer

View File

@ -1,7 +1,7 @@
using UnityEditor;
using UnityEngine;
namespace Agoxandr.Utils
namespace Utils
{
public class ReflectionProbeVolumeEditor : MonoBehaviour
{

View File

@ -1,7 +1,7 @@
using UnityEditor;
using UnityEngine;
namespace Agoxandr.Utils
namespace Utils
{
[InitializeOnLoad]
public static class SceneViewRotation

View File

@ -1,6 +1,4 @@
using System;
namespace Agoxandr.Utils
namespace Utils
{
public static class ArrayExtensions
{

View File

@ -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
{

View File

@ -2,7 +2,7 @@
using UnityEditor;
using UnityEngine;
namespace Agoxandr.Utils
namespace Utils
{
[CustomEditor(typeof(ScriptableObject), true)]
public class DefaultScriptableObjectEditor : Editor

View File

@ -1,6 +1,6 @@
using UnityEngine;
namespace Agoxandr.Utils
namespace Utils
{
public class EventManager : MonoBehaviour
{

View File

@ -1,6 +1,6 @@
using System;
namespace Agoxandr.Utils
namespace Utils
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class HideScriptField : Attribute { }

View File

@ -1,5 +1,6 @@
using UnityEngine;
namespace Agoxandr.Utils
namespace Utils
{
public class ReadOnlyFieldAttribute : PropertyAttribute { }
}

View File

@ -1,7 +1,7 @@
using System.Diagnostics;
using UnityEngine;
namespace Agoxandr.Utils
namespace Utils
{
public class ReflectionProbeVolume : MonoBehaviour
{

View File

@ -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();
// }
//}

View File

@ -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/"
}
}