void OnCollisionEnter2D(Collision2D coll) { Powers.Reset(); Destroy(this.gameObject); if (coll.gameObject.tag == "Player") { Debug.Log("Bounce Power"); Powers.BounceActivated = true; } }
void OnLevelWasLoaded() { ObstacleSpawn.force = 1.0f; Powers.Reset(); }
void Awake() { Powers.Reset(); }