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); }
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); }
void LoadCurrentTexture() { AdvTextureSettingData textureData = data.GetDataOpened(cuurentIndex); texture.SetTextureFile(Engine.DataManager.SettingDataManager.TextureSetting.LabelToGraphic(textureData.Key).Main, pixelsToUnits); }