Ejemplo n.º 1
0
    public StageZoneParams GetStageZoneParams()
    {
        float           realAngle      = (transform.localEulerAngles.y > 180) ? transform.localEulerAngles.y - 360 : transform.localEulerAngles.y;
        float           realRightAngle = GetRealAngle(rightAngle + realAngle);
        float           realLeftAngle  = GetRealAngle(leftAngle + realAngle);
        StageZoneParams returnParams   = new StageZoneParams(realRightAngle, realLeftAngle, bottomAngle, topAngle, minimalDistance, maxDistance);

        if (freeAspect)
        {
            returnParams = new StageZoneParams(-360, 360, bottomAngle, topAngle, minimalDistance, maxDistance);
        }
        return(returnParams);
    }
Ejemplo n.º 2
0
 public void SetStageZoneParams(StageZoneParams szParams)
 {
     this.szParams = szParams;
 }
Ejemplo n.º 3
0
 public void SetStageZoneParams(StageZoneParams szParams)
 {
     (inputHandler as SZInputHandler).SetStageZoneParams(szParams);
 }