-
Notifications
You must be signed in to change notification settings - Fork 16
Home
Robert Yang edited this page Apr 4, 2019
·
7 revisions
- download and import a unitypackage from Releases
- in the Unity menu bar, click
Bobbin > Add URLs and Settings
- in the BobbinSettings in the Unity inspector, click the "Refresh" button in the top-left (see image below) to force-refresh the example files
- in your Unity project, check in
Assets/Example Files/
to see the sample Google Doc .TXT and Google Sheets .CSV that Bobbin downloaded for you - for your convenience, maybe enable "Auto-refresh", so that Bobbin will automatically download files every __ seconds
- if you want to disable refreshing certain files (because, for example, maybe you made some local changes to the document that you want to preserve) then just uncheck the checkbox, and Bobbin will stop refreshing that file
For a version with images, see this document.
- Create a Google Doc
- Click the “Share” button in the upper-right corner of the Google Docs screen
- Click “Get shareable link” in the upper-right of the share dialog
- Copy the share link, or click “Copy link”. (NOTE: if link sharing is already on, then you could also copy the URL from your browser’s address bar too.)
- In the Unity menu bar, click
Bobbin > Add URLs and Settings
- In the Unity inspector, click “Add New File”
- Paste the link from Step 4 into the URL textbox
- Click “Save As...” button and pick somewhere to save it in your Project folder
- (Bobbin will now refresh and download your file)
- no runtime support (yet)
- no Google Sheets JSON or XML support (yet)
- Bobbin has no OAuth login handling, nor write access to documents... it just grabs the contents of the HTTP GET call, and puts the data into a file, and that's it
- URLs and file bindings are saved in
Assets/Bobbin/Editor/BobbinSettings.asset
- edit
Assets/Bobbin/Editor/Scripts/BobbinSettings.cs
to add more file types to the FileType enum- (the UnityEditor SavePanel dialog requires a file extension, so this was the best UX I could think of, sorry)
- my name is Robert
- "A bobbin is a spindle or cylinder, with or without flanges, on which wire, yarn, thread or film is wound"
- "The term 'bobbins' also appears in northern English slang, meaning 'rubbish', i.e. something worthless or incorrect."