Skip to content

Instantly share code, notes, and snippets.

View raystudio9236's full-sized avatar
😀
Hello World!

RayStudio raystudio9236

😀
Hello World!
View GitHub Profile
@raystudio9236
raystudio9236 / gist:b73af340b2d4181b953c1a70f031315a
Created November 24, 2019 03:22 — forked from allanolivei/gist:9260107
Unity 3d : Get Selected Folder in Project Window
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.IO;
public static class UnityUtil
{
public static string GetSelectedPathOrFallback()
{
string path = "Assets";