- Adopted from: https://stubby4j.com/docs/admin_portal.html
- Inspired by Swagger API docs style & structure: https://petstore.swagger.io/#/pet
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
#!/bin/zsh | |
# Check if ExifTool is installed | |
if ! command -v exiftool &> /dev/null; then | |
echo "Error: ExifTool is not installed. Please install it before running this script." | |
echo "You can install it using Homebrew: brew install exiftool" | |
exit 1 | |
fi | |
# Check if the user provided a directory and GPS coordinates as arguments |
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
/* ----------- API ------------- *\ | |
// Available modules include (this is not a complete list): | |
var Scene = require('Scene'); | |
var Textures = require('Textures'); | |
var Materials = require('Materials'); | |
var FaceTracking = require('FaceTracking'); | |
var Animation = require('Animation'); | |
var Reactive = require('Reactive'); | |
// Example script |
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
Shader "SelfIllumAlpha" { | |
Properties { | |
_Color ("Main Color", Color) = (1,1,1,1) | |
_MainTex ("Texture", 2D) = "white" { } | |
} | |
SubShader { | |
Tags { "Queue" = "Transparent" } | |
Pass { | |
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; | |
/// <summary> | |
/// A logger that wraps Unity's internal logger. | |
/// Calls to its methods are stripped in case the LOGGER_SYMBOL is not defined. | |
/// </summary> | |
public sealed class Logger | |
{ | |
public const string LOGGER_SYMBOL = "ENABLE_LOG"; |
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; | |
using System.Collections; | |
// Use for providing that initial oomph, like a cannonball launch, thrown rock or | |
// paper airplane. Contrast with the built-in ConstantForce, which applies force | |
// each update and would be more suitable for a self-powered rigidbody like a | |
// missile, ship, or simulation of gravity. -- The author | |
[RequireComponent (typeof(Rigidbody))] |
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; | |
using System.Collections; | |
public class Tunneling : MonoBehaviour { | |
#region Public Fields | |
[Header("Angular Velocity")] | |
/// <summary> | |
/// Angular velocity calculated for this Transform. DO NOT USE HMD! | |
/// </summary> |
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; | |
using UnityEditor; | |
internal sealed class ScriptKeywordProcessor : UnityEditor.AssetModificationProcessor { | |
// This script currently contains 4 keywords, feel free to add more | |
// #CREATIONDATE# | |
// #PROJECTSNAME# | |
// #DEVELOPERNAME# | |
// #COMPANY# | |
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 System.Collections.Generic; | |
using UnityEngine; | |
namespace UnityCommonLibrary.Utility | |
{ | |
public static class ActorUtililty | |
{ | |
/// <summary> | |
/// Caching because Actors should never be removed | |
/// </summary> |
NewerOlder