Fixed HumanoidPlayer singleton not working with Photon PUN
This commit is contained in:
parent
45cd4a16ef
commit
18735e37e2
@ -142,6 +142,13 @@ namespace Passer.Humanoid {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
[SerializeField]
|
||||
protected HumanoidNetworking.DebugLevel _debug = HumanoidNetworking.DebugLevel.Error;
|
||||
public HumanoidNetworking.DebugLevel debug {
|
||||
get { return _debug; }
|
||||
}
|
||||
|
||||
static HumanoidPlayer mInstance;
|
||||
public static HumanoidPlayer instance {
|
||||
get {
|
||||
@ -153,16 +160,6 @@ namespace Passer.Humanoid {
|
||||
return mInstance;
|
||||
}
|
||||
}
|
||||
//public static void StartStaticCoroutine(IEnumerator coroutineMethod) {
|
||||
// StartCoroutine(coroutineMethod);
|
||||
//}
|
||||
|
||||
#endif
|
||||
[SerializeField]
|
||||
protected HumanoidNetworking.DebugLevel _debug = HumanoidNetworking.DebugLevel.Error;
|
||||
public HumanoidNetworking.DebugLevel debug {
|
||||
get { return _debug; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user