Skip to content

Instantly share code, notes, and snippets.

Hello World!

RayStudio raystudio9236

Hello World!
View GitHub Profile
View MapGenerator.lua
MapGenerator = UGameObject:extend()
function MapGenerator:new(scene, opts), scene, 'Prefabs/MapGenerator', opts)
self.transform.position =, 0, 0)
raystudio9236 / gist:b73af340b2d4181b953c1a70f031315a
Created Nov 24, 2019 — forked from allanolivei/gist:9260107
Unity 3d : Get Selected Folder in Project Window
View gist:b73af340b2d4181b953c1a70f031315a
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.IO;
public static class UnityUtil
public static string GetSelectedPathOrFallback()
string path = "Assets";
You can’t perform that action at this time.