This file contains 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
node = (5,4) | |
direction = "South" | |
print "moves is",moves | |
print "i'm going to add",direction,"at",node | |
moves[node].append(direction) | |
print "moves is",moves | |
sys.exit("fuck this") | |
#Output | |
''' |
This file contains 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
" Use spaces instead of tabs | |
set expandtab | |
"show line numbers | |
set nu | |
:highlight LineNr ctermfg=grey | |
"Be smart when using tabs | |
set smarttab |
This file contains 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; | |
using System.Collections; | |
using PathologicalGames; | |
public class PoolTest : MonoBehaviour { | |
[SerializeField] SpawnPool pathpool; | |
[SerializeField] GameObject sourcePrefab; | |
int spawnno = 5000; |
This file contains 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
//put into two monobehaviours in unity if you want to run it, and put AwakeChild on a gameobject. | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class AwakeBase : MonoBehaviour { | |
protected bool setup = false; | |
Transform thisWillBeNullInChild; |