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
public class GameSystems : MonoBehaviour | |
{ | |
private static GameSystems _instance; | |
public static GameSystems Instance | |
{ | |
get | |
{ | |
if (_instance == null) | |
{ |
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
public static class CloudFactory | |
{ | |
public static ICloudService Create() | |
{ | |
if (Application.platform == RuntimePlatform.WindowsPlayer) | |
return new SteamCloudService(); | |
} | |
} |
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
#include <iostream> | |
#include <WS2tcpip.h> | |
#include <string> | |
#include <sstream> | |
#pragma comment (lib, "ws2_32.lib") | |
using namespace std; | |
void main() |
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
using System; | |
using System.Xml; | |
using UnityEngine; | |
/* | |
Copyright (c) 2017 Sloan Kelly | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
OlderNewer