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 UnityEngine; | |
public class ScopedSingleton<T> : MonoBehaviour where T : MonoBehaviour | |
{ | |
static T m_instance; | |
public static T Instance | |
{ | |
get |
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
const TradingView = require('../main'); | |
const fs = require('fs'); | |
const readline = require('readline'); | |
const net = require("net"); | |
let streams; | |
const server = net.createServer((stream) => { | |
console.log("Server: on connection"); | |
streams = stream; |
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
// EXAMPLE TRANSPORT PLUG-IN FOR USAGE OF BESTHTTP/2 WITH PLAYFAB SDK | |
// YOU MUST SET THIS TRANSPORT PLUG-IN BEFORE ANY PLAYFAB CALL | |
// PluginManager.SetPlugin(new PlayFabBestHttp(), PluginContract.PlayFab_Transport); | |
#if UNITY_2017_2_OR_NEWER | |
using PlayFab.SharedModels; | |
using System; | |
using UnityEngine; | |
using BestHTTP; |