Cogito, ergo sum

Talk:Import

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

As far as I can tell, it must be some kind of left-over. Importing isn't really necessary because that would imply the compiler doesn't know about every loaded class and their members in the first place. You need to specify packages either via EditPackages or #exec obj load directive, unless they are implicitly loaded. And once a package is loaded, the engine knows about it, its classes and their enums and structs. UE1 generally fails to reuse structs and enums from non-related classes, while UE2 allows the class name as qualifying prefix, optionally together with the dependson class modifier for enmums and structs in the same package. —Wormbo 19:46, 1 March 2014 (UTC)