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;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
using Scampz.GameJam.Assets.Scripts;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
using Scampz.GameJam.Assets.Scripts;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
namespace Scampz.GameJam
|
||||
namespace Scampz.GameJam.Assets.Scripts
|
||||
{
|
||||
public class SingletonManager : MonoBehaviour
|
||||
{
|
||||
void Start()
|
||||
{
|
||||
GameManager.Instance.LoadScene(SceneNames.TempleA, LoadSceneMode.Additive);
|
||||
GameManager.Instance.LoadScene(SceneNames.TempleA, LoadSceneMode.Single);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Scampz.GameJam.Assets.Scripts
|
||||
{
|
||||
var sceneCount = SceneManager.sceneCount;
|
||||
var scenes = new List<Scene>();
|
||||
|
||||
|
||||
for (var i = 0; i < sceneCount; ++i)
|
||||
scenes.Add(SceneManager.GetSceneAt(i));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user