Exemple #1
0
    protected virtual void LoadCurrentTexture()
    {
        isLoadEnd          = false;
        isEnableClick      = false;
        ScrollRect.enabled = false;
        ScrollRect.content.localPosition = this.startContentPosition;
        AdvTextureSettingData textureData = data.GetDataOpened(currentIndex);

        texture.LoadFile(Engine.DataManager.SettingDataManager.TextureSetting.LabelToGraphic(textureData.Key).Main);
    }
Exemple #2
0
    private void LoadCurrentTexture()
    {
        this.isLoadEnd     = false;
        this.isEnableClick = false;
        this.ScrollRect.set_enabled(false);
        this.ScrollRect.get_content().set_localPosition(this.startContentPosition);
        AdvTextureSettingData dataOpened = this.data.GetDataOpened(this.currentIndex);

        this.texture.LoadFile(this.Engine.DataManager.SettingDataManager.TextureSetting.LabelToGraphic(dataOpened.Key).Main);
    }
		/// <summary>
		/// テクスチャデータを追加
		/// </summary>
		/// <param name="data">テクスチャデータ</param>
		public void AddTextureData(AdvTextureSettingData data)
		{
			list.Add(data);
		}
Exemple #4
0
    void LoadCurrentTexture()
    {
        AdvTextureSettingData textureData = data.GetDataOpened(cuurentIndex);

        texture.SetTextureFile(Engine.DataManager.SettingDataManager.TextureSetting.LabelToGraphic(textureData.Key).Main, pixelsToUnits);
    }