public void Init() { Setting = GameManager.I_GM.ChosenSetting; PuzzleDatas = Setting.GetPuzzleDatas(); Alarm_Data = Setting.GetAlarmData(); selectable = GetComponent <SelectableBehaviour>(); selectable.Init(null, SelectionState.Selected); if (AlarmPuzzle) { AlarmPuzzle.Init(selectable); AlarmPuzzle.GetComponent <PuzzleALARM>().Setup(Alarm_Data); AlarmPuzzle.GetComponent <PuzzleALARM>().Init(); } if (Altimetro) { Altimetro.GetComponent <SelectableBehaviour>().Init(selectable); Altimetro.Init(this); } camCtrl = Camera.main.GetComponent <CameraController>(); camCtrl.isMoveFreeCam = false; camCtrl.Init(); foreach (var item in OtherSelectable) { item.Init(selectable); } //Sceglie i puzzle tra quelli possibili trai i dati ricevuti CreateNewPuzzleSet(); Plane.StartFall(Setting.StartingAltitude); }