Skip to content

Instantly share code, notes, and snippets.

View kurtkaiser's full-sized avatar

Kurt Kaiser kurtkaiser

View GitHub Profile
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
@kurtkaiser
kurtkaiser / PlayerScript.cs
Created August 28, 2020 01:00
Make Your First 3D Game Fast - Block Maze Racer - Free Assets and Code - player script for video tutorial
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerScript : MonoBehaviour
{
public Rigidbody rigid;
public float moveForce = 50.0f;
public CameraScript mainCamera;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SocialPlatforms.Impl;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
// Game Buttons
@kurtkaiser
kurtkaiser / Code.gs
Created July 26, 2020 21:15
Google Calendar Appointment Booking System Owner Approval
// Calendar Reservation Approval System
// Kurt Kaiser, 2018
// All Rights Reserved
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var lastRow = sheet.getLastRow();
var lastColumn = sheet.getLastColumn();
// Calendar to output requests
@kurtkaiser
kurtkaiser / Form.html
Created July 25, 2020 21:48
Easy Google Calendar Room Reservation System - No Coding Required - Google Apps Script for Video Tutorial
<!DOCTYPE html>
<html>
<head>
<base target="_top">
<style>
body{
background:#d4ebf2;
font-size: 15px;
}
@kurtkaiser
kurtkaiser / Email.html
Created July 25, 2020 21:48
Easy Google Calendar Room Reservation System - No Coding Required - Google Apps Script for Video Tutorial
<!DOCTYPE html>
<html>
<head>
<style>
.box {
text-align: center;
font-family: Helvetica;
width: 300px;
margin: 8px;
margin-left: auto;
@kurtkaiser
kurtkaiser / Code.gs
Created July 25, 2020 21:45
Easy Google Calendar Room Reservation System - No Coding Required - Google Apps Script for Video Tutorial
// Reservation Application
// Kurt Kaiser
// kurtkaiser.us
// CC0 / Public Domain
// Tutorial: youtu.be/3ms0YrGMuls
// Declare global variables
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var lastRow = sheet.getLastRow();
@kurtkaiser
kurtkaiser / EnemyScript.cs
Last active July 25, 2020 21:11
Enemy script for top-down tank vs robot shooter - Unity tutorial
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyScript : MonoBehaviour
{
private Rigidbody2D rb;
float xVelocity = 3f;
float yVelocity = 0f;
int direction = 1;
@kurtkaiser
kurtkaiser / Apps Script Properties Service Demo.gs
Created July 12, 2020 02:24
Google Apps Script Properties Service Video Demo
// Code.gs by Kurt Kaiser
var scriptProperties = PropertiesService.getScriptProperties();
function onOpen() {
var ui = SpreadsheetApp.getUi();
ui.createMenu('Properties Demo')
.addItem('Show Sidebar', 'showFormSidebar')
.addToUi();
}
@kurtkaiser
kurtkaiser / BattleRPGFighterAction.cs
Created July 2, 2020 19:53
RPG battle system, this game was built for a YouTube tutorial.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FighterAction : MonoBehaviour
{
private GameObject hero;
private GameObject enemy;