Esempio n. 1
0
    // 'レディ!' 등을 표시한다.
    public void             dispatchYell(YELL_WORD word)
    {
        do
        {
            if (this.ready_yell != null)
            {
                break;
            }

            GameObject go = this.ready_yell_prefab.instantiate();

            if (go == null)
            {
                break;
            }

            this.ready_yell = go.GetComponent <YellDisp>();
            this.ready_yell.icon_texture = this.toufuya_icon_texture;
            this.ready_yell.word         = word;

            switch (word)
            {
            default:
            case YELL_WORD.READY:
            {
                this.ready_yell.yell_words = this.yell_word_ready;
            }
            break;

            case YELL_WORD.OYATU:
            {
                this.ready_yell.yell_words = this.yell_word_oyatu;
            }
            break;

            case YELL_WORD.OSIMAI:
            {
                this.ready_yell.yell_words = this.yell_word_osimai;
            }
            break;

            case YELL_WORD.TIMEUP:
            {
                this.ready_yell.yell_words = this.yell_word_timeup;
            }
            break;
            }

            this.ready_yell.create();
        } while(false);
    }
Esempio n. 2
0
	// 'レディ!' 등을 표시한다.
	public void		dispatchYell(YELL_WORD word)
	{
		do {

			if(this.ready_yell != null) {

				break;
			}

			GameObject	go = this.ready_yell_prefab.instantiate();

			if(go == null) {

				break;
			}

			this.ready_yell = go.GetComponent<YellDisp>();
			this.ready_yell.icon_texture = this.toufuya_icon_texture;
			this.ready_yell.word = word;

			switch(word) {

				default:
				case YELL_WORD.READY:
				{
					this.ready_yell.yell_words = this.yell_word_ready;
				}
				break;

				case YELL_WORD.OYATU:
				{
					this.ready_yell.yell_words = this.yell_word_oyatu;
				}
				break;

				case YELL_WORD.OSIMAI:
				{
					this.ready_yell.yell_words = this.yell_word_osimai;
				}
				break;

				case YELL_WORD.TIMEUP:
				{
					this.ready_yell.yell_words = this.yell_word_timeup;
				}
				break;
			}

			this.ready_yell.create();

		} while(false);
	}