void Awake() { if (!RadarSingle.Instance) { Instance = this; } else { Destroy(gameObject); return; } Enemies = new List<Transform>(); Friends = new List<Transform>(); EnemyBlips = new List<UISprite>(); }
void Awake() { if (!RadarSingle.Instance) { Instance = this; } else { Destroy(gameObject); return; } Enemies = new List <Transform>(); Friends = new List <Transform>(); EnemyBlips = new List <UISprite>(); }