public DG_ViewModel(DataGrid dg, string tN, Window oW, LoadingIcon lI) : base(dg, tN, oW, lI) { #pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed InitializeDatasetAsync(); #pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed }
void Start() { //Safe all Children loadingScreenElements = GetComponentsInChildren<MaskableGraphic>(); //Get the TextComponent loadingScreenText = GetComponentInChildren<Text>(); //Get the LoadingIcon loadingWheel = GetComponentInChildren<LoadingIcon>(); //Safe the Color fontColor = loadingScreenText.color; destinationColorText = fontColor; }