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
fromThis = [ | |
{ | |
name: 'A', | |
child: { | |
x: "X", | |
y: "Y" | |
} | |
}, | |
{ | |
name: 'B', |
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
import socket from './../socket'; // Doesnt work. | |
// This works though | |
// import io from 'socket.io-client' | |
// const socket = io(); | |
//... | |
function startPath(point) { | |
//... |
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.IO; | |
using System.Linq; | |
using System.Globalization; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using UnityEngine; | |
using UnityEditor; | |
using 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 UnityEngine; | |
[System.Serializable] | |
public struct Coordinate | |
{ | |
public static Coordinate zero = new Coordinate (0, 0); | |
public static Coordinate one = new Coordinate (1, 1); | |
public static Coordinate north = new Coordinate (0, 1); | |
public static Coordinate south = new Coordinate (0, -1); |