public override MenuElement DuplicateSelf() { MenuProfilesList newElement = CreateInstance <MenuProfilesList>(); newElement.Declare(); newElement.CopyProfilesList(this); return(newElement); }
public override MenuElement DuplicateSelf(bool fromEditor, bool ignoreUnityUI) { MenuProfilesList newElement = CreateInstance <MenuProfilesList>(); newElement.Declare(); newElement.CopyProfilesList(this, ignoreUnityUI); return(newElement); }