public void SetupSettings(BullDozerConfig config, BullDozer bullDozer) { this.Config = config; _animSec = config.AnimationSpeed; _bullDozer = bullDozer; _bullDozerView.SetupView(config.Skins, _bullDozer); }
public void Construct(Transform spawnPoint, BullDozerConfig config) { transform.position = spawnPoint.position; transform.parent = spawnPoint; _bullDozeranim.SetAnimSettings(config.AnimationSpeed); }