Esempio n. 1
0
 public void Init(IDictionary <CubeCoordinate, Cell> cells, CoordConverter converter)
 {
     this.cells     = cells;
     this.converter = converter;
     template       = Resources.Load <Block>("Block/Block");
     anim           = gameObject.GetOrAddComponent <AnimScheduler>();
 }
Esempio n. 2
0
 void Awake()
 {
     converter = GetComponent <CoordConverter>();
 }