private void Start() { _hpController = gameObject.GetComponent <HPController>(); _sprite = gameObject.GetComponent <SpriteRenderer>(); _collider = gameObject.GetComponent <Collider2D>(); }
private void Start() { _hpController = gameObject.GetComponent <HPController>(); }