主界面添加,许多bug修复。祝贺黑盒1如期开始
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
[DefaultExecutionOrder(-100)]
|
||||
public class UIAutoRegisterSound : MonoBehaviour
|
||||
{
|
||||
void Awake()
|
||||
{
|
||||
// Register the entire hierarchy of this prefab
|
||||
UISystemBootstrap.RegisterHierarchy(gameObject);
|
||||
|
||||
// Remove this component as its job is done
|
||||
Destroy(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user