private void Awake() { // cached grid = GarageManager.Main.grid; scaleSpeed = (1f - deselectedScale) / toggleTime; rotationSpeed = 180f / toggleTime; SetColor(0); primarySelected = false; SetColor(1); primarySelected = true; }
public void Initialize() { grid = GarageManager.Main.grid; actionButtons.WeaponEvent += OnWeaponPressed; actionButtons.AugEvent += OnAugPressed; extraWeapons = new List<AbilityButton>(); extraAugs = new List<AbilityButton>(); openMenu = Abilities.Weapon; RegisterActive(); }
public CursorUpdatedArgs(ConstructionGrid.CursorStatuses previous, ConstructionGrid.CursorStatuses current) { this.previous = previous; this.current = current; }