Example #1
0
 private void EnsureMinimumNumberOfTextures(ReorderableIconLayerList list)
 {
     while (list.textures.Count < list.minItems)
     {
         list.textures.Add(null);
     }
 }
Example #2
0
 public override void OnEnable(PlayerSettingsEditor editor)
 {
     this.splashScreenProperties = new SerializedProperty[splashScreenTypes.Length];
     for (int i = 0; i < splashScreenTypes.Length; i++)
     {
         this.splashScreenProperties[i] = editor.FindPropertyAssert(splashScreenTypes[i].serializationName);
     }
     this.m_SmallIconsLayers = new ReorderableIconLayerList();
     this.m_SmallIconsLayers.headerString = LocalizationDatabase.GetLocalizedString("Small icon layers");
     this.m_SmallIconsLayers.minItems     = 2;
     this.m_SmallIconsLayers.SetImageSize(400, 240);
     if (< > f__am$cache0 == null)
     {