comment
news
apps
browse
api
api
insights
charts
log in
Game
.Random
System.Random
Random
{
get
;
set
;
}
Description
A shared random that is automatically seeded on tick
Return
User Comments
matek
6 Months Ago
Game.Random.Next(0, 2) == 0 throws null sometimes
5
Static Properties
ActiveScene
AppId
Ident
InGame
IsClosing
IsEditor
IsMainMenuVisible
IsPaused
IsPlaying
IsRecordingVideo
IsRunningInVR
IsRunningOnHandheld
PhysicsTrace
Random
SceneTrace
SteamId
Static Methods
AssertMenu
Close
CreateWebSurface
Disconnect
SetRandomSeed
TakeScreenshot