File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 2
2
"name": "ReadyPlayerMe.NetcodeSupport.Editor",
3
3
"rootNamespace": "",
4
4
"references": [],
5
- "includePlatforms": [],
5
+ "includePlatforms": [
6
+ "Editor"
7
+ ],
6
8
"excludePlatforms": [],
7
9
"allowUnsafeCode": false,
8
10
"overrideReferences": false,
Original file line number Diff line number Diff line change @@ -12,21 +12,21 @@ namespace ReadyPlayerMe.NetcodeSupport
12
12
[ RequireComponent ( typeof ( NetworkObject ) ) ]
13
13
public class NetworkPlayer : NetworkBehaviour
14
14
{
15
+ private const string FULL_BODY_LEFT_EYE_BONE_NAME = "Armature/Hips/Spine/Spine1/Spine2/Neck/Head/LeftEye" ;
16
+ private const string FULL_BODY_RIGHT_EYE_BONE_NAME = "Armature/Hips/Spine/Spine1/Spine2/Neck/Head/RightEye" ;
17
+
15
18
[ SerializeField ] private AvatarConfig config ;
16
19
20
+ public static string InputUrl = string . Empty ;
21
+ public NetworkVariable < FixedString64Bytes > avatarUrl = new NetworkVariable < FixedString64Bytes > ( writePerm : NetworkVariableWritePermission . Owner ) ;
22
+ public event Action OnPLayerLoadComplete ;
23
+
17
24
private Animator animator ;
18
25
19
26
private Transform leftEye ;
20
27
private Transform rightEye ;
21
28
22
29
private SkinnedMeshRenderer [ ] skinnedMeshRenderers ;
23
-
24
- private const string FULL_BODY_LEFT_EYE_BONE_NAME = "Armature/Hips/Spine/Spine1/Spine2/Neck/Head/LeftEye" ;
25
- private const string FULL_BODY_RIGHT_EYE_BONE_NAME = "Armature/Hips/Spine/Spine1/Spine2/Neck/Head/RightEye" ;
26
-
27
- public static string InputUrl = string . Empty ;
28
- public NetworkVariable < FixedString64Bytes > avatarUrl = new NetworkVariable < FixedString64Bytes > ( writePerm : NetworkVariableWritePermission . Owner ) ;
29
- public event Action OnPLayerLoadComplete ;
30
30
31
31
private void Awake ( )
32
32
{
You can’t perform that action at this time.
0 commit comments