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 UnityEngine; | |
using System.Diagnostics; | |
using System.Reflection; | |
public class ReflectionTester : MonoBehaviour | |
{ | |
public class TestObject | |
{ | |
public string Value { get; set; } |
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
interface IAuth | |
{ | |
void Login(); | |
} | |
public class LeoAuthController : IAuth | |
{ | |
void Login(); | |
} |
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; | |
namespace Framework.Observables | |
{ | |
/// <summary> | |
/// Microsoft Style MVVM | |
/// </summary> | |
/// <remarks> | |
/// Pros : | |
/// - Standardized and tested |
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; | |
/// <summary> | |
/// Particle Attractor | |
/// </summary> | |
[AddComponentMenu("NVenti/ParticleMagnet")] | |
public class ParticleMagnet : MonoBehaviour | |
{ | |
public ParticleSystem System; |
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.Diagnostics; | |
using System.Threading; | |
using UnityEngine; | |
using LiteNetLib; | |
using LiteNetLib.Utils; | |
using Debug = UnityEngine.Debug; | |
public class GameClient : MonoBehaviour, INetEventListener | |
{ |
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 SignalMQ.Data; | |
using System.Threading.Tasks; | |
using LiteNetLib; | |
using LiteNetLib.Utils; | |
namespace SignalMQ.Transports.Udp | |
{ | |
/// <summary> | |
/// A tcp connection |
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
{ | |
"version": "1.0.0-*", | |
"authors": [ "Nicholas Ventimiglia" ], | |
"title": "Signal Message Queue", | |
"description": "High fidelity networking : UDP / TCP / WS with Binary messages", | |
"copyright": "http://nicholasventimiglia.com", | |
"buildOptions": { | |
"allowUnsafe": true, | |
"emitEntryPoint": true |
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.Net; | |
using System.Net.Sockets; | |
using System.Threading.Tasks; | |
namespace TCPServer | |
{ | |
public class Program | |
{ | |
private static bool running = true; |
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
{ | |
"title": "Signaling Server Demo", | |
"copyright": "http://NicholasVentimiglia.com", | |
"description": "Signaling Server Demo", | |
"version": "1.0.0-*", | |
"buildOptions": { | |
"emitEntryPoint": true | |
}, | |
"dependencies": { |
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
<ContentPage.Content> | |
<Grid x:Name="MainGrid" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"> | |
<Grid x:Name="videoContainer" /> | |
<!-- Video controll added into the video container. Bunch of Forms buttons and stuf below...--> |