private void Awake() { if (instance && instance != this) { Destroy(this.gameObject); return; } else { instance = this; } }
private void LoadHealthbar() { _healtbar = gameObject.GetComponentInChildren <Healtbar>(); }