You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Ignoring the naming convention in order to auto-assign element names
23
23
#pragma warning disable IDE1006
24
-
publicstringname="Component";
24
+
/// <summary>
25
+
/// Used for naming each element entry.
26
+
/// </summary>
27
+
[HideInInspector]
28
+
publicstringname;
25
29
#pragma warning restore IDE1006
26
30
27
31
/// <summary>
28
-
/// When true, this component's enabled state will be the inverse of
29
-
/// the value passed into <see cref="ComponentController.SetEnabled(bool)"/>.
32
+
/// When true, this component's enabled state will be the inverse of the value passed into <see cref="ComponentController.SetEnabled(bool)"/>.
30
33
/// </summary>
31
34
[Tooltip("When enabled, this component will inversely mirror the currently applied ComponentController's enabled state.")]
32
35
publicboolInvertEnabled;
@@ -167,9 +170,8 @@ internal PendingStateUpdate(ComponentControllerEntry componentControllerEntry, b
167
170
/// </summary>
168
171
/// <remarks>
169
172
/// This will synchronize the enabled or disabled state of the <see cref="Component"/>s with connected and late joining clients.<br />
170
-
/// - Use <see cref="EnabledState"/> to determine the current synchronized enabled state.<br />
173
+
/// - Use <see cref="EnabledState"/> to determine the current synchronized enabled state.<br />
171
174
/// - Use <see cref="SetEnabled(bool)"/> to change the enabled state and have the change applied to all components this <see cref="ComponentController"/> is synchronizing.<br />
172
-
///
173
175
/// It is encouraged to create custom derived versions of this class to provide any additional functionality required for your project specific needs.
174
176
/// </remarks>
175
177
publicclassComponentController:NetworkBehaviour
@@ -374,7 +376,7 @@ public override void OnNetworkSpawn()
374
376
375
377
/// <inheritdoc/>
376
378
/// <remarks>
377
-
/// If overriding this method, it is required that you invoke this base method.<br />
379
+
/// If overriding this method, it is required that you invoke this base method.<br />
378
380
/// Assures all instances subscribe to the internal <see cref="NetworkVariable{T}"/> of type
379
381
/// <see cref="bool"/> that synchronizes all instances when <see cref="Object"/>s are enabled
0 commit comments