void Awake() { if (Application.isPlaying) { foreach (string packagePath in PreloadPackages) { UIPackage.AddPackage(packagePath); } Load(); } }