blob: 2f433bbfd2f3726a20cbb2f320a42b3df66ee88b (
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)...);
}
 |