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