public void Activate(Hex newHex, Hex oldHex) { gameObject.SetActive(true); anim = GetComponent<Animator>(); ClearPanel(); anim.Play("MigrationPanelOpen"); migrateButtonState = migrationState.NONE; targetHex = newHex; startHex = oldHex; }
public void SetMigrateState() { migrateButtonState = migrationState.MIGRATE; bobbleControl.ActivateBobbles(1); }
public void SetExpandState() { migrateButtonState = migrationState.EXPAND; bobbleControl.ActivateBobbles(3); }