private void Update() { var json = BrickManager.GetJSON(); if (json.Equals(_json)) { return; } _json = json; BrickManager.InitBlocks(_json, transform, !Application.isPlaying); }