- FUSE https://osxfuse.github.io/
- unionfs http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-0.26.tar.xz
- unionfsパッチ unionfs-fuse-0.26.diff
ビルド
$ OSXFUSE_ARCH_LIB=-losxfuse make
元になるUnityプロジェクト ORIGINAL、ターゲットを切り替えて新しくUnityを起動したいプロジェクト NEW とすると
| diff --git a/src/fileio.c b/src/fileio.c | |
| index 45804e3..71d6fea 100644 | |
| --- a/src/fileio.c | |
| +++ b/src/fileio.c | |
| @@ -1263,6 +1263,7 @@ retry: | |
| } | |
| } | |
| +# ifdef FEAT_EVAL | |
| /* |
| using (var fs = new FileStream(path, FileMode.Open, FileAccess.Read)) { | |
| using (var br = new BinaryReader(fs, new ASCIIEncoding())) { | |
| // UnityWeb | |
| while (br.ReadChar() != 0) { | |
| ; | |
| } | |
| // format | |
| br.ReadInt32(); | |
| // player version | |
| while (br.ReadChar() != 0) { |
ビルド
$ OSXFUSE_ARCH_LIB=-losxfuse make
元になるUnityプロジェクト ORIGINAL、ターゲットを切り替えて新しくUnityを起動したいプロジェクト NEW とすると
| #import <Foundation/Foundation.h> | |
| #import <vector> | |
| int main() | |
| { | |
| std::vector<__weak NSObject *> a; | |
| a.push_back([NSObject new]); | |
| a.push_back([NSObject new]); | |
| a.push_back([NSObject new]); |
| カーネル、私の読み方 | |
| 坂本一樹 sakamoto@netbsd.org | |
| 始まりは「仕事」、でも... | |
| なぜカーネルのソースコードを読んだり書いたりすることになったのかと | |
| 問われれば、それは「仕事」だったから、と言える。そもC言語による | |
| プログラミングをはじめたのも、FreeBSDやNetBSDを使いはじめたのも、 | |
| 「仕事」で使うからという理由である。しかしMIPS R3000を使った | |
| UNIXマシンのOS保守やデバイスドライバの作成などの業務に携わっているうちに |
| private CombinedMeshComponent AddMeshComponent() | |
| { | |
| GameObject gobj = new GameObject( | |
| "LWF/" + data.name + "/Mesh/" + meshComponents.Count); | |
| gobj.SetActive(false); | |
| gobj.transform.parent = gameObject.transform; | |
| gobj.transform.localPosition = Vector3.zero; | |
| gobj.transform.localScale = Vector3.one; | |
| gobj.transform.localRotation = Quaternion.identity; | |
| CombinedMeshComponent meshComponent = |
| AddMovieEventHandler("movie_clip_name", render:(m) => { | |
| Debug.Log(string.Format("x={0} y={1} scaleX={2} scaleY={3}", m.x, m.y, m.scaleX, m.scaleY)); | |
| }); |
| lwf.rootMovie.Inspect((obj, h, d, r) => { | |
| if (obj.IsMovie()) { | |
| var movie = obj as LWF.Movie; | |
| Debug.Log(movie.GetFullName()); | |
| } | |
| }, 0, 0, 0); |
| /* | |
| * Copyright (C) 2014 GREE, Inc. | |
| * | |
| * 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: |
| diff --git a/csharp/unity/renderer/drawmesh/lwf_drawmesh_bitmap.cs b/csharp/unity/renderer/drawmesh/lwf_drawmesh_bitmap.cs | |
| index a63e0ef..3fabd77 100644 | |
| --- a/csharp/unity/renderer/drawmesh/lwf_drawmesh_bitmap.cs | |
| +++ b/csharp/unity/renderer/drawmesh/lwf_drawmesh_bitmap.cs | |
| @@ -61,7 +61,7 @@ public partial class Factory : IRendererFactory | |
| } | |
| } | |
| - public override void Destruct() | |
| + public void DestructBitmapContexts() |