private new void Awake() { base.Awake(); // Scripts _samusState = GetComponent <SamusState>(); if (_samusState == null) { Debug.LogError("SamusState Script not found!"); return; } _samusInput = GetComponent <SamusInput>(); if (_samusInput == null) { Debug.LogError("SamusInput Script not found!"); return; } _samusAudio = GetComponent <SamusAudio>(); if (_samusAudio == null) { Debug.LogError("SamusAudio Script not found!"); return; } }
private void Awake() { _samusState = GetComponent <SamusState>(); if (_samusState == null) { Debug.LogError("SamusState Script not found!"); return; } _samusAudio = GetComponent <SamusAudio>(); if (_samusAudio == null) { Debug.LogError("SamusAudio Script not found!"); return; } }