Ejemplo n.º 1
0
        // Start
        private void Start()
        {
            // Get Rigidbody2D
            if (rigidbody2d == null)
            {
                this.rigidbody2d = GetComponent <Rigidbody2D>();
            }

            // Set Default Projectile
            this.projectile = ProjectileHandler.GetProjectile("Red");
        }