public ISaveableComponent addComponent(GameObject gameObject, IComponentRecycler recycler)
 {
     createdComponent = (ISaveableComponent)recycler.getNextComponent(savedComponentType);
     componentAdded(createdComponent);
     return(createdComponent);
 }
Exemplo n.º 2
0
    public ISaveableComponent addComponent(GameObject gameObject, IComponentRecycler recycler)
    {
        ISaveableComponent result = (ISaveableComponent)recycler.getNextComponent(getGenericType());

        return(result);
    }