// Start is called before the first frame update void Start() { // Get Components rBody = GetComponent <Rigidbody2D>(); playerRigidbody = GameObject.Find("Player").GetComponent <Rigidbody2D>(); wc = GetComponent <WraithController>(); }
// Start is called before the first frame update void Start() { // Fill Health health = maxHealth; // Get Components rBody = GetComponent <Rigidbody2D>(); wc = GetComponent <WraithController>(); wa = GetComponent <WraithAttack>(); }
// Start is called before the first frame update void Start() { // Get Components rBody = GetComponent <Rigidbody2D>(); wc = GetComponent <WraithController>(); }