示例#1
0
    /**
     * 武器姿态动作
     */
    private void ChangeAction()
    {
        switch (weaponStandardAction.posture - Random.Range(1, 2))
        {
        case 0:
            weaponStandardAction.leftPosition();
            break;

        case 1:
            weaponStandardAction.rightPosition();
            break;

        case 2:
            weaponStandardAction.upPosition();
            break;

        default:
            weaponStandardAction.upPosition();
            break;
        }
    }