If .DS_Store was never added to your git repository, simply add it to your .gitignore file.
.gitignore
In your the root directory of your app and simply write
using System.Diagnostics.CodeAnalysis; | |
using UnityEngine; | |
// Dont forget to add "using RDG;" to the top of your script! | |
namespace RDG | |
{ | |
/// <summary> | |
/// Class for controlling Vibration. Automatically initializes before scene is loaded. | |
/// </summary> | |
public static class Vibration |
using UnityEditor; | |
using UnityEngine; | |
//NOTE: Editor-related scripts should be placed in an Editor folder | |
namespace Toolbox | |
{ | |
[CustomPropertyDrawer(typeof(BrushPrefab))] | |
public class BrushPrefabDrawer : PropertyDrawer | |
{ |
# /etc/wsl.conf | |
[network] | |
generateResolvConf = false | |
# /etc/resolv.conf | |
nameserver 8.8.8.8 | |
nameserver 1.1.1.1 |
// Async/Await requirements: Latest Chrome/FF browser or Babel: https://babeljs.io/docs/plugins/transform-async-to-generator/ | |
// Fetch requirements: Latest Chrome/FF browser or Github fetch polyfill: https://github.com/github/fetch | |
// async function | |
async function fetchAsync () { | |
// await response of fetch call | |
let response = await fetch('https://api.github.com'); | |
// only proceed once promise is resolved | |
let data = await response.json(); | |
// only proceed once second promise is resolved |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
/** | |
DownloadManager | |
@author koki ibukuro | |
*/ | |
public class DownloadManager : MonoBehaviour , System.IDisposable { | |
// using classes |