Skip to content

Instantly share code, notes, and snippets.

@nakamura001
nakamura001 / SavWav.cs
Last active March 4, 2020 06:53 — forked from nanmo/SavWav.cs
Unity3D: script to save an AudioClip as a .wav file.
// Copyright (c) 2012 Calvin Rien
// http://the.darktable.com
//
// This software is provided 'as-is', without any express or implied warranty. In
// no event will the authors be held liable for any damages arising from the use
// of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it freely,
// subject to the following restrictions:
@nakamura001
nakamura001 / ScriptableObjectToAsset.cs
Last active December 27, 2015 12:42 — forked from tsubaki/ScriptableObjectToAsset.cs
ScriptableObjectをAssetsファイルとして出力する汎用スクリプト
using UnityEngine;
using System.Collections;
using UnityEditor;
using System.IO;
/// <summary>
// ScriptableObjectをプレハブとして出力する汎用スクリプト
/// </summary>
// <remarks>
// 指定したScriptableObjectをプレハブに変換する。