Esempio n. 1
0
    G20_HitObject ShootPanel(Vector2 shootPoint)
    {
        Vector3 panelhitPoint = Vector3.zero;
        var     hitPanel      = G20_RayShooter.GetHitObject <G20_HitObject>(shootPoint, ref panelhitPoint, effectCamera, panelMask);

        if (hitPanel)
        {
            hitPanel.ExcuteActions(panelhitPoint);
        }
        return(hitPanel);
    }
Esempio n. 2
0
    G20_HitObject ShootHitObject(Vector2 shootPoint)
    {
        Vector3 hitPoint  = Vector3.zero;
        var     hitObject = G20_RayShooter.GetHitObject <G20_HitObject>(shootPoint, ref hitPoint, Camera.main, fieldMask);

        //aimAssistの値を増減
        AdjustAIMAssist(hitObject);
        if (ActionHitObject != null)
        {
            ActionHitObject(hitObject);
        }
        if (hitObject)
        {
            hitObject.ExcuteActions(hitPoint);
        }
        return(hitObject);
    }