Exemplo n.º 1
0
 private void DrawAtlasHeader(string atlasName, RSAtlasHelper.Device device)
 {
     GUILayout.BeginHorizontal();
     {
         GUILayout.Space(16.0f);
         GUILayout.Label(atlasName);
         if (GUILayout.Button("Refresh", GUILayout.Width(80f)))
         {
             RSAtlasHelper.CreateAtlases(atlasName, device);
         }
         if (GUILayout.Button("Set to HD", GUILayout.Width(80f)))
         {
             RSAtlasHelper.RefreshAtlasReference(atlasName, device, RSAtlasHelper.AtlasType.HD);
         }
         if (GUILayout.Button("Set to NULL", GUILayout.Width(80f)))
         {
             RSAtlasHelper.RefreshAtlasReference(atlasName, device, RSAtlasHelper.AtlasType.Ref);
         }
         if (GUILayout.Button("Set to SD", GUILayout.Width(80f)))
         {
             RSAtlasHelper.RefreshAtlasReference(atlasName, device, RSAtlasHelper.AtlasType.SD);
         }
     }
     GUILayout.EndHorizontal();
 }