From 1b789e24885247dd864999be23fec59f1a23d15b Mon Sep 17 00:00:00 2001 From: godzzz Date: Sun, 5 May 2024 22:30:31 +0400 Subject: [PATCH] [v0.0.14] Icons updated --- Runtime/Clip/UnityAudioClip.cs | 1 + Runtime/Clip/UnityAudioClip.cs.meta | 11 +++++------ Runtime/Parameter/PositionParameter.cs | 7 ++++++- package.json | 2 +- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/Runtime/Clip/UnityAudioClip.cs b/Runtime/Clip/UnityAudioClip.cs index 1ab31be..f3cc73a 100644 --- a/Runtime/Clip/UnityAudioClip.cs +++ b/Runtime/Clip/UnityAudioClip.cs @@ -8,6 +8,7 @@ namespace Depra.Sound.Clip { [Serializable] + [SerializeReferenceIcon("d_AudioClip Icon")] [SerializeReferenceMenuPath(nameof(UnityAudioClip))] public sealed class UnityAudioClip : IAudioClip { diff --git a/Runtime/Clip/UnityAudioClip.cs.meta b/Runtime/Clip/UnityAudioClip.cs.meta index 5921145..8888124 100644 --- a/Runtime/Clip/UnityAudioClip.cs.meta +++ b/Runtime/Clip/UnityAudioClip.cs.meta @@ -1,12 +1,11 @@ -fileFormatVersion: 2 +fileFormatVersion: 2 guid: d43280202c0b4302ad600bed89c64b37 -timeCreated: 1711752398 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 - icon: {fileID: 6209032750877799845, guid: 0000000000000000d000000000000000, type: 0} - userData: - assetBundleName: - assetBundleVariant: \ No newline at end of file + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Runtime/Parameter/PositionParameter.cs b/Runtime/Parameter/PositionParameter.cs index bf41d58..f1d2bed 100644 --- a/Runtime/Parameter/PositionParameter.cs +++ b/Runtime/Parameter/PositionParameter.cs @@ -1,9 +1,14 @@ -using System; +// SPDX-License-Identifier: Apache-2.0 +// © 2024 Nikolay Melnikov + +using System; +using Depra.SerializeReference.Extensions; using UnityEngine; namespace Depra.Sound.Parameter { [Serializable] + [SerializeReferenceIcon("d_Transform Icon")] public struct PositionParameter : IAudioClipParameter { public Vector3 Value; diff --git a/package.json b/package.json index 8f74019..77b35ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.depra.sound.unity", - "version": "0.0.13", + "version": "0.0.14", "displayName": "Depra.Sound", "description": "", "unity": "2021.3",