//[Space] #endregion //================================ #region Methods: /* * private void methodName() * { * //Do Something() * } */ //[Space] #endregion //================================ #region Collision Check: /* * protected void OnCollisionEnter2D(Collision2D collision) * { * Do Something(); * } */ private void OnTriggerEnter2D(Collider2D trig) { //Debug.Log("Collision Detected"); //ballGM.angelBarrier(); //destructNow.destroyInstant(); bm.decoy(); destructNow.destroyInstant(); }
//[Space] #endregion //================================ #region Methods: /* * private void methodName() * { * //Do Something() * } */ //[Space] #endregion //================================ #region Collision Check: /* * protected void OnCollisionEnter2D(Collision2D collision) * { * Do Something(); * } */ private void OnTriggerEnter2D(Collider2D trig) { //Debug.Log("Collision Detected"); ballGM.boost(); destructNow.destroyInstant(); }