Danro/Assets/Scripts/Utilities/DebugSettings.cs
Danil Iarosh 5bafc385da feat(audio): increase SFX pool size and preload audio data
- 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
2025-10-30 16:39:15 +03:00

15 lines
375 B
C#

using UnityEngine;
using RR.Game2D.Core.Managers;
public class DebugSettings : MonoBehaviour
{
[SerializeField] private int livesCount = 99;
[SerializeField] private int coinsCount;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
GameManager.Instance.Lives = livesCount;
}
}