示例#1
0
 private void Awake()
 {
     instance = this;
     innerBar.type = Image.Type.Filled;
     innerBar.fillMethod = Image.FillMethod.Horizontal;
     gameObject.SetActive(false);
 }
示例#2
0
 public void OnDestroy()
 {
     instance = null;
 }