Fixed HumanoidPreferences reference to OnLoadHumanoidPlayerPun
This commit is contained in:
parent
6d7f56e289
commit
c97a54a009
@ -154,21 +154,21 @@ namespace Passer.Humanoid {
|
|||||||
|
|
||||||
VisitorSceneInspector();
|
VisitorSceneInspector();
|
||||||
|
|
||||||
if (reload) {
|
// if (reload) {
|
||||||
reload = false;
|
// reload = false;
|
||||||
#if hUNET
|
//#if hUNET
|
||||||
OnLoadHumanoidPlayerUnet.CheckHumanoidPlayer();
|
// OnLoadHumanoidPlayerUnet.CheckHumanoidPlayer();
|
||||||
#endif
|
//#endif
|
||||||
#if hPHOTON1 || hPHOTON2
|
//#if hPHOTON1 || hPHOTON2
|
||||||
OnLoadHumanoidPlayerPun.CheckHumanoidPlayer();
|
// OnLoadHumanoidPlayerPun.CheckHumanoidPlayer();
|
||||||
#endif
|
//#endif
|
||||||
#if hBOLT
|
//#if hBOLT
|
||||||
OnLoadHumanoidPlayerBolt.CheckHumanoidPlayer();
|
// OnLoadHumanoidPlayerBolt.CheckHumanoidPlayer();
|
||||||
#endif
|
//#endif
|
||||||
#if hMIRROR
|
//#if hMIRROR
|
||||||
OnLoadHumanoidPlayerMirror.CheckHumanoidPlayer();
|
// OnLoadHumanoidPlayerMirror.CheckHumanoidPlayer();
|
||||||
#endif
|
//#endif
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
keywords = new HashSet<string>(
|
keywords = new HashSet<string>(
|
||||||
new[] { "Humanoid", "Oculus", "SteamVR" }
|
new[] { "Humanoid", "Oculus", "SteamVR" }
|
||||||
@ -189,9 +189,11 @@ namespace Passer.Humanoid {
|
|||||||
foreach (string visitor in HumanoidVisitors.visitors) {
|
foreach (string visitor in HumanoidVisitors.visitors) {
|
||||||
string name = visitor;
|
string name = visitor;
|
||||||
ix = name.LastIndexOf('/');
|
ix = name.LastIndexOf('/');
|
||||||
name = name.Substring(ix + 1);
|
if (ix >= 0) {
|
||||||
name = name.Substring(0, name.Length - 6); // remove .unity
|
name = name.Substring(ix + 1);
|
||||||
visitorNames[i++] = name;
|
name = name.Substring(0, name.Length - 6); // remove .unity
|
||||||
|
visitorNames[i++] = name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
string visitorSceneName = HumanoidPreferences.visitorSceneName;
|
string visitorSceneName = HumanoidPreferences.visitorSceneName;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "com.passervr.humanoidcontrol_free",
|
"name": "com.passervr.humanoidcontrol_free",
|
||||||
"version": "4.1.1-beta",
|
"version": "4.1.2-beta",
|
||||||
"displayName": "Humanoid Control 4 Free",
|
"displayName": "Humanoid Control 4 Free",
|
||||||
"description": "Humanoid Control is the next generation of human character control. It will provide you with an effortless setup for having animated characters in your environments.",
|
"description": "Humanoid Control is the next generation of human character control. It will provide you with an effortless setup for having animated characters in your environments.",
|
||||||
"unity": "2019.4",
|
"unity": "2019.4",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user