Example #1
0
 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
 }
Example #2
0
    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;
    }