public void init() { player = Player.CurrentPlayer == null?Player.CreatePlayer() : Player.CurrentPlayer; statistics = new StatisticSystem(player.attributes, player.inventory); ResetStatistics(); OnStatisticChange = statistics.onStatisticChange; SpriteHolder.GetComponent <SpriteRenderer>().color = Color.white; rigidbody = GetComponent <Rigidbody2D>(); TimeManager.Instance.endSlowMotion(); fsm = fsm.Initialize(this); fsm.Boot(); //GUIManager.Singleton.Open("MainMenu", this); //StartDialogue(10102001); }