UI换了很多,spine主视觉停用
This commit is contained in:
@@ -59,7 +59,7 @@ namespace AiryUI
|
||||
{
|
||||
InstantiateController ();
|
||||
|
||||
manager = Object.FindAnyObjectByType<EscButtonController> ();
|
||||
manager = SceneObjectLookupCache.FindAny<EscButtonController> ();
|
||||
|
||||
if ( manager != null )
|
||||
{
|
||||
@@ -85,7 +85,7 @@ namespace AiryUI
|
||||
|
||||
private void InstantiateController ()
|
||||
{
|
||||
if ( Object.FindAnyObjectByType<EscButtonController> () == null )
|
||||
if ( SceneObjectLookupCache.FindAny<EscButtonController> () == null )
|
||||
{
|
||||
GameObject controller = new GameObject ( "[Airy UI] Esc Button Controller" );
|
||||
controller.AddComponent<EscButtonController> ();
|
||||
|
||||
Reference in New Issue
Block a user