From 44702c097e7ec124bee5974275f76d3ecc2db82f Mon Sep 17 00:00:00 2001 From: Rimuru Date: Sun, 20 Aug 2023 12:36:57 +0300 Subject: [PATCH] Added TODO List --- .../Codebase/Runtime/EntryPoint/AudioClipEnableHelper.cs" | 5 ++++- .../Intenal/Codebase/Runtime/EntryPoint/Bootstrupper.cs" | 3 +++ .../Intenal/Codebase/Runtime/EntryPoint/CallController.cs" | 6 +++++- .../Assets/Intenal/Codebase/Runtime/Storages/Storage.cs" | 5 ++++- .../Assets/Plugins/Audio/Core/SourceAudio.cs" | 2 +- 5 files changed, 17 insertions(+), 4 deletions(-) diff --git "a/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/AudioClipEnableHelper.cs" "b/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/AudioClipEnableHelper.cs" index dbb9017..c882724 100644 --- "a/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/AudioClipEnableHelper.cs" +++ "b/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/AudioClipEnableHelper.cs" @@ -1,4 +1,7 @@ -using RimuruDev.Plugins.Audio.Core; + +// TODO: Remove this component + +using RimuruDev.Plugins.Audio.Core; using UnityEngine; // using System.Collections.Generic; diff --git "a/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/Bootstrupper.cs" "b/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/Bootstrupper.cs" index 2652ab9..832b93a 100644 --- "a/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/Bootstrupper.cs" +++ "b/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/Bootstrupper.cs" @@ -1,3 +1,6 @@ + +// TODO: Избавиться от магических числе и делегировать подписку отписку в другой класс. + using System; using System.Collections.Generic; using UnityEngine; diff --git "a/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/CallController.cs" "b/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/CallController.cs" index 7cac176..bdf5b65 100644 --- "a/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/CallController.cs" +++ "b/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/EntryPoint/CallController.cs" @@ -1,4 +1,8 @@ -using System.Collections.Generic; + + +// TODO: Избавиться от MonoBehaviour, разделить класс. + +using System.Collections.Generic; using System.Linq; using RimuruDev.Plugins.Audio.Core; using UnityEngine; diff --git "a/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/Storages/Storage.cs" "b/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/Storages/Storage.cs" index 4eb1f49..7ad0393 100644 --- "a/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/Storages/Storage.cs" +++ "b/\320\241allToDurka/Assets/Intenal/Codebase/Runtime/Storages/Storage.cs" @@ -1,4 +1,7 @@ -using System; + +// TODO: Remove this component + +using System; namespace RimuruDev.Intenal.Codebase.Runtime.Storages { diff --git "a/\320\241allToDurka/Assets/Plugins/Audio/Core/SourceAudio.cs" "b/\320\241allToDurka/Assets/Plugins/Audio/Core/SourceAudio.cs" index 868b53c..0b1efc9 100644 --- "a/\320\241allToDurka/Assets/Plugins/Audio/Core/SourceAudio.cs" +++ "b/\320\241allToDurka/Assets/Plugins/Audio/Core/SourceAudio.cs" @@ -28,7 +28,7 @@ public float Pitch public bool IsPlaying => _audioSource.isPlaying; - public AudioSource _audioSource + private AudioSource _audioSource { get {