/// <summary> /// This method simply sets up the current side correctly, updating /// the current collider as well as setting its isInSnapZone bool /// to true. Most importanty sets up the sideHit to the correct value. /// </summary> /// <param name="col"> the collider we are hitting. </param> /// <param name="a_side"> the side we want to set it to. </param> private void SetSide(Collider col, eObjectSide a_side) { m_curCollider = col; m_inSnapZone = true; //m_sideHit = a_side; }
private void Start() { m_curCollider = null; m_inSnapZone = false; m_sideHit = eObjectSide.NULL; }