Пример #1
0
    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;
    }
Пример #2
0
    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;
    }