Skip to content

Instantly share code, notes, and snippets.

View lucashaley's full-sized avatar

Lucas Haley lucashaley

View GitHub Profile
using UnityEngine;
public Vector3 theVector;
using UnityEngine;
namespace Test
{
public class TestClass : MonoBehaviour
{
public int level;
}
}
@lucashaley
lucashaley / SheetsGeneratePDF.gs
Created June 23, 2019 23:27
Google Sheets code to PDF generation
// Simple function to send Weekly Status Sheets to contacts listed on the "Contacts" sheet in the MPD.
// Load a menu item called "Project Admin" with a submenu item called "Send Status"
// Running this, sends the currently open sheet, as a PDF attachment
function onOpen() {
var submenu = [{name:"Email Lecture Form", functionName:"createLecturePDF"}];
SpreadsheetApp.getActiveSpreadsheet().addMenu('Project Admin', submenu);
}
function createLecturePDF() {