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>(); }
void Awake() { converter = GetComponent <CoordConverter>(); }