Пример #1
0
        public void OnEnable()
        {
            var generator = ((TesseraConstraint)target).GetComponent <TesseraGenerator>();

            tileList  = new TileList(generator, "Path Tiles", serializedObject.FindProperty("pathTiles"), allowSingleTile: false);
            colorList = new ColorList(serializedObject.FindProperty("pathColors"), generator.palette);
        }
Пример #2
0
 public void OnEnable()
 {
     tileList = new TileList(((TesseraConstraint)target).GetComponent <TesseraGenerator>(), "Tiles", serializedObject.FindProperty("tiles"));
 }
Пример #3
0
 public void OnEnable()
 {
     tileListX = new TileList(((TesseraConstraint)target).GetComponent <TesseraGenerator>(), "X-Symmetric Tiles", serializedObject.FindProperty("symmetricTilesX"), allowSingleTile: false, allowList: false);
     tileListZ = new TileList(((TesseraConstraint)target).GetComponent <TesseraGenerator>(), "Z-Symmetric Tiles", serializedObject.FindProperty("symmetricTilesZ"), allowSingleTile: false, allowList: false);
 }