public AddSourceFileTask() { Location = new SourceRelativeLocation(); ExtContext.Instance.RefreshModules(); Location.Module = ExtContext.Instance.AvailableModules.FirstOrDefault();//Utils.GetDefaultModule(); Reflected = false; }
public AddTypeTask() { Location = new SourceRelativeLocation(); ExtContext.Instance.RefreshModules(); Location.Module = ExtContext.Instance.AvailableModules.FirstOrDefault();//Utils.GetDefaultModule(); Export = false; if (Variant == AddableTypeVariant.UClass) { Base = EngineTypes.UClasses.FirstOrDefault(); } }