Example #1
0
    void Awake()
    {
        instance = this;

        UI.colorH = new Color(1f, .6f, 0f, 1f);
        UI.colorN = new Color(1f, .85f, .75f, 1f);

        uiPerk = gameObject.GetComponent <UIPerkMenu>();
        uiUnit = gameObject.GetComponent <UISetupUnit>();
    }
Example #2
0
    void Awake()
    {
        instance=this;

        UI.colorH=new Color(1f, .6f, 0f, 1f);
        UI.colorN=new Color(1f, .85f, .75f, 1f);

        uiPerk=gameObject.GetComponent<UIPerkMenu>();
        uiUnit=gameObject.GetComponent<UISetupUnit>();
    }