Created
December 10, 2013 05:05
-
-
Save baba-s/7885961 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/// <summary> | |
/// 専用のランダムクラス | |
/// </summary> | |
public static class MyRandom | |
{ | |
/// <summary> | |
/// bool型の乱数を取得する | |
/// </summary> | |
/// <returns>bool型の乱数</returns> | |
public static bool RandomBool() | |
{ | |
return Random.Range(0, 2) == 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment