Skip to content

Instantly share code, notes, and snippets.

View herpdederp's full-sized avatar
🐦
rip

rip my toucannon herpdederp

🐦
rip
View GitHub Profile
private void Update()
{
if (BoltNetwork.IsServer == false) { return; }
if (Input.GetKeyDown(KeyCode.Space))
{
IncreasePlayerCount(1);
}
if (Input.GetKeyDown(KeyCode.L))
{
ShowPlayerCount();
#if false
[MenuItem("SERVERBUILD/Server/Modes/Server Mode")]
public static void TurnToServerMode()
{
ExcludeFiles(true);
}
[MenuItem("SERVERBUILD/Server/Modes/Client Mode")]
public static void TurnToClientMode()
{
@herpdederp
herpdederp / README.md
Created March 5, 2020 17:43 — forked from joyrexus/README.md
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")
using UnityEngine;
using System;
using UdpKit;
using UnityEngine.SceneManagement;
using udpkit.platform.photon;
using Bolt.Matchmaking;
namespace Bolt.Samples
{
public class BoltInitLAN : Bolt.GlobalEventListener
@herpdederp
herpdederp / What'sNewIn128.md
Created April 13, 2019 16:17
What's new in v1.2.8