Skip to content

fix: Remove "Script" fields from Netcode components in the inspector [MTT-2947]#2172

Merged
ShadauxCat merged 23 commits intodevelopfrom
fix/remove_script_fields
Sep 22, 2022
Merged

fix: Remove "Script" fields from Netcode components in the inspector [MTT-2947]#2172
ShadauxCat merged 23 commits intodevelopfrom
fix/remove_script_fields

Conversation

@ShadauxCat
Copy link
Copy Markdown
Collaborator

Testing and Documentation

  • No tests have been added.
  • No documentation changes or additions were necessary.

@ShadauxCat ShadauxCat requested a review from a team as a code owner August 31, 2022 20:30
@ShadauxCat ShadauxCat requested a review from 0xFA11 as a code owner September 7, 2022 17:38
else
{
base.OnInspectorGUI();
EditorGUI.BeginChangeCheck();
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Duplicated code... apparently one cannot add a class in between NetworkObjectEditor and Unity.Editor in the hierarchy without triggering a "public api change" error in the validator, so instead of being able to reuse this code, I have to copy/paste it...

That's pretty silly IMO.

@ShadauxCat ShadauxCat enabled auto-merge (squash) September 8, 2022 15:16
Comment thread com.unity.netcode.gameobjects/Components/NetworkRigidbody.cs Outdated
Comment thread com.unity.netcode.gameobjects/Components/NetworkRigidbody2D.cs Outdated
Comment thread com.unity.netcode.gameobjects/Editor/HiddenScriptEditor.cs
@ShadauxCat ShadauxCat merged commit 566a410 into develop Sep 22, 2022
@ShadauxCat ShadauxCat deleted the fix/remove_script_fields branch September 22, 2022 18:44
jakobbbb pushed a commit to GooseGirlGames/com.unity.netcode.gameobjects that referenced this pull request Feb 22, 2023
…[MTT-2947] (Unity-Technologies#2172)

* fix: Remove "Script" fields from Netcode components in the inspector

* Standards

* standards again

* Fix compile errors in minimalproject

* Whoops, those version defines were for the runtime, had to add them to editor too.

* validator...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants