Esempio n. 1
0
        public IEnumerator SetupScene()
        {
            testGo = new GameObject("test");
            testGo.transform.position = Vector3.zero;
            gridSensor = testGo.AddComponent <CountingGridSensor>();

            boxGo = CreateBlock(new Vector3(3f, 0f, 3f), k_Tag1, "box1");

            yield return(null);
        }
 public void SetupScene()
 {
     testGo = new GameObject("test");
     testGo.transform.position = Vector3.zero;
     gridSensor = testGo.AddComponent <CountingGridSensor>();
 }