Switch to 6.3
This commit is contained in:
@@ -16,7 +16,7 @@ public class SDemoAnimation : MonoBehaviour
|
||||
get{
|
||||
if(_instance == null)
|
||||
{
|
||||
_instance = FindObjectOfType<SDemoAnimation>();
|
||||
_instance = FindFirstObjectByType<SDemoAnimation>();
|
||||
if(_instance == null) _instance = new GameObject("[SDev Animation]").AddComponent<SDemoAnimation>();
|
||||
}
|
||||
return _instance;
|
||||
|
||||
Reference in New Issue
Block a user