UI换了很多,spine主视觉停用
This commit is contained in:
@@ -101,7 +101,7 @@ public class GlobalAfterimageRuntimeController : MonoBehaviour
|
||||
if (Instance != null)
|
||||
return Instance;
|
||||
|
||||
GlobalAfterimageRuntimeController existing = FindFirstObjectByType<GlobalAfterimageRuntimeController>();
|
||||
GlobalAfterimageRuntimeController existing = SceneObjectLookupCache.FindFirst<GlobalAfterimageRuntimeController>();
|
||||
if (existing != null)
|
||||
{
|
||||
Instance = existing;
|
||||
|
||||
@@ -196,7 +196,7 @@ public class GlobalDistortionRuntimeController : MonoBehaviour
|
||||
if (Instance != null)
|
||||
return Instance;
|
||||
|
||||
GlobalDistortionRuntimeController existing = FindFirstObjectByType<GlobalDistortionRuntimeController>();
|
||||
GlobalDistortionRuntimeController existing = SceneObjectLookupCache.FindFirst<GlobalDistortionRuntimeController>();
|
||||
if (existing != null)
|
||||
{
|
||||
Instance = existing;
|
||||
|
||||
@@ -192,7 +192,7 @@ public class GlobalGlitchRuntimeController : MonoBehaviour
|
||||
if (Instance != null)
|
||||
return Instance;
|
||||
|
||||
GlobalGlitchRuntimeController existing = FindFirstObjectByType<GlobalGlitchRuntimeController>();
|
||||
GlobalGlitchRuntimeController existing = SceneObjectLookupCache.FindFirst<GlobalGlitchRuntimeController>();
|
||||
if (existing != null)
|
||||
{
|
||||
Instance = existing;
|
||||
|
||||
@@ -101,7 +101,7 @@ public class GlobalMonochromeRuntimeController : MonoBehaviour
|
||||
if (Instance != null)
|
||||
return Instance;
|
||||
|
||||
GlobalMonochromeRuntimeController existing = FindFirstObjectByType<GlobalMonochromeRuntimeController>();
|
||||
GlobalMonochromeRuntimeController existing = SceneObjectLookupCache.FindFirst<GlobalMonochromeRuntimeController>();
|
||||
if (existing != null)
|
||||
{
|
||||
Instance = existing;
|
||||
|
||||
Reference in New Issue
Block a user