Advertisement
Guest User

Untitled

a guest
Oct 12th, 2014
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. public class WorkshopControlPanel : MonoBehaviour
  2. {
  3. // Fields
  4. [CompilerGenerated]
  5. private static Action <>f__am$cache8;
  6. private const string AVATAR_PREVIEW = "Avatar Preview";
  7. private const string BACK_TO_TITLE = "Back to title";
  8. [SerializeField]
  9. private Browser browser;
  10. private const string BUILD_NEXT_SHIP = "Build next ship";
  11. private Dictionary<string, Action> callbacks;
  12. private const string CLEAR_HEADWEAR = "Clear headwear";
  13. private string[] currentLabels;
  14. private const string EXIT_TOOL = "Exit tool";
  15. private const string FEMALE = "Female";
  16. private static WorkshopControlPanel instance;
  17. private const string LOAD_DECALS = "Load decals";
  18. private const string LOAD_GOGGLES = "Load goggles";
  19. private const string LOAD_HAIR = "Load hair";
  20. private const string LOAD_HATS = "Load hats";
  21. private const string LOAD_HEADWEAR = "Load headwear";
  22. private string loadedFilePath;
  23. private string loadedHairPath;
  24. [SerializeField]
  25. private string loadingFolderPath;
  26. private const string MALE = "Male";
  27. [SerializeField]
  28. private float meshScaleFactor;
  29. private const string PICK_HAT_COLOR = "Pick hat's color";
  30. private const string PUBLISH_TO_WORKSHOP = "Publish to workshop";
  31. private const string SHIP_PREVIEW = "Ship Preview";
  32.  
  33. // Methods
  34. public WorkshopControlPanel();
  35. private void Awake();
  36. private void Destroy();
  37. private void LoadDecalTexture(string filePath);
  38. private void OnGUI();
  39. private void OpenGogglesByObj(string filePath);
  40. private void OpenHairByObj(string filePath);
  41. private void OpenHatByObj(string filePath);
  42. private void PostProcessObjMesh(ref Mesh mesh);
  43. private void ReloadHair();
  44. private void SetHatColor(Color primaryColor);
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement