// Use this for initialization public GUIManager() { // Going to make the layout of the screen in 6s sizeDivisor = 6; manaInvasion = new ManaInvasion (Screen.width - Screen.width/sizeDivisor, 0, Screen.width/sizeDivisor,Screen.height/sizeDivisor); /* timeZone = "Future"; loadCount = 0; width = 300; height = 120; loadTime = 5; x = 0; y = Screen.height-height;*/ int height = 120; futureButton = new FutureButton("Future", 0, 300, height, 5, 0, Screen.height - height); /* width = 100; height = 90; spacing = 10;*/ rollingButton = new RollingButton (100,90,10); selectorOverlay = new SelectorOverlay(); castSpell = new CastSpell(); readyButton = new ReadyButton (Screen.width - Screen.width/sizeDivisor, Screen.height-Screen.height/sizeDivisor, Screen.width/sizeDivisor,Screen.height/sizeDivisor); infoWindow = new InfoWindow (Screen.width - Screen.width/sizeDivisor, Screen.height-Screen.height/sizeDivisor*3, Screen.width/sizeDivisor, Screen.height/sizeDivisor*2); }
void Start() { _button = GetComponent <RollingButton>(); StartCoroutine(nameof(ActivePulseCheck)); }