Skip to content

Instantly share code, notes, and snippets.

View CrosshairType2.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
public class CrosshairType2 : MonoBehaviour
{
[SerializeField] List<Image> _crosshairParts;
View gist:c1b8a9c16fce4078aa1f006dbee4dd41
_item = _client.Workshop.CreateItem(526440, Workshop.ItemType.Community);
_item.Title = _songTitleInputField.text;
_item.Description = _songDescInputField.text;
_item.Visibility = Workshop.Editor.VisibilityType.Public;
_item.PreviewImage = _previewImagePath; //Should work without this
_item.Folder = @_folderPathInputField.text;// @"E:\Programming\Unity\Spel\vRhythm\vRhythm Editor\vRhythm Editor\TestUploadFolder";