File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 22 "name": "ReadyPlayerMe.NetcodeSupport.Editor",
33 "rootNamespace": "",
44 "references": [],
5- "includePlatforms": [],
5+ "includePlatforms": [
6+ "Editor"
7+ ],
68 "excludePlatforms": [],
79 "allowUnsafeCode": false,
810 "overrideReferences": false,
Original file line number Diff line number Diff line change @@ -12,21 +12,21 @@ namespace ReadyPlayerMe.NetcodeSupport
1212 [ RequireComponent ( typeof ( NetworkObject ) ) ]
1313 public class NetworkPlayer : NetworkBehaviour
1414 {
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+
1518 [ SerializeField ] private AvatarConfig config ;
1619
20+ public static string InputUrl = string . Empty ;
21+ public NetworkVariable < FixedString64Bytes > avatarUrl = new NetworkVariable < FixedString64Bytes > ( writePerm : NetworkVariableWritePermission . Owner ) ;
22+ public event Action OnPLayerLoadComplete ;
23+
1724 private Animator animator ;
1825
1926 private Transform leftEye ;
2027 private Transform rightEye ;
2128
2229 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 ;
3030
3131 private void Awake ( )
3232 {
You can’t perform that action at this time.
0 commit comments