Updaate
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Invector.vCharacterController
|
||||
{
|
||||
if (_instance == null)
|
||||
{
|
||||
_instance = GameObject.FindObjectOfType<vHUDController>();
|
||||
_instance = GameObject.FindFirstObjectByType<vHUDController>();
|
||||
//Tell unity not to destroy this object when loading a new scene
|
||||
//DontDestroyOnLoad(_instance.gameObject);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user