Beispiel #1
0
 static void CommandPOV(CommandArg[] args)
 {
     SXLPlayer.SetPlayerView(args[0].Int, args.Length == 2 ? args[1].Float : 72f);
 }
Beispiel #2
0
 void Start()
 {
     SXLPlayer.SetPlayerSettingsFromConfig();
 }
Beispiel #3
0
 static void CommandTruckTightness(CommandArg[] args)
 {
     SXLPlayer.SetTruckTightness(args[0].Float);
 }
Beispiel #4
0
 static void CommandPopOut(CommandArg[] args)
 {
     SXLPlayer.SetPopOutMultiplier(args[0].Float);
 }
Beispiel #5
0
 static void CommandHighPop(CommandArg[] args)
 {
     SXLPlayer.SetHighPop(args[0].Float);
 }
Beispiel #6
0
 static void CommandLowPop(CommandArg[] args)
 {
     SXLPlayer.SetLowPop(args[0].Float);
 }
Beispiel #7
0
 static void CommandPop(CommandArg[] args)
 {
     SXLPlayer.SetLowPop(args[0].Float);
     SXLPlayer.SetHighPop(args.Length == 2 ? args[1].Float : args[0].Float + 0.5f);
 }