예제 #1
0
        public void RegisterSpinner(Spinner spinner, Entity entity, GameObject go)
        {
            var spinnerApi = new SpinnerApi(spinner, entity, this);

            _tableApi.Spinners[spinner.Name] = spinnerApi;
            _initializables.Add(spinnerApi);
            _spinnables[entity] = spinnerApi;
            _rotatables[entity] = spinnerApi;
        }
 public SpinnerColliderGenerator(SpinnerApi spinnerApi, SpinnerComponent component)
 {
     _api       = spinnerApi;
     _component = component;
 }