public void TestLoadKernalManifest() { IKernal k = new Kernal("main"); Assert.AreEqual(true, k.ReadyToBuild("c")); Assert.AreEqual(true, k.ReadyToBuild("cMock")); Assert.AreEqual(true, k.ReadyToBuild("sdCalc")); }
void OnLevelWasLoaded() { if (readFromLevelKernal) { currentKernal = FindObjectOfType<Kernal>(); Debug.Log("New Kernal Connected"); } transitionActive = false; }
void Start() { if (instance == null) { instance = this; } else { Debug.LogWarning("Multiple copies of the kernal were detected."); Destroy(this); } ass = GetComponent <AudioSource>(); transform.SetAsFirstSibling(); }
void OnDestroy() { instance = null; }
public ObjectBuilder(Kernal k) { _k = k; }
// Use this for initialization void Start() { kernal = GameObject.FindObjectOfType <Kernal>(); GatherPreplacedCharacters(); }