Removed name from namespaces.
This commit is contained in:
@ -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,7 +1,7 @@
|
||||
using System;
|
||||
|
||||
namespace Agoxandr.Utils
|
||||
namespace Utils
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
||||
public sealed class HideScriptField : Attribute { }
|
||||
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();
|
||||
// }
|
||||
//}
|
||||
|
Reference in New Issue
Block a user