Beispiel #1
0
 private void OnEnable()
 {
     Radar.RegisterRadarObject(gameObject, _ico);
 }
Beispiel #2
0
 void Start()
 {
     map        = GetComponentInParent <Radar>();
     rect       = GetComponent <RectTransform>();
     _playerPos = GameObject.FindGameObjectWithTag("Player").transform;
 }
Beispiel #3
0
 private void OnDisable()
 {
     Radar.RemoveRadarObject(gameObject);
 }