This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
namespace Enemies | |
{ | |
public class MoveAroundPlatform : MonoBehaviour | |
{ | |
[SerializeField] private float moveSpeed; | |
[SerializeField] private Transform[] wayPoints; | |
[SerializeField] public int index; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class AudioManager : MonoBehaviour | |
{ | |
private static AudioManager _instance; | |
public Sound[] sounds; | |
private readonly Dictionary<string, Sound> _soundDictionary = new Dictionary<string, Sound>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
public class GhostEffect : MonoBehaviour | |
{ | |
[SerializeField] private GameObject ghostModel; | |
private GameObject _ghostModelWithMaterial; | |
[SerializeField] private GameObject ghostParent; | |
public float ghostDistance; | |
public Material ghostMaterial; |