PixiVNJsonConditionalStatements Model
The PixiVNJsonConditionalStatements<Then> is used to define conditional statements. It contains the following properties:
Depending on the type, it can respond to the following models.
- If is
ifelseit responds to thePixiVNJsonIfElsemodel. - If is
stepswitchit responds to thePixiVNJsonStepSwitchmodel.
PixiVNJsonIfElse Model
The PixiVNJsonIfElse<Then> is used to define an if-else statement. It contains the following properties:
condition: PixiVNJsonConditions;then:Then|PixiVNJsonIfElse<Then>;else(Optional):Then|PixiVNJsonIfElse<Then>;
PixiVNJsonStepSwitch Model
choiceType: "random" "sequential" "loop" "sequentialrandom"elements:PixiVNJsonStepSwitchElementsType<Then>;