private void Start() { shootAngle = -shootAngleOverTime.FirstValue(); cannonAdditionalRotation = Quaternion.AngleAxis(cannonAdditionalRotationAngle, Vector3.right); Signals.Get(out mortaShootSignal); Signals.Get(out allBulletsShotSignal); Signals.Get(out remainingItemsSignal); Signals.Get(out loadLevelSignal); Signals.Get(out restartLevelSignal); Signals.Get(out toMenuSignal); loadLevelSignal.AddListener(OnLoadLevel); restartLevelSignal.AddListener(OnRestartLevel); toMenuSignal.AddListener(OnRestartLevel); }