private void setPulsatorSpeed() { if (_scalePulsator != null) { _scalePulsator.SetSpeed(3F); } }
private void OnEnable() { if (_pulsator == null) { _pulsator = new Pulsator(); } _pulsator.SetSpeed(speed); _pulsator.pulseValue = pulseHeight; _pulsator.warmValue = warmHeight; _pulsator.restValue = restHeight; }
private void OnEnable() { if (_pulsator == null) { _pulsator = new Pulsator(); } _pulsator.SetSpeed(speed); _pulsator.pulse = pulseHeight; _pulsator.active = activeHeight; _pulsator.rest = restHeight; }