Last active
May 5, 2017 05:01
-
-
Save maco1028/980a98185254bc5663a4 to your computer and use it in GitHub Desktop.
Random_Switch #unity
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
public int anime_num = 0; anime_num = Random.Range (1,5); switch(anime_num) { case 1: print("Atack1"); break; case 2: print("Run"); break; case3: print("walk"); break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment