// Start is called before the first frame update void Start() { naveControles = GetComponent <NaveControles>(); sprRend = GetComponent <SpriteRenderer>(); opacity = 0f; gravityForce = 20; }
// Start is called before the first frame update void Start() { instance = this; rg2d = gameObject.GetComponent <Rigidbody2D>(); }