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