Skip to content

Instantly share code, notes, and snippets.

@grimmdev
grimmdev / AssetBundleExporter.cs
Last active November 7, 2021 09:16
Wanted to make sure this bad boy doesn't disappear off the interwebs, it makes asset bundles with ease
// AssetBundle Exporter v.1.0
// Copyright (C) 2013 Sergey Taraban <http://staraban.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARIS
@ProfPollati
ProfPollati / LaunchDuplicator.cs
Created November 5, 2016 19:45
Unity Editor script for class used for launching a duplicate instance of the project. Useful for testing multiplayer.
#if UNITY_EDITOR
// You'll need to include compiler conditions to only compile this if this is going through the Unity Editor, otherwise, you will not be able to compile a Build!
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using UnityEngine.SceneManagement;
using System.IO;
using System.Diagnostics;
public class LaunchDuplicator : EditorWindow {
@unitycoder
unitycoder / Streamer.cs
Created January 30, 2020 08:34
Stream to Youtube from Unity?
// https://stackoverflow.com/questions/59971550/transmitting-the-video-to-youtube-streaming-api-v3-with-unity
{
private Thread thread;
IEnumerator Start()
{
// GOOGLE API KEYS
var clientId = "";
var clientSecret = "";
var code = ""; // LEAVE IT