We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 11 columns, instead of 2 in line 5.
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
name,imageUrl,area,profileUrl,office,tags,isLoggedUser,positionName,id,parentId,size | |
Ian Devling,https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/cto.jpg,Corporate,http://example.com/employee/profile,CTO office,"Ceo,tag1,manager,cto",false,Chief Executive Officer ,O-6066,, | |
Davolio Nancy,https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/general.jpg,Corporate,http://example.com/employee/profile,CEO office,"Ceo,tag1, tag2",false,CTO ,O-6067,O-6066, | |
Davolio Nancy 5,https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/general.jpg,Corporate,http://example.com/employee/profile,CEO office,"Ceo,tag1, tag2",false,CTO ,O-6,O-6066, | |
Davolio Nancy 7,https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/general.jpg,Corporate,http://example.com/employee/profile,CEO office,"Ceo,tag1, tag2",false,CTO ,O-8,O-6066, | |
Davolio Nancy 8,https://raw.githubusercontent.c |
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 4 in line 1.
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
name;imageUrl;area;profileUrl;office;tags;isLoggedUser;positionName;id;parentId;size | |
Ian Devling;https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/cto.jpg;Corporate;http://example.com/employee/profile;CTO office;Ceo,tag1,manager,cto;FALSE;Chief Executive Officer ;O-6066;; | |
Davolio Nancy 1;https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/general.jpg;Corporate;http://example.com/employee/profile;CEO office;Ceo,tag1, tag2;FALSE;CTO ;O-6067;O-6066; | |
Davolio Nancy 2;https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/general.jpg;Corporate;http://example.com/employee/profile;CEO office;Ceo,tag1, tag2;FALSE;CTO ;O-6067;O-6066; | |
Davolio Nancy 3;https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/general.jpg;Corporate;http://example.com/employee/profile;CEO office;Ceo,tag1, tag2;FALSE;CTO ;O-6067;O-6066; | |
Davolio Nancy 4;https://raw.githubusercontent.c |
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 <emscripten.h> | |
#include "Game.h" | |
extern "C" | |
{ | |
Game* game; | |
void EMSCRIPTEN_KEEPALIVE start(char* data, int size) | |
{ | |
game = new Game(); |
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
emcc -std=c++11 *.cpp -s EXPORTED_FUNCTIONS="['_start']" -s BUILD_AS_WORKER=1 -o worker.js |
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
//Unity callback: | |
typedef void (*FuncPtr)( const char * ); | |
static FuncPtr Result = 0; | |
//---- | |
void workerCallback(char* data, int size, void* arg) | |
{ | |
std::string resultData = std::string(data); | |
emscripten_log(EM_LOG_CONSOLE, result); |
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 <emscripten.h> | |
extern "C" | |
{ | |
void process(char* input) | |
{ | |
worker_handle ai_worker = emscripten_create_worker("worker.js"); | |
emscripten_call_worker(ai_worker, "start", input, strlen(input) + 1, workerCallback, (void*)0); | |
} | |
} |
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
play 2 1 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,14,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 0 5 99,99,6,34,8 36 37 0 0 0 0 0 | |
move:5E4 | |
play 2 1 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,-1,-1,-1,-1,-1,-1,-1,-1,14,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 0 5 99,99,6,34 36 37 0 0 0 0 1 | |
Done | |
play 2 1 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,26,8,-1,-1,-1,-1,-1,-1,-1,-1,14,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 0 5 99,99,6,34,8 35 36 0 0 0 0 0 |
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
play 2 1 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,14,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 0 5 99,99,6,34,8 36 37 0 0 0 0 0 |
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
[HideInInspector] public PropertyInfo SourceProperty; | |
[HideInInspector] public PropertyInfo TargetProperty; | |
[HideInInspector] public string SourcePropertyName; | |
[HideInInspector] public string TargetPropertyName; | |
public MonoBehaviour Source; | |
public MonoBehaviour Target; | |
void Awake() | |
{ |
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
private PropertyBinding _bindingClass; | |
private void RefreshSourceProperties() | |
{ | |
if (_bindingClass.Source == null) return; | |
var tempSource = from sourceProp in _bindingClass.Source.GetType().GetProperties(BindingFlags.DeclaredOnly | | |
BindingFlags.Public | | |
BindingFlags.Instance) | |
select sourceProp; | |
_sourceProperties = tempSource.ToList(); |
NewerOlder