void Awake() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(gameObject); } gameStarted = false; _source = GetComponent <AudioSource>(); initialPosition = transform.position; initialRotation = transform.rotation; }
//[Inject] KnifeManager knifeManager; // Use this for initialization void Start() { knifeMover = GetComponent <KnifeMover>(); knifeState = GetComponent <KnifeState>(); }