Skip to content

Conversation

@nowsprinting
Copy link
Contributor

Changes

  • Add a "Reset" button and help box message into AutopilotSettingsEditor if an invalid state.
  • Add a help box message into AutopilotStateEditor if an invalid state.
スクリーンショット 2024-12-08 18 13 45 スクリーンショット 2024-12-08 18 12 32

Priority

I hope to your review && merge && release this week.


Contribution License Agreement

@nowsprinting nowsprinting requested a review from a team as a code owner December 8, 2024 09:26
@github-actions github-actions bot added the chore label Dec 8, 2024
/// This state Is invalid (read-only).
/// True if Autopilot is running and in Edit Mode, it is required to reset.
/// </summary>
internal bool IsInvalidState => IsRunning && !EditorApplication.isPlayingOrWillChangePlaymode;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line should be guarded with #if UNITY_EDITOR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
fixed in 41b611c

@nowsprinting nowsprinting requested a review from bo40 December 9, 2024 04:20
Copy link
Contributor

@bo40 bo40 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bo40 bo40 merged commit faeb125 into DeNA:master Dec 9, 2024
1 check passed
@nowsprinting nowsprinting deleted the chore/fix_reset_button branch December 9, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants