See also:
| Service | Type | Storage | Limitations |
|---|---|---|---|
| Amazon DynamoDB | 25 GB | ||
| Amazon RDS | |||
| Azure SQL Database | MS SQL Server | ||
| 👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
| // source: https://docs.unity3d.com/Packages/com.unity.xrtools.utils@1.4/api/Unity.XRTools.Utils.GeometryUtils.html | |
| using System; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| namespace Unity.XR.CoreUtils | |
| { | |
| /// <summary> | |
| /// Utility methods for common geometric operations |
| #!/usr/bin/env python | |
| import sys | |
| import cv2 | |
| import subprocess | |
| from subprocess import call | |
| import aalib | |
| import Image |
| using System; | |
| using System.Collections.Generic; | |
| using System.Reflection; | |
| using System.Text; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| #if UNITY_2021_2_OR_NEWER | |
| using PrefabStage = UnityEditor.SceneManagement.PrefabStage; | |
| using PrefabStageUtility = UnityEditor.SceneManagement.PrefabStageUtility; |
| Shader "Pristine Grid" | |
| { | |
| Properties | |
| { | |
| [Toggle] _WorldUV ("Use World Space UV", Float) = 1.0 | |
| _GridScale ("Grid Scale", Float) = 1.0 | |
| _LineWidthX ("Line Width X", Range(0,1.0)) = 0.01 | |
| _LineWidthY ("Line Width Y", Range(0,1.0)) = 0.01 |
See also:
| Service | Type | Storage | Limitations |
|---|---|---|---|
| Amazon DynamoDB | 25 GB | ||
| Amazon RDS | |||
| Azure SQL Database | MS SQL Server | ||
| 👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
| import os | |
| import time | |
| import re | |
| import subprocess | |
| from watchdog.observers import Observer | |
| from watchdog.events import FileSystemEventHandler | |
| def get_relative_path(path): | |
| return os.path.relpath(path) |
| #!/usr/bin/python2 | |
| import sys, PIL.Image | |
| img = PIL.Image.open(sys.argv[-1]).convert('L') | |
| threshold = 128*[0] + 128*[255] | |
| for y in range(img.size[1]): | |
| for x in range(img.size[0]): |
| FROM python:3.6-slim | |
| ARG UID | |
| ARG GID | |
| RUN groupadd -g "${GID}" app \ | |
| && useradd --create-home --no-log-init -u "${UID}" -g "${GID}" app | |
| RUN apt-get update && \ | |
| apt-get -y install python3-pip && \ |
| using UnityEngine; | |
| using System.IO; | |
| public class ScreenShotter : MonoBehaviour | |
| { | |
| [Header("Filename Settings")] | |
| [SerializeField, Tooltip("Set the destination path. This folder will be placed at the top of your project directory.")] | |
| string fileDestination = "Screenshots/"; |