示例#1
0
 void Awake()
 {
     if (Application.isPlaying)
     {
         baseMapParameters.OnEnable(transform, OnMarkerAdd, null);
     }
 }
示例#2
0
 // protected override void OnEnable() {
 //     // if (Application.isPlaying)
 //     baseMapParameters.OnEnable(transform, OnMarkerAdd, null);
 //     base.OnEnable();
 // }
 void Awake()
 {
     // if (Application.isPlaying) {
     // if (SetUIComponentInstance<UIMiniMap>(ref _instance, this)) {
     baseMapParameters.OnEnable(transform, OnMarkerAdd, null);
     // UIManager.HideUI(this);
     // }
     // }
 }
示例#3
0
 void Awake()
 {
     baseMapParameters.OnEnable(transform, OnMarkerAdd, null);
 }