예제 #1
0
        public void RegisterRubber(Rubber rubber, Entity entity, GameObject go)
        {
            var rubberApi = new RubberApi(rubber, entity, this);

            _tableApi.Rubbers[rubber.Name] = rubberApi;
            _initializables.Add(rubberApi);
            _hittables[entity] = rubberApi;
        }
예제 #2
0
 public RubberColliderGenerator(RubberApi rubberApi, RubberMeshGenerator meshGenerator)
 {
     _api           = rubberApi;
     _meshGenerator = meshGenerator;
 }