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