blob: 92375bba8da276868b82c0858934c9dd3f00e259 (
plain)
1
2
3
4
5
6
|
#include "ComponentManager.h"
template <typename T, typename... Args>
T & GameObject::AddComponent(Args &&... args) {
return ComponentManager::GetInstance().AddComponent<T>(mId, std::forward<Args>(args)...);
}
|