コード例 #1
0
    void Start()
    {
        categoryName        = globalData.getCategory();
        uiTxtLevelName.text = categoryName;

        ansCards = GetComponent <txtList> ();
        StartCoroutine(Init());
    }
コード例 #2
0
    void Start()
    {
        categoryName = globalData.getCategory();
        flashCards   = GetComponent <txtList> ();
        StartCoroutine(Init());
        images = btnSound.GetComponentsInChildren <Image> ();

        panel.SetActive(false);
    }
コード例 #3
0
    // Use this for initialization
    void Start()
    {
        categoryName = globalData.getCategory();

        txtScore.text = "Score: " + score;

        uiTxtLevelName.text = categoryName;
        matchCards          = GetComponent <txtList> ();
        StartCoroutine(Init());
    }
コード例 #4
0
    void Start()
    {
        minX = Camera.main.ViewportToWorldPoint(new Vector3(0, 1, 9)).x;
        maxX = Camera.main.ViewportToWorldPoint(new Vector3(1, 1, 9)).x;

        gameOver = false;

        b.gameObject.SetActive(false);

        score = 0;
        UpdateScore();
        categoryName = globalData.getCategory();
        spaceCards   = GetComponent <txtList> ();
        StartCoroutine(Init());
        gameOverText.gameObject.SetActive(false);
    }
コード例 #5
0
 void Start()
 {
     categoryName = globalData.getCategory();
     flashCards   = GetComponent <txtList> ();
     StartCoroutine(Init());
 }
コード例 #6
0
 void Awake()
 {
     btnBackGo        = GameObject.Find("btnBack");
     txtListComponent = GetComponent <txtList> ();
     StartCoroutine(ShowList("Main"));
 }