Skip to content

Commit

Permalink
fix: made asmdef editor only
Browse files Browse the repository at this point in the history
  • Loading branch information
rYuuk committed Jun 30, 2023
1 parent e309a47 commit 9a22631
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion Editor/ReadyPlayerMe.NetcodeSupport.Editor.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"name": "ReadyPlayerMe.NetcodeSupport.Editor",
"rootNamespace": "",
"references": [],
"includePlatforms": [],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
Expand Down
14 changes: 7 additions & 7 deletions Runtime/NetworkPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ namespace ReadyPlayerMe.NetcodeSupport
[RequireComponent(typeof(NetworkObject))]
public class NetworkPlayer : NetworkBehaviour
{
private const string FULL_BODY_LEFT_EYE_BONE_NAME = "Armature/Hips/Spine/Spine1/Spine2/Neck/Head/LeftEye";
private const string FULL_BODY_RIGHT_EYE_BONE_NAME = "Armature/Hips/Spine/Spine1/Spine2/Neck/Head/RightEye";

[SerializeField] private AvatarConfig config;

public static string InputUrl = string.Empty;
public NetworkVariable<FixedString64Bytes> avatarUrl = new NetworkVariable<FixedString64Bytes>(writePerm: NetworkVariableWritePermission.Owner);
public event Action OnPLayerLoadComplete;

private Animator animator;

private Transform leftEye;
private Transform rightEye;

private SkinnedMeshRenderer[] skinnedMeshRenderers;

private const string FULL_BODY_LEFT_EYE_BONE_NAME = "Armature/Hips/Spine/Spine1/Spine2/Neck/Head/LeftEye";
private const string FULL_BODY_RIGHT_EYE_BONE_NAME = "Armature/Hips/Spine/Spine1/Spine2/Neck/Head/RightEye";

public static string InputUrl = string.Empty;
public NetworkVariable<FixedString64Bytes> avatarUrl = new NetworkVariable<FixedString64Bytes>(writePerm: NetworkVariableWritePermission.Owner);
public event Action OnPLayerLoadComplete;

private void Awake()
{
Expand Down

0 comments on commit 9a22631

Please sign in to comment.