Esempio n. 1
0
 void Awake()
 {
     if (Application.isPlaying)
     {
         baseMapParameters.OnEnable(transform, OnMarkerAdd, null);
     }
 }
Esempio n. 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);
     // }
     // }
 }
Esempio n. 3
0
 void Awake()
 {
     baseMapParameters.OnEnable(transform, OnMarkerAdd, null);
 }