Ejemplo n.º 1
0
    public void Start()
    {
        m_universe = FindObjectOfType <Universe>();
        m_universe.onDayChanged += ProcessDayChange;
        SelectableComponent select = GetComponentInChildren <SelectableComponent>();

        select.UpdateName(m_name);
        select.SetUnitSelectorText("0");
        select.SetScale(0.06f);
        select.SetShown(true);
        name = m_name;
        FindNearbySystems();
        outline.SetActive(false);
    }