-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The issues were having to cast my enum pick to int. Also Stage function used local variable stage which conflicted with global variable stage.
- Loading branch information
Showing
4 changed files
with
49 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
private void Stage(int stg){ | ||
if(videoname == $"{stage}_0_game.mp4"){ //Stage 1 vest | ||
Random(); | ||
if(stg != 5){ | ||
GameLayer(true); //Activates the GaySlayer (as for Soldat's request) | ||
} | ||
} | ||
else if(videoname == $"{stg}_1_lose.mp4" || videoname == $"{stg}_1_lose.mp4" || videoname == $"{stg}_2_draw.mp4" || videoname == $"{stg}_3_lose.mp4" || videoname == $"{stg}_4_lose.mp4"){ | ||
PlayVid(Vn($"{stg}_0_game.mp4")); | ||
} | ||
else if(videoname == $"{stg}_5_win.mp4"){ | ||
Debug.Log("hit"); | ||
lose = 0; | ||
PlayVid(Vn($"{stg}_6_undress.mp4")); | ||
} | ||
else if(videoname == $"{stg}_6_undress.mp4"){ | ||
Debug.Log("wanted hit"); | ||
stage = stg + 1; //kinda ugly I hate it. | ||
PlayVid(Vn($"{stage}_0_game.mp4")); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.