···9797 if (AngularSpeed != 0f) {
9898 float rotationChange = AngularSpeed * dt;
9999 rotation += rotationChange;
100100- direction = FastTrig.UnitCircle(rotation);
100100+ direction = Util.OnUnitCircle(rotation);
101101 }
102102103103 if (Speed != 0) {
···206206 }
207207 }
208208209209- if (!_isActive) {
209209+ if (!_isActive || to_deactivate) {
210210 DeactivateImmediate();
211211 return;
212212 }
···319319 /// If Danmaku needs to be deactivated in a moment when it is not being updated (i.e. when the game is paused), use <see cref="DeactivateImmediate"/> instead.
320320 /// </remarks>
321321 public void Deactivate() {
322322+ Debug.Log("Hello");
322323 to_deactivate = true;
323324 }
324325···454455 get { return rotation; }
455456 set {
456457 rotation = value;
457457- direction = FastTrig.UnitCircle(value);
458458+ direction = Util.OnUnitCircle(rotation);
458459 }
459460 }
460461