void UnitContextSetup() { if (_unitProvider.UnitUrlImgAllAvailable()) { OnBtnLastUnit(); } else// we assume it now exists, or user could not be here { OnBtnNewUnit(); } }
void TryEnableBtnToUnitScene() { if (_unitProvider.UnitUrlImgAllAvailable() || _imgProvider.CurrentImgUrlBothExist()) { BtnToUnitScene.interactable = true; } else { BtnToUnitScene.interactable = false; } }