GameObjectPtr LightType::createInstance(void) { LightPtr newLight = new Light; if(!newLight) return(nullptr); newLight->init(true, this); return(newLight); }
GameObjectPtr LightType::createInstance(void) { LightPtr newLight = new Light; if(!newLight) return(nullptr); newLight->init(true, this); return(newLight); }