// Start private void Start() { // Get Rigidbody2D if (rigidbody2d == null) { this.rigidbody2d = GetComponent <Rigidbody2D>(); } // Set Default Projectile this.projectile = ProjectileHandler.GetProjectile("Red"); }
// Start private void Start() { // Get Rigidbody2D if (rigidbody2d == null) { this.rigidbody2d = GetComponent <Rigidbody2D>(); } // Set Default Projectile this.projectile = ProjectileHandler.GetProjectile("Red"); }