Format code
This commit is contained in:
@@ -1,21 +1,8 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Scampz.GameJam
|
||||
{
|
||||
public class AudioPlayer : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
public class AudioPlayer : MonoBehaviour
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Scampz.GameJam.Assets.Scripts
|
||||
public class BGMManager : MonoBehaviour
|
||||
{
|
||||
public static BGMManager Instance { get; private set; }
|
||||
|
||||
|
||||
[SerializeField]
|
||||
private AudioSource audioSource;
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace Scampz.GameJam
|
||||
private AudioClip GetAudioClip()
|
||||
{
|
||||
var terrainType = TerrainTypeFinder.Find();
|
||||
switch(terrainType)
|
||||
switch (terrainType)
|
||||
{
|
||||
case TerrainType.Grass:
|
||||
return grassStep;
|
||||
|
||||
Reference in New Issue
Block a user