void Start() { jsonString = Resources.Load<TextAsset>("Ending").text; EndingData = JsonMapper.ToObject<LitJson.JsonData>(jsonString); load = GetComponent<Load>(); calcEnding = GetComponent<CalcEnding>(); wonGame = false; testEndingPanel.SetActive(false); }
void Awake() { instance = this; SupportBar.fillAmount = 0; SupportFrame.fillAmount = 0; OppositionBar.fillAmount = 0; OppositionFrame.fillAmount = 0; pause = 0.5f; }