This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
#if UNITY_EDITOR | |
[System.AttributeUsage(System.AttributeTargets.Field)] | |
public class RenameAttribute : PropertyAttribute | |
{ | |
public string[] renamePairs; | |
public RenameAttribute(params string[] renamePairs) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To prepare a Google Spreadsheet for this: | |
// make sure the spreadsheet has been published to web (FILE >> PUBLISH TO WEB), which is NOT the same as sharing to web | |
// To use in a different script: | |
// 1) include "using Google.GData.Client;" | |
// 2) include "using Google.GData.Spreadsheets;" | |
// 3) call "GDocService.GetSpreadsheet( string spreadsheetKey );", see DebugTest section for sample usage | |
// uncomment to enable debug output | |
// #define debugTest |