private RectTransform GetNewIcon() { /*if (m_icon.gameObject.activeInHierarchy) * { * return m_icon; * } * else * {*/ return(aux.GetIndicatorPool().GetPooledObject().GetComponent <RectTransform>()); //} }
void Start() { aux = AuxManager.instance; mainCamera = aux.GetCamera(); m_icon = aux.GetIndicatorPool().GetPooledObject().GetComponent <RectTransform>(); }