Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class WorkshopControlPanel : MonoBehaviour
- {
- // Fields
- [CompilerGenerated]
- private static Action <>f__am$cache8;
- private const string AVATAR_PREVIEW = "Avatar Preview";
- private const string BACK_TO_TITLE = "Back to title";
- [SerializeField]
- private Browser browser;
- private const string BUILD_NEXT_SHIP = "Build next ship";
- private Dictionary<string, Action> callbacks;
- private const string CLEAR_HEADWEAR = "Clear headwear";
- private string[] currentLabels;
- private const string EXIT_TOOL = "Exit tool";
- private const string FEMALE = "Female";
- private static WorkshopControlPanel instance;
- private const string LOAD_DECALS = "Load decals";
- private const string LOAD_GOGGLES = "Load goggles";
- private const string LOAD_HAIR = "Load hair";
- private const string LOAD_HATS = "Load hats";
- private const string LOAD_HEADWEAR = "Load headwear";
- private string loadedFilePath;
- private string loadedHairPath;
- [SerializeField]
- private string loadingFolderPath;
- private const string MALE = "Male";
- [SerializeField]
- private float meshScaleFactor;
- private const string PICK_HAT_COLOR = "Pick hat's color";
- private const string PUBLISH_TO_WORKSHOP = "Publish to workshop";
- private const string SHIP_PREVIEW = "Ship Preview";
- // Methods
- public WorkshopControlPanel();
- private void Awake();
- private void Destroy();
- private void LoadDecalTexture(string filePath);
- private void OnGUI();
- private void OpenGogglesByObj(string filePath);
- private void OpenHairByObj(string filePath);
- private void OpenHatByObj(string filePath);
- private void PostProcessObjMesh(ref Mesh mesh);
- private void ReloadHair();
- private void SetHatColor(Color primaryColor);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement