Exemple #1
0
 void Start()
 {
     hG = GameObject.Find("HallGenerator").GetComponent <HallGenerator>();
 }
Exemple #2
0
        private static Source <GenerationContext, IHallGenerator> HallSource()
        {
            IHallGenerator hallGenerator = new HallGenerator(WallPlaceable, FloorPlacable, null);

            return(Source.From <GenerationContext, IHallGenerator>(hallGenerator));
        }