예제 #1
0
        public void RegisterRamp(Ramp ramp, Entity entity, GameObject go)
        {
            var rampApi = new RampApi(ramp, entity, this);

            _tableApi.Ramps[ramp.Name] = rampApi;
            _initializables.Add(rampApi);
        }
 public RampColliderGenerator(RampApi rampApi, IRampData data, RampColliderComponent colliderComponent)
 {
     _api  = rampApi;
     _data = data;
     _colliderComponent = colliderComponent;
     _meshGenerator     = new RampMeshGenerator(data);
 }