Ejemplo n.º 1
0
        void StoreRaycastInfo()
        {
            RaycastHit2D _info = PlayMakerUnity2d.GetLastRaycastHitInfo(this.Fsm);

            if (_info.collider != null)
            {
                gameObjectHit.Value = _info.collider.gameObject;
                point.Value         = _info.point;
                normal.Value        = _info.normal;
                distance.Value      = _info.fraction;
            }
        }