Exemple #1
0
        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);
        }
Exemple #2
0
 public UObject AsImmortal(string moduleName)
 {
     return(UGlobalObject.Get().AddGlobalObject(this, moduleName));
 }