void Start() { type = scenarioTypeList.Find(i => i.textAsset.name == PurchaseManager.PurchaseType.ToString()); textAsset = type.textAsset; backGround.sprite = type.backGround[backGroundID]; text = GetComponent <Text>(); text.text = ""; tapImage.enabled = false; }
void Start() { type = scenarioTypeList.Find(i => i.textAsset.name == PurchaseManager.PurchaseType.ToString()); textAsset = type.textAsset; backGround.sprite = type.backGround[backGroundID]; text = GetComponent<Text>(); text.text = ""; tapImage.enabled = false; }