System directories
| Method | Result |
|---|---|
| Environment.getDataDirectory() | /data |
| Environment.getDownloadCacheDirectory() | /cache |
| Environment.getRootDirectory() | /system |
External storage directories
System directories
| Method | Result |
|---|---|
| Environment.getDataDirectory() | /data |
| Environment.getDownloadCacheDirectory() | /cache |
| Environment.getRootDirectory() | /system |
External storage directories
| // Developed by Tom Kail at Inkle | |
| // Released under the MIT Licence as held at https://opensource.org/licenses/MIT | |
| // Must be placed within a folder named "Editor" | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using UnityEditor; | |
| using UnityEngine; |
There are multiple approaches one could take.
\allowbreak yourself.\allowbreak yourself.C with C\allowbreak: https://tex.stackexchange.com/questions/299/how-to-get-long-texttt-sections-to-break/247335#247335\- (drawback: there will be hyphens at the end of the line)| using System; | |
| namespace Utils { | |
| public static class TimeSpanExtensions | |
| { | |
| public static TimeSpan Round(this TimeSpan span, TimeSpanRoundingType type, MidpointRounding mode = MidpointRounding.ToEven) => | |
| type switch | |
| { | |
| TimeSpanRoundingType.QuarterMinute => TimeSpan.FromSeconds(Math.Round(span.TotalSeconds / 15, 0, mode) * 15), |
| using System; | |
| using UnityEngine; | |
| public sealed class AutoUpdater : MonoBehaviour | |
| { | |
| private const string AndroidClass = "com.lagoonsoft.AutoUpdater"; | |
| #region static Singleton | |
| private static AutoUpdater _instance; | |
| private static AutoUpdater GetInstance() |
| #!/bin/sh | |
| # e.g. CONTAINER_REGISTRY=asia.gcr.io/your-project-name/gcf/asia-northeast1 | |
| CONTAINER_REGISTRY=`WRITE YOUR REGISTRY NAME` | |
| IMAGE_LIST=`gcloud container images list --repository=$CONTAINER_REGISTRY | awk 'NR!=1'` | |
| for line in $IMAGE_LIST; do | |
| gcloud container images delete "$line/worker" --quiet & gcloud container images delete "$line/cache" --quiet & | |
| done |
As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)
Note: This script only tested in the latest version of Chrome.
run.js)