-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Create Toggle for Selection #1400
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
11da8cd
feat: setup toggle
Tliks 492edb6
feat: support multiple selections
Tliks bc6e71a
chore: Active = !selected.activeSelf
Tliks 236d989
chore: use MenuCommand
Tliks 290c7c3
chore: rename "SetupToggle" to "CreateToggleForSelection"
Tliks fa4e714
chore: sync object and menu
Tliks d8d03af
Revert "chore: sync object and menu"
bdunderscore File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
メニューの状態とオブジェクトの状態を合わせたほうがわかりやすいかも
つまり MenuItemのDefault = activeSelf, Inverted = activeSelf, Active = !activeSelf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
アニメーションは再生されているものの、Expression Parameterが意図せずオフで固定されるというような状況は、恐らく今も存在すると思うのですが(相手だけ先にアバターが読み込めている時とかFBT Callibration時とか)、その場合もbd_さんの方式(オブジェクトのオンオフにメニューのオンオフを合わせる)の方が良いのでしょうか…?
(意図せず脱げる等が発生しそう)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
あー確かに。ただ、それを対策するならMenuItem側で対策したいかな?(同期パラメーターとメニュー用パラメーターを別にするとか)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ふーむ(負荷面であんまりParameter Driver使う箇所を増やさない方が良さそうな感じもしつつ…?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
とりあえず fa4e714 でメニューの状態とオブジェクトの状態を合わせるようにしました。Revertは可能です。
同期された方が基本的に分かりやすいのはあるので悩ましいところではありますが…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
うーん…MenuItem側で対策できるのはしばらく先なので、やっぱり元の仕様(OFF=基本状態)にいったんしておいて、MenuItem側の対策ができたら変更しましょう。