public override void LoadFromTGSerializedObject(TGSerializedObject _tgs) { base.LoadFromTGSerializedObject(_tgs); UserSource = _tgs.GetString("UserSource"); UserType = (UserTypes)_tgs.GetEnum("UserType", typeof(UserTypes), UserTypes.User); }