public static UObject NewImmortalObject(Type type, string name, string moduleName) { UObject o = NewObject(type, name); if (o != null) { UGlobalObject.Get().AddGlobalObject(o, moduleName); return(o); } return(null); }
public UObject AsImmortal(string moduleName) { return(UGlobalObject.Get().AddGlobalObject(this, moduleName)); }