示例#1
0
文件: Navi.cs 项目: wyuurla/006772
 // 함성을 삭제한다.
 public void                     destoryYell()
 {
     if (this.ready_yell != null)
     {
         this.ready_yell.destroy();
         this.ready_yell = null;
     }
 }
示例#2
0
文件: Navi.cs 项目: wyuurla/006772
    // 케이크 무한 제공 결과 순위 표시를 만든다.
    public YellDisp         createCakeCount(int rank, int account_global_index, int count)
    {
        YellDisp cake_count = null;

        do
        {
            GameObject go = this.ready_yell_prefab.instantiate();

            if (go == null)
            {
                break;
            }

            cake_count = go.GetComponent <YellDisp>();;

            cake_count.yell_words = this.yell_word_cake_count;

            cake_count.icon_texture = this.kabusan_icon_texture;
            cake_count.word         = YELL_WORD.CAKE_COUNT;
            cake_count.create();

            cake_count.getMoji(0).moji_texture = this.number_textures[rank];

            // 공간을 비우기 위한 더미.
            cake_count.getMoji(2).moji_mae_texture = null;
            cake_count.getMoji(2).moji_texture     = null;

            cake_count.getMoji(3).moji_texture = this.face_icon_textures[account_global_index];

            // 공간을 비우기 위한 더미.
            cake_count.getMoji(4).moji_mae_texture = null;
            cake_count.getMoji(4).moji_texture     = null;

            if (count >= 100)
            {
                cake_count.getMoji(5).moji_texture = this.number_textures[(count / 100) % 10];
            }
            else
            {
                cake_count.getMoji(5).moji_texture = null;
            }
            if (count >= 10)
            {
                cake_count.getMoji(6).moji_texture = this.number_textures[(count / 10) % 10];
            }
            else
            {
                cake_count.getMoji(6).moji_texture = null;
            }

            cake_count.getMoji(7).moji_texture = this.number_textures[(count / 1) % 10];
        } while(false);

        return(cake_count);
    }
示例#3
0
文件: Navi.cs 项目: wyuurla/006772
    // 'レディ!' 등을 표시한다.
    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);
    }
示例#4
0
文件: Navi.cs 项目: fotoco/006772
	// 'レディ!' 등을 표시한다.
	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);
	}
示例#5
0
文件: Navi.cs 项目: fotoco/006772
	// 함성을 삭제한다.
	public void			destoryYell()
	{
		if(this.ready_yell != null) {

			this.ready_yell.destroy();
			this.ready_yell = null;
		}
	}