コード例 #1
0
    public override string GetRotateAnim(E_MotionType motionType, E_RotationType rotationType)
    {
        if (rotationType == E_RotationType.Left)
        {
            return("rotateL");
        }

        return("rotateR");
    }
コード例 #2
0
    public override string GetRotateAnim(E_MotionType motionType, E_RotationType rotationType)
    {
        if (motionType == E_MotionType.Block)
        {
            if (rotationType == E_RotationType.Left)
            {
                return("blockStepL");
            }

            return("blockStepR");
        }

        if (rotationType == E_RotationType.Left)
        {
            return("rotationL");
        }

        return("rotationR");
    }
コード例 #3
0
    public override string GetRotateAnim(E_MotionType motionType, E_RotationType rotationType)
    {
        if (motionType == E_MotionType.Block)
        {
            if (rotationType == E_RotationType.Left)
            {
                return("rotateBlockLeft");
            }

            return("rotateBlockRight");
        }

        if (rotationType == E_RotationType.Left)
        {
            return("rotateLeft");
        }

        return("rotateRight");
    }
コード例 #4
0
ファイル: AnimSet.cs プロジェクト: huokele/shadow-gun
 public abstract string GetRotateAnim(E_RotationType rotationType);
コード例 #5
0
 public override string GetRotateAnim(E_MotionType motionType, E_RotationType rotationType)
 {
     return(null);
 }
コード例 #6
0
 public override string GetRotateAnim(E_RotationType rotationType)
 {
     return(rotationType == E_RotationType.Left ? "TurnL" : "TurnR");
 }