Fixed HumanoidPreferences reference to OnLoadHumanoidPlayerPun
This commit is contained in:
		
							parent
							
								
									6d7f56e289
								
							
						
					
					
						commit
						c97a54a009
					
				@ -154,21 +154,21 @@ namespace Passer.Humanoid {
 | 
			
		||||
 | 
			
		||||
                    VisitorSceneInspector();
 | 
			
		||||
 | 
			
		||||
                    if (reload) {
 | 
			
		||||
                        reload = false;
 | 
			
		||||
#if hUNET
 | 
			
		||||
                                OnLoadHumanoidPlayerUnet.CheckHumanoidPlayer();
 | 
			
		||||
#endif
 | 
			
		||||
#if hPHOTON1 || hPHOTON2
 | 
			
		||||
                                OnLoadHumanoidPlayerPun.CheckHumanoidPlayer();
 | 
			
		||||
#endif
 | 
			
		||||
#if hBOLT
 | 
			
		||||
                                OnLoadHumanoidPlayerBolt.CheckHumanoidPlayer();
 | 
			
		||||
#endif
 | 
			
		||||
#if hMIRROR
 | 
			
		||||
                                OnLoadHumanoidPlayerMirror.CheckHumanoidPlayer();
 | 
			
		||||
#endif
 | 
			
		||||
                    }
 | 
			
		||||
//                    if (reload) {
 | 
			
		||||
//                        reload = false;
 | 
			
		||||
//#if hUNET
 | 
			
		||||
//                                OnLoadHumanoidPlayerUnet.CheckHumanoidPlayer();
 | 
			
		||||
//#endif
 | 
			
		||||
//#if hPHOTON1 || hPHOTON2
 | 
			
		||||
//                                OnLoadHumanoidPlayerPun.CheckHumanoidPlayer();
 | 
			
		||||
//#endif
 | 
			
		||||
//#if hBOLT
 | 
			
		||||
//                                OnLoadHumanoidPlayerBolt.CheckHumanoidPlayer();
 | 
			
		||||
//#endif
 | 
			
		||||
//#if hMIRROR
 | 
			
		||||
//                                OnLoadHumanoidPlayerMirror.CheckHumanoidPlayer();
 | 
			
		||||
//#endif
 | 
			
		||||
//                    }
 | 
			
		||||
                },
 | 
			
		||||
                keywords = new HashSet<string>(
 | 
			
		||||
                    new[] { "Humanoid", "Oculus", "SteamVR" }
 | 
			
		||||
@ -189,9 +189,11 @@ namespace Passer.Humanoid {
 | 
			
		||||
            foreach (string visitor in HumanoidVisitors.visitors) {
 | 
			
		||||
                string name = visitor;
 | 
			
		||||
                ix = name.LastIndexOf('/');
 | 
			
		||||
                name = name.Substring(ix + 1);
 | 
			
		||||
                name = name.Substring(0, name.Length - 6); // remove .unity
 | 
			
		||||
                visitorNames[i++] = name;
 | 
			
		||||
                if (ix >= 0) {
 | 
			
		||||
                    name = name.Substring(ix + 1);
 | 
			
		||||
                    name = name.Substring(0, name.Length - 6); // remove .unity
 | 
			
		||||
                    visitorNames[i++] = name;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            string visitorSceneName = HumanoidPreferences.visitorSceneName;
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
	"name": "com.passervr.humanoidcontrol_free",
 | 
			
		||||
	"version": "4.1.1-beta",
 | 
			
		||||
	"version": "4.1.2-beta",
 | 
			
		||||
	"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.",
 | 
			
		||||
	"unity": "2019.4",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user