Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using com.unity.multiplayer.samples.distributed_authority.gameplay;
using com.unity.multiplayer.samples.socialhub.player;
using UnityEditor;
using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.UIElements;

namespace com.unity.multiplayer.samples.distributed_authority.editor
namespace com.unity.multiplayer.samples.socialhub.editor
{
[CustomEditor(typeof(AvatarTransform))]
class DerivedComponentEditor : Editor
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "com.unity.multiplayer.samples.socialhub.editor",
"rootNamespace": "com.unity.multiplayer.samples.socialhub",
"references": [
"GUID:8314b31eee3cc495ca4a4f078575802d"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "com.unity.multiplayer.samples.socialhub.gameplay",
"rootNamespace": "com.unity.multiplayer.samples.socialhub",
"references": [
"GUID:1491147abca9d7d4bb7105af628b223e"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using System.Runtime.CompilerServices;
using UnityEngine;
using UnityEngine.InputSystem;

namespace com.unity.multiplayer.samples.distributed_authority.input
[assembly: InternalsVisibleTo("com.unity.multiplayer.samples.socialhub.player")]
namespace com.unity.multiplayer.samples.socialhub.input
{
class AvatarInputs : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "com.unity.multiplayer.samples.socialhub.input",
"rootNamespace": "com.unity.multiplayer.samples.socialhub",
"references": [
"GUID:75469ad4d38634e559750d17036d5f7c"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
using Unity.Netcode.Components;
using UnityEngine;
using UnityEngine.InputSystem;
using com.unity.multiplayer.samples.distributed_authority.input;
using com.unity.multiplayer.samples.socialhub.input;

namespace com.unity.multiplayer.samples.distributed_authority.gameplay
namespace com.unity.multiplayer.samples.socialhub.player
{
[RequireComponent(typeof(Rigidbody))]
public class AvatarTransform : NetworkTransform
{
[SerializeField]
Rigidbody m_Rigidbody;
[SerializeField]
PlayerInput m_PlayerInput;
MonoBehaviour m_PlayerInput;
[SerializeField]
AvatarInputs m_AvatarInputs;
[SerializeField]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "com.unity.multiplayer.samples.socialhub.player",
"rootNamespace": "com.unity.multiplayer.samples.socialhub",
"references": [
"GUID:1491147abca9d7d4bb7105af628b223e",
"GUID:c15e7f658578345fcb824b0a64d4dbe8",
"GUID:9ff2150ce7d7c415a8af1fbff3dc3e6c"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.