public override void Init() { base.Init(); _presenter = GetComponentInChildren <SingleBlockPresenter>(); _presenter.Init(); _presenter.DrawBlock(PresentedBlock); }
void DrawBlock() { var block = ServerChunkManager.Instance.GetBlockIn(BlockPos); Presenter.gameObject.SetActive(!block.IsEmpty()); Presenter.transform.position = BlockPos; Presenter.DrawBlock(block); }