public bool dayLightSaving; // default is false, true -> daylight saving -> deduct an hour from localtime during calculation void Awake() { xmlPath = Application.dataPath + "/sunlightWidgetData.xml"; if (Instance == null) { Instance = this; } else { Debug.LogError("Error: two instances of sunlightwidget"); } }
void Awake() { xmlPath = Application.dataPath + "/sunlightWidgetData.xml"; if(Instance == null){ Instance = this; } else{ Debug.LogError("Error: two instances of sunlightwidget"); } }