-
Notifications
You must be signed in to change notification settings - Fork 458
fix: Add help urls to all components in the component menu #3663
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
f9e1494
fix: Add help urls to all components in the component menu
EmandM 31ea4af
fix formatting
EmandM d4a33e5
Merge branch 'develop-2.0.0' into fix/mttb-1452-add-help-urls
EmandM 6601eb7
Try adding tests
EmandM af74464
Add test to validate the urls
EmandM 72aef43
Merge branch 'develop-2.0.0' into fix/mttb-1452-add-help-urls
EmandM 3f2bd5f
Update CHANGELOG
EmandM 060029c
Remove CHANGELOG whitespace changes
EmandM 295fdf5
Merge branch 'develop-2.0.0' into fix/mttb-1452-add-help-urls
EmandM ce4bdb8
Merge branch 'develop-2.0.0' into fix/mttb-1452-add-help-urls
EmandM 8d5f84c
Merge develop-2.0.0 into fix/mttb-1452-add-help-urls
netcode-ci-service 0981304
Revert invalid TestHelpers change
EmandM 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 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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace Unity.Netcode.Runtime | ||
{ | ||
internal static class HelpUrls | ||
{ | ||
private const string k_BaseUrl = "https://docs.unity3d.com/Packages/com.unity.netcode.gameobjects@latest/?subfolder=/"; | ||
private const string k_BaseManualUrl = k_BaseUrl + "manual/"; | ||
private const string k_BaseApiUrl = k_BaseUrl + "api/Unity.Netcode"; | ||
|
||
internal const string NetworkManager = k_BaseManualUrl + "components/core/networkmanager.html"; | ||
internal const string NetworkObject = k_BaseManualUrl + "components/core/networkobject.html"; | ||
internal const string NetworkAnimator = k_BaseManualUrl + "components/helper/networkanimator.html"; | ||
internal const string NetworkRigidbody = k_BaseManualUrl + "advanced-topics/physics.html#networkrigidbody"; | ||
internal const string NetworkRigidbody2D = k_BaseManualUrl + "advanced-topics/physics.html#networkrigidbody2d"; | ||
internal const string RigidbodyContactEventManager = k_BaseApiUrl + ".Components.RigidbodyContactEventManager.html"; | ||
internal const string NetworkTransform = k_BaseManualUrl + "components/helper/networktransform.html"; | ||
internal const string AnticipatedNetworkTransform = k_BaseManualUrl + "advanced-topics/client-anticipation.html"; | ||
internal const string UnityTransport = k_BaseApiUrl + ".Transports.UTP.UnityTransport.html"; | ||
internal const string SecretsLoaderHelper = k_BaseManualUrl + ".Transports.UTP.SecretsLoaderHelper.html"; | ||
internal const string SinglePlayerTransport = k_BaseApiUrl + ".Transports.SinglePlayer.SinglePlayerTransport.html"; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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.
Standards is complaining that UnityEditor is unnecessary here