Add parameter detail in MA Infomation#2003
Open
raiti-chan wants to merge 1 commit into
Open
Conversation
| sourceField.SetEnabled(false); | ||
| details.Add(sourceField); | ||
| details.Add(new Label(string.Format(parameter_type_template, providedParameter.ParameterType, providedParameter.BitUsage))); | ||
| details.Add(new Label(string.Format(parameter_is_name_deferred_template, providedParameter.IsNameDeferred))); |
Owner
There was a problem hiding this comment.
IsNameDeferredの取り扱いはちょっと思想が曖昧ですね…
まず、二つのパラメーターが統合されているかどうかは、このboolだけでは判定できない(MA Parametersの自動リネームだと仮定すれば、Sourceで推測できるが、「IsModularAvatarAutoRename」ではないためその仮定が必ずしもあっているとは限らない)
また、他のアセットのDeferredなパラメーターを自動リネームと称するべきではない。
まずはいったん、この情報の表示が必要かを精査しましょう。
Contributor
Author
There was a problem hiding this comment.
そうですね
こちらの表示意図としては、
ビルド後にパラメータ名が、表示されているものから変わるというのを分かるようにしたいため、
'IsModularAvatarAutoRename' : 自動リネーム
'IsUnconfirmedName' : 未確定な名前
など別で持たせるとかでしょうか
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#2002

MA Infomationに詳細なパラメータの情報を表示する機能を追加しました。デフォルトではFlodoutで閉じています。
展開すると
が表示されます。
こちらの実装にあたって必要なパラメータを
ProvidedParameterに追加しています。bdunderscore/ndmf#805