mirror of
https://github.com/ConjureETS/Unity_Utils.git
synced 2026-03-25 13:30:58 +00:00
Added meta files and remove bad namespaces
Will add better namespaces later
This commit is contained in:
parent
ddd8e232a7
commit
49d2952bf8
8
Attributes.meta
Normal file
8
Attributes.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 618d1e8b8a58df14e81833e4c4623513
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
11
Attributes/MinMaxRangeAttribute.cs.meta
Normal file
11
Attributes/MinMaxRangeAttribute.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4996055a108bf1a40825fd570adfb82f
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
CustomTypes.meta
Normal file
8
CustomTypes.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 96bace79d06c3784ca7aad8ca4779faa
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -1,11 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Util.CustomTypes
|
|
||||||
{
|
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public struct RangedFloat
|
public struct RangedFloat
|
||||||
{
|
{
|
||||||
public float minValue;
|
public float minValue;
|
||||||
public float maxValue;
|
public float maxValue;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
11
CustomTypes/RangedFloat.cs.meta
Normal file
11
CustomTypes/RangedFloat.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c4aefb8a410bcae4a88de6f72ae1c873
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Editor.meta
Normal file
8
Editor.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1d1f2b5d5f1ea2d4ba6ac94a6adedf10
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Editor/CustomInspectors.meta
Normal file
8
Editor/CustomInspectors.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bcaa3a57881b3d14fa27f5f5a72f5277
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -1,11 +1,8 @@
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Util.ScriptableObjects.Audio;
|
|
||||||
|
|
||||||
namespace Editor.customInspector
|
|
||||||
{
|
|
||||||
[CustomEditor(typeof(AudioEvent), true)]
|
[CustomEditor(typeof(AudioEvent), true)]
|
||||||
public class AudioEventInspector : UnityEditor.Editor
|
public class AudioEventInspector : Editor
|
||||||
{
|
{
|
||||||
[SerializeField] private AudioSource audioSource;
|
[SerializeField] private AudioSource audioSource;
|
||||||
|
|
||||||
@ -35,4 +32,3 @@ namespace Editor.customInspector
|
|||||||
EditorGUI.EndDisabledGroup();
|
EditorGUI.EndDisabledGroup();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
11
Editor/CustomInspectors/AudioEventInspector.cs.meta
Normal file
11
Editor/CustomInspectors/AudioEventInspector.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2bc328582b298304f957056327d58af5
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Editor/PropertyDrawers.meta
Normal file
8
Editor/PropertyDrawers.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 80c222b09cde6a24aa82c866ad1e378a
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -1,11 +1,8 @@
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Util.CustomTypes;
|
|
||||||
|
|
||||||
namespace Editor.PropertyDrawer
|
|
||||||
{
|
|
||||||
[CustomPropertyDrawer(typeof(RangedFloat), true)]
|
[CustomPropertyDrawer(typeof(RangedFloat), true)]
|
||||||
public class RangedFloatDrawer : UnityEditor.PropertyDrawer
|
public class RangedFloatDrawer : PropertyDrawer
|
||||||
{
|
{
|
||||||
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
|
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
|
||||||
{
|
{
|
||||||
@ -51,4 +48,3 @@ namespace Editor.PropertyDrawer
|
|||||||
EditorGUI.EndProperty();
|
EditorGUI.EndProperty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
11
Editor/PropertyDrawers/RangedFloatDrawer.cs.meta
Normal file
11
Editor/PropertyDrawers/RangedFloatDrawer.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a5716b352e7c6fb48898f9a0f4e70e7e
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
ScriptableObjects.meta
Normal file
8
ScriptableObjects.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f6055e6a38ee2e14d96512a8d53b25c5
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
ScriptableObjects/Audio.meta
Normal file
8
ScriptableObjects/Audio.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f03ec7c8000ddc74c9884e0365fcd76a
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -1,9 +1,6 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Util.ScriptableObjects.Audio
|
|
||||||
{
|
|
||||||
public abstract class AudioEvent : ScriptableObject
|
public abstract class AudioEvent : ScriptableObject
|
||||||
{
|
{
|
||||||
public abstract void Play(AudioSource source);
|
public abstract void Play(AudioSource source);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
11
ScriptableObjects/Audio/AudioEvent.cs.meta
Normal file
11
ScriptableObjects/Audio/AudioEvent.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 44f3003e434a4ee45b919288a52a9091
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -1,8 +1,5 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Util.CustomTypes;
|
|
||||||
|
|
||||||
namespace Util.ScriptableObjects.Audio
|
|
||||||
{
|
|
||||||
[CreateAssetMenu(menuName = "ScriptableObject/SimpleAudioEvent")]
|
[CreateAssetMenu(menuName = "ScriptableObject/SimpleAudioEvent")]
|
||||||
public class SimpleAudioEvent : AudioEvent
|
public class SimpleAudioEvent : AudioEvent
|
||||||
{
|
{
|
||||||
@ -21,4 +18,3 @@ namespace Util.ScriptableObjects.Audio
|
|||||||
source.Play();
|
source.Play();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
11
ScriptableObjects/Audio/SimpleAudioEvent.cs.meta
Normal file
11
ScriptableObjects/Audio/SimpleAudioEvent.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5a516b45b8d44414186cecdcb04aa13c
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
UI.meta
Normal file
8
UI.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 06ceabc78e09fb1449cafe1c18edc376
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
UI/Components.meta
Normal file
8
UI/Components.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 81610042ba9649c478290c75afdd4aa6
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
11
UI/Components/ComponentBase.cs.meta
Normal file
11
UI/Components/ComponentBase.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 05f1837e06532924aae74834640813db
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
11
UI/Components/SliderComponent.cs.meta
Normal file
11
UI/Components/SliderComponent.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 87e3dcb517633be41a50388dccb8453e
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
11
UI/Components/TextComponent.cs.meta
Normal file
11
UI/Components/TextComponent.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f98198e52cc782f419cbdc72e5da0149
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Utils.meta
Normal file
8
Utils.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5edd6f06f0aa9d24fb11166e78450390
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -1,8 +1,6 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Util
|
|
||||||
{
|
|
||||||
public class ObjectPool<T> where T : Object
|
public class ObjectPool<T> where T : Object
|
||||||
{
|
{
|
||||||
private readonly Queue<T> _pool;
|
private readonly Queue<T> _pool;
|
||||||
@ -45,4 +43,3 @@ namespace Util
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
11
Utils/ObjectPool.cs.meta
Normal file
11
Utils/ObjectPool.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0279835920dc21e4bb18443d24dbcd81
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Loading…
x
Reference in New Issue
Block a user