- Increased SFX pool size from 8 to 16 in AudioManager - Enabled preloadAudioData for multiple SFX files - Removed unused VisualScripting import from Checkpoint script - Reordered using statements in several scripts for consistency - Added CoinCollectible component to Coin prefab with pickup effects - Updated sorting layers and mesh LOD settings in Coin prefabs - Fixed typo in Interfaces.cs: optionaAttachPoint to optionalAttachPoint - Modified AddCoin method to accept count parameter and handle coin overflow - Moved projectile scripts (BasicProjectile, EnemyBasicProjectile, PhysicsProjectile, PickableProjectile) - Cleaned up unused namespaces and imports across various scripts
23 lines
558 B
C#
23 lines
558 B
C#
using UnityEditor;
|
|
using UnityEngine.UIElements;
|
|
|
|
using RR.Common.Controllers;
|
|
|
|
[CustomEditor(typeof(MusicController))]
|
|
public class MusicController_Inspector : Editor
|
|
{
|
|
public VisualTreeAsset m_InspectorUXML;
|
|
|
|
public override VisualElement CreateInspectorGUI()
|
|
{
|
|
VisualElement customInspector = new VisualElement();
|
|
|
|
if (m_InspectorUXML != null)
|
|
{
|
|
VisualElement uxmlContent = m_InspectorUXML.CloneTree();
|
|
customInspector.Add(uxmlContent);
|
|
}
|
|
|
|
return customInspector;
|
|
}
|
|
} |