Skip to content

Instantly share code, notes, and snippets.

//Work-in-progress, all this runs right now is a UI window
/*MapSave v 1.0, 03.21.2015
Hadidjah Chamberlin
Contact: hadidjah.com / hadidjah@gmail.com
Licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Good luck, have fun!
*/
// Only run in Photoshop
using UnityEngine;
using System.Collections;
public class Loot_Customizer : MonoBehaviour {
//--------------------PICKUP MANAGER--------------------//
//By default, finds GameObjects with the tag "Player"
public bool detectPlayerTag = true;
/*Hadidjah Chamberlin. Contact: hadidjah@gmail.com
*
* Small Standard Treasure Chest Customization Script
* For more information and documentation: www.hadidjah.com/unity/Chest_StandardSmall.php
*/
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
// Only run in Photoshop
#target photoshop
//warn if no documents are open
if (documents.length == 0)
{
alert("No documents are open! Please open the file you want to make a flipbook out of and run again!", "No File Found");
}
//Pull some intial variables