Commit 023e7754a321614ce36e3c2107164ba30ad82910
0 parents
Exists in
master
Initial commit to paste all project files.
Showing
36 changed files
with
1953 additions
and
0 deletions
Show diff stats
1 | +++ a/.gitignore | ||
@@ -0,0 +1,26 @@ | @@ -0,0 +1,26 @@ | ||
1 | +/[Ll]ibrary/ | ||
2 | +/[Tt]emp/ | ||
3 | +/[Oo]bj/ | ||
4 | +/[Bb]uild/ | ||
5 | +/Bundles*/ | ||
6 | +/LOGS/ | ||
7 | + | ||
8 | +*.rar | ||
9 | +*.txt | ||
10 | + | ||
11 | +# Autogenerated VS/MD solution and project files | ||
12 | +*.csproj | ||
13 | +*.unityproj | ||
14 | +*.sln | ||
15 | +*.suo | ||
16 | +*.tmp | ||
17 | +*.user | ||
18 | +*.userprefs | ||
19 | +*.pidb | ||
20 | +*.booproj | ||
21 | + | ||
22 | +# Unity3D generated meta files | ||
23 | +*.pidb.meta | ||
24 | + | ||
25 | +# Unity3D Generated File On Crash Reports | ||
26 | +sysinfo.txt | ||
0 | \ No newline at end of file | 27 | \ No newline at end of file |
1 | +++ a/Assets/Scenes/Scene.unity | ||
@@ -0,0 +1,87 @@ | @@ -0,0 +1,87 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!29 &1 | ||
4 | +SceneSettings: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_PVSData: | ||
7 | + m_PVSObjectsArray: [] | ||
8 | + m_PVSPortalsArray: [] | ||
9 | + m_OcclusionBakeSettings: | ||
10 | + smallestOccluder: 5 | ||
11 | + smallestHole: .25 | ||
12 | + backfaceThreshold: 100 | ||
13 | +--- !u!104 &2 | ||
14 | +RenderSettings: | ||
15 | + m_ObjectHideFlags: 0 | ||
16 | + serializedVersion: 6 | ||
17 | + m_Fog: 0 | ||
18 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
19 | + m_FogMode: 3 | ||
20 | + m_FogDensity: .00999999978 | ||
21 | + m_LinearFogStart: 0 | ||
22 | + m_LinearFogEnd: 300 | ||
23 | + m_AmbientSkyColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
24 | + m_AmbientEquatorColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
25 | + m_AmbientGroundColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
26 | + m_AmbientIntensity: 1 | ||
27 | + m_AmbientMode: 3 | ||
28 | + m_SkyboxMaterial: {fileID: 0} | ||
29 | + m_HaloStrength: .5 | ||
30 | + m_FlareStrength: 1 | ||
31 | + m_FlareFadeSpeed: 3 | ||
32 | + m_HaloTexture: {fileID: 0} | ||
33 | + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} | ||
34 | + m_DefaultReflectionMode: 0 | ||
35 | + m_DefaultReflectionResolution: 128 | ||
36 | + m_ReflectionBounces: 1 | ||
37 | + m_ReflectionIntensity: 1 | ||
38 | + m_CustomReflection: {fileID: 0} | ||
39 | + m_Sun: {fileID: 0} | ||
40 | +--- !u!157 &4 | ||
41 | +LightmapSettings: | ||
42 | + m_ObjectHideFlags: 0 | ||
43 | + serializedVersion: 5 | ||
44 | + m_GIWorkflowMode: 1 | ||
45 | + m_LightmapsMode: 1 | ||
46 | + m_GISettings: | ||
47 | + serializedVersion: 2 | ||
48 | + m_BounceScale: 1 | ||
49 | + m_IndirectOutputScale: 1 | ||
50 | + m_AlbedoBoost: 1 | ||
51 | + m_TemporalCoherenceThreshold: 1 | ||
52 | + m_EnvironmentLightingMode: 0 | ||
53 | + m_EnableBakedLightmaps: 1 | ||
54 | + m_EnableRealtimeLightmaps: 0 | ||
55 | + m_LightmapEditorSettings: | ||
56 | + serializedVersion: 3 | ||
57 | + m_Resolution: 1 | ||
58 | + m_BakeResolution: 50 | ||
59 | + m_TextureWidth: 1024 | ||
60 | + m_TextureHeight: 1024 | ||
61 | + m_AOMaxDistance: 1 | ||
62 | + m_Padding: 2 | ||
63 | + m_CompAOExponent: 0 | ||
64 | + m_LightmapParameters: {fileID: 0} | ||
65 | + m_TextureCompression: 0 | ||
66 | + m_FinalGather: 0 | ||
67 | + m_FinalGatherRayCount: 1024 | ||
68 | + m_ReflectionCompression: 2 | ||
69 | + m_LightmapSnapshot: {fileID: 0} | ||
70 | + m_RuntimeCPUUsage: 25 | ||
71 | +--- !u!196 &5 | ||
72 | +NavMeshSettings: | ||
73 | + serializedVersion: 2 | ||
74 | + m_ObjectHideFlags: 0 | ||
75 | + m_BuildSettings: | ||
76 | + serializedVersion: 2 | ||
77 | + agentRadius: .5 | ||
78 | + agentHeight: 2 | ||
79 | + agentSlope: 45 | ||
80 | + agentClimb: .400000006 | ||
81 | + ledgeDropHeight: 0 | ||
82 | + maxJumpAcrossDistance: 0 | ||
83 | + accuratePlacement: 0 | ||
84 | + minRegionArea: 2 | ||
85 | + cellSize: .166666657 | ||
86 | + manualCellSize: 0 | ||
87 | + m_NavMeshData: {fileID: 0} |
1 | +++ a/Assets/Scripts/Editor/BlendToBundlesConverter.cs | ||
@@ -0,0 +1,270 @@ | @@ -0,0 +1,270 @@ | ||
1 | +/* | ||
2 | + * "C:\Program Files\Unity\Editor\Unity.exe" -quit -batchmode -projectPath C:\Workspace\wikilibras-player\playercore_blend -executeMethod BlendToBundlesConverter.convert | ||
3 | + */ | ||
4 | +#pragma warning disable | ||
5 | + | ||
6 | +using UnityEngine; | ||
7 | +using UnityEditor; | ||
8 | +using System; | ||
9 | +using System.IO; | ||
10 | +using System.Collections; | ||
11 | +using System.Collections.Generic; | ||
12 | +using System.Text.RegularExpressions; | ||
13 | + | ||
14 | +public class BlendToBundlesConverter { | ||
15 | + | ||
16 | + private static string blendsPath = "Assets/Blends"; | ||
17 | + | ||
18 | + private static string commonPath = "Comuns"; | ||
19 | + private static string disambiguationPath = "Desambiguação"; | ||
20 | + private static string compoundsPath = "Compostos"; | ||
21 | + private static string checkPath = "Verificar"; | ||
22 | + | ||
23 | + private static string duplicatedCommonPath = "_D_Comuns"; | ||
24 | + private static string duplicatedDisambiguationPath = "_D_Desambiguação"; | ||
25 | + private static string duplicatedCompoundsPath = "_D_Compostos"; | ||
26 | + private static string duplicatedCheckPath = "_D_Verificar"; | ||
27 | + | ||
28 | + private static string[] targets = new String[] { | ||
29 | + "STANDALONE", "ANDROID", "WEBGL", "IOS" | ||
30 | + }; | ||
31 | + | ||
32 | + private static string fileText = ""; | ||
33 | + | ||
34 | + private static void saveLog() | ||
35 | + { | ||
36 | + if ( ! String.IsNullOrEmpty(fileText)) | ||
37 | + { | ||
38 | + System.IO.StreamWriter file = new System.IO.StreamWriter(Application.dataPath + "/../simple_log.txt"); | ||
39 | + file.WriteLine(fileText); | ||
40 | + file.Close(); | ||
41 | + } | ||
42 | + } | ||
43 | + | ||
44 | + private static void mkdir(string folder) | ||
45 | + { | ||
46 | + if ( ! System.IO.Directory.Exists(Application.dataPath + "/" + folder)) | ||
47 | + Directory.CreateDirectory(Application.dataPath + "/" + folder); | ||
48 | + //AssetDatabase.CreateFolder("Assets", folder); | ||
49 | + } | ||
50 | + | ||
51 | + private static void mkdir(string path, string folder) | ||
52 | + { | ||
53 | + if ( ! System.IO.Directory.Exists(Application.dataPath + "/" + path + "/" + folder)) | ||
54 | + Directory.CreateDirectory(Application.dataPath + "/" + path + "/" + folder); | ||
55 | + //AssetDatabase.CreateFolder("Assets" + "/" + path, folder); | ||
56 | + } | ||
57 | + | ||
58 | + private static void createFolders() | ||
59 | + { | ||
60 | + if ( ! System.IO.Directory.Exists(Application.dataPath + "/Blends")) | ||
61 | + { | ||
62 | + log("Source folder (Assets/Blends) does not exist!"); | ||
63 | + saveLog(); | ||
64 | + | ||
65 | + Application.Quit(); | ||
66 | + System.Environment.Exit(1); | ||
67 | + } | ||
68 | + | ||
69 | + mkdir("Anims"); | ||
70 | + mkdir("../Bundles"); | ||
71 | + | ||
72 | + string[] folders = new String[] { | ||
73 | + "Comuns", "Desambiguação", "Compostos" | ||
74 | + }; | ||
75 | + | ||
76 | + for (int t = 0; t < targets.Length; t++) | ||
77 | + { | ||
78 | + mkdir("../Bundles/" + targets[t]); | ||
79 | + | ||
80 | + for (int f = 0; f < folders.Length; f++) | ||
81 | + { | ||
82 | + string dir = "../Bundles/" + targets[t]; | ||
83 | + | ||
84 | + mkdir(dir + "/" + folders[f]); | ||
85 | + mkdir(dir + "/_D_" + folders[f]); | ||
86 | + mkdir(dir + "/" + folders[f] + "/Verificar"); | ||
87 | + mkdir(dir + "/_D_" + folders[f] + "/Verificar"); | ||
88 | + } | ||
89 | + } | ||
90 | + } | ||
91 | + | ||
92 | + private static Queue readNames(string filename) | ||
93 | + { | ||
94 | + System.IO.StreamReader file = new System.IO.StreamReader( | ||
95 | + Application.dataPath + "/../" + filename + "_aninames.txt", | ||
96 | + System.Text.Encoding.UTF8, | ||
97 | + true | ||
98 | + ); | ||
99 | + | ||
100 | + Queue names = new Queue(); | ||
101 | + names.Enqueue("Default Take"); | ||
102 | + | ||
103 | + string line; | ||
104 | + while((line = file.ReadLine()) != null) | ||
105 | + names.Enqueue(line); | ||
106 | + | ||
107 | + file.Close(); | ||
108 | + return names; | ||
109 | + } | ||
110 | + | ||
111 | + private static string getFilePath(string target, string name) | ||
112 | + { | ||
113 | + string folder, filePath; | ||
114 | + bool invalid = ! name.ToUpper().Equals(name); | ||
115 | + | ||
116 | + if (name.Contains("(")) | ||
117 | + folder = disambiguationPath; | ||
118 | + | ||
119 | + else if (name.Contains("_")) | ||
120 | + folder = compoundsPath; | ||
121 | + | ||
122 | + else | ||
123 | + folder = commonPath; | ||
124 | + | ||
125 | + filePath = "Bundles/" + target + "/" + folder + (invalid ? "/Verificar/" : "/") + name; | ||
126 | + | ||
127 | + int dID = 1; | ||
128 | + while (File.Exists(Application.dataPath + filePath)) | ||
129 | + { | ||
130 | + filePath = "Bundles/" + target + "/_D_" + folder + (invalid ? "/Verificar/" : "/"); | ||
131 | + filePath += name + (dID < 10 ? "_0" : "_") + dID; | ||
132 | + dID++; | ||
133 | + } | ||
134 | + | ||
135 | + return filePath; | ||
136 | + } | ||
137 | + | ||
138 | + static void convert() | ||
139 | + { | ||
140 | + createFolders(); | ||
141 | + | ||
142 | + string[] assetsPaths = AssetDatabase.FindAssets("", new string[1] { blendsPath }); | ||
143 | + log("How many assets in Assets/Blends: " + assetsPaths.Length); | ||
144 | + | ||
145 | + AssetDatabase.Refresh(); | ||
146 | + | ||
147 | + assetsPaths = AssetDatabase.FindAssets("", new string[1] { blendsPath }); | ||
148 | + log("How many assets in Assets/Blends: " + assetsPaths.Length); | ||
149 | + | ||
150 | + HashSet<string> converted = new HashSet<string>(); | ||
151 | + | ||
152 | + foreach (string assetPathID in assetsPaths) | ||
153 | + { | ||
154 | + string assetPath = AssetDatabase.GUIDToAssetPath(assetPathID); | ||
155 | + | ||
156 | + if (assetPath.EndsWith(".blend") && ! converted.Contains(assetPath)) | ||
157 | + { | ||
158 | + converted.Add(assetPath); | ||
159 | + log(assetPath); | ||
160 | + } | ||
161 | + } | ||
162 | + | ||
163 | + converted = new HashSet<string>(); | ||
164 | + | ||
165 | + foreach (string assetPathID in assetsPaths) | ||
166 | + { | ||
167 | + string assetPath = AssetDatabase.GUIDToAssetPath(assetPathID); | ||
168 | + | ||
169 | + if (assetPath.EndsWith(".blend") && ! converted.Contains(assetPath)) | ||
170 | + converted.Add(assetPath); | ||
171 | + else | ||
172 | + continue; | ||
173 | + | ||
174 | + GameObject go = AssetDatabase.LoadAssetAtPath( | ||
175 | + assetPath, | ||
176 | + typeof(UnityEngine.Object) | ||
177 | + ) as GameObject; | ||
178 | + | ||
179 | + if (go != null) | ||
180 | + { | ||
181 | + Queue names = readNames(assetPath.Substring(0, assetPath.Length - 6)); | ||
182 | + AnimationClip[] clips = AnimationUtility.GetAnimationClips(go); | ||
183 | + | ||
184 | + log("Starting " + assetPath.Substring(0, assetPath.Length - 6)); | ||
185 | + log(clips.Length + " animation clips found"); | ||
186 | + | ||
187 | + Regex rgx = new Regex("[\\<\\>\\:\\\"\\\\\\/\\|\\?\\*]"); | ||
188 | + | ||
189 | + if (clips.Length > 0) | ||
190 | + { | ||
191 | + foreach (AnimationClip clip in clips) | ||
192 | + { | ||
193 | + AnimationClip newClip = new AnimationClip(); | ||
194 | + EditorUtility.CopySerialized(clip, newClip); | ||
195 | + | ||
196 | + string name = rgx.Replace((string) names.Dequeue(), "_"); | ||
197 | + string path = "Assets/Anims/" + name + ".anim"; | ||
198 | + log("Saving " + path); | ||
199 | + | ||
200 | + AssetDatabase.CreateAsset(newClip, path); | ||
201 | + AssetDatabase.SaveAssets(); | ||
202 | + } | ||
203 | + } | ||
204 | + } | ||
205 | + else log("Ignoring " + assetPath); | ||
206 | + } | ||
207 | + | ||
208 | + buildBundles(); | ||
209 | + saveLog(); | ||
210 | + } | ||
211 | + | ||
212 | + private static void buildBundles() | ||
213 | + { | ||
214 | + string[] assetsPaths = AssetDatabase.FindAssets("", new string[1] { "Assets/Anims" }); | ||
215 | + | ||
216 | + log("How many assets in Assets/Anims: " + assetsPaths.Length); | ||
217 | + | ||
218 | + foreach (string assetPathID in assetsPaths){ | ||
219 | + | ||
220 | + string assetPath = AssetDatabase.GUIDToAssetPath(assetPathID); | ||
221 | + | ||
222 | + UnityEngine.Object asset = AssetDatabase.LoadAssetAtPath( | ||
223 | + assetPath, | ||
224 | + (typeof(UnityEngine.Object))) as UnityEngine.Object; | ||
225 | + | ||
226 | + if (asset != null) | ||
227 | + { | ||
228 | + string[] tokens = assetPath.Split('/'); | ||
229 | + tokens = tokens[tokens.Length - 1].Split('.'); | ||
230 | + | ||
231 | + log("Building " + assetPath + " to " + getFilePath("STANDALONE", tokens[0])); | ||
232 | + | ||
233 | + buildBundle(asset, getFilePath("STANDALONE", tokens[0])); | ||
234 | + buildBundle(asset, getFilePath("ANDROID", tokens[0]), BuildTarget.Android); | ||
235 | + buildBundle(asset, getFilePath("WEBGL", tokens[0]), BuildTarget.WebGL); | ||
236 | + buildBundle(asset, getFilePath("IOS", tokens[0]), BuildTarget.iOS); | ||
237 | + } | ||
238 | + else log("Ignoring " + assetPath); | ||
239 | + } | ||
240 | + } | ||
241 | + | ||
242 | + private static void buildBundle(UnityEngine.Object asset, string path, BuildTarget target) | ||
243 | + { | ||
244 | + BuildPipeline.BuildAssetBundle( | ||
245 | + asset, | ||
246 | + new UnityEngine.Object[0] {}, | ||
247 | + path, | ||
248 | + BuildAssetBundleOptions.CollectDependencies | BuildAssetBundleOptions.CompleteAssets, | ||
249 | + target | ||
250 | + ); | ||
251 | + } | ||
252 | + private static void buildBundle(UnityEngine.Object asset, string path) | ||
253 | + { | ||
254 | + BuildPipeline.BuildAssetBundle( | ||
255 | + asset, | ||
256 | + new UnityEngine.Object[0] {}, | ||
257 | + path, | ||
258 | + BuildAssetBundleOptions.CollectDependencies | BuildAssetBundleOptions.CompleteAssets | ||
259 | + ); | ||
260 | + } | ||
261 | + | ||
262 | + private static int id = 1; | ||
263 | + | ||
264 | + private static void log(string txt) | ||
265 | + { | ||
266 | + Debug.Log((id++) + ". " + txt); | ||
267 | + fileText += txt + "\n"; | ||
268 | + } | ||
269 | + | ||
270 | +} | ||
0 | \ No newline at end of file | 271 | \ No newline at end of file |
1 | +++ a/Assets/Scripts/Editor/BlendToBundlesConverter.cs.meta | ||
@@ -0,0 +1,12 @@ | @@ -0,0 +1,12 @@ | ||
1 | +fileFormatVersion: 2 | ||
2 | +guid: d8467dbce9bd8dc4fbafb3a528764189 | ||
3 | +timeCreated: 1448301823 | ||
4 | +licenseType: Pro | ||
5 | +MonoImporter: | ||
6 | + serializedVersion: 2 | ||
7 | + defaultReferences: [] | ||
8 | + executionOrder: 0 | ||
9 | + icon: {instanceID: 0} | ||
10 | + userData: | ||
11 | + assetBundleName: | ||
12 | + assetBundleVariant: |
1 | +++ a/Assets/Scripts/Editor/BuildAssetBundles.cs | ||
@@ -0,0 +1,59 @@ | @@ -0,0 +1,59 @@ | ||
1 | +#pragma warning disable | ||
2 | + | ||
3 | +using UnityEngine; | ||
4 | +using UnityEditor; | ||
5 | +public class BuildAssetBundles { | ||
6 | + | ||
7 | + [MenuItem ("Assets/BUILD ALL BUNDLES IN ToBuild FOLDER")] | ||
8 | + public static void BuildBundles() | ||
9 | + { | ||
10 | + string path = "AssetBundles/"; | ||
11 | + string[] assetsPaths = AssetDatabase.FindAssets("", new string[1] { "Assets/ToBuild" }); | ||
12 | + | ||
13 | + Debug.Log("How many assets in Assets/ToBuild: " + assetsPaths.Length); | ||
14 | + | ||
15 | + foreach (string assetPathID in assetsPaths) | ||
16 | + { | ||
17 | + string assetPath = AssetDatabase.GUIDToAssetPath(assetPathID); | ||
18 | + | ||
19 | + Object asset = AssetDatabase.LoadAssetAtPath( | ||
20 | + assetPath, (typeof(UnityEngine.Object)) | ||
21 | + ) as Object; | ||
22 | + | ||
23 | + if (asset != null) | ||
24 | + { | ||
25 | + Debug.Log("Building " + assetPath); | ||
26 | + | ||
27 | + string[] tokens = assetPath.Split('/'); | ||
28 | + tokens = tokens[tokens.Length - 1].Split('.'); | ||
29 | + | ||
30 | + buildBundle(asset, path + "STANDALONE/" + tokens[0]); | ||
31 | + buildBundle(asset, path + "ANDROID/" + tokens[0], BuildTarget.Android); | ||
32 | + buildBundle(asset, path + "WEBGL/" + tokens[0], BuildTarget.WebGL); | ||
33 | + buildBundle(asset, path + "IOS/" + tokens[0], BuildTarget.iOS); | ||
34 | + } | ||
35 | + else Debug.Log("Ignoring " + assetPath); | ||
36 | + } | ||
37 | + } | ||
38 | + | ||
39 | + private static void buildBundle(UnityEngine.Object asset, string path, BuildTarget target) | ||
40 | + { | ||
41 | + BuildPipeline.BuildAssetBundle( | ||
42 | + asset, | ||
43 | + new UnityEngine.Object[0] {}, | ||
44 | + path, | ||
45 | + BuildAssetBundleOptions.CollectDependencies | BuildAssetBundleOptions.CompleteAssets, | ||
46 | + target | ||
47 | + ); | ||
48 | + } | ||
49 | + private static void buildBundle(UnityEngine.Object asset, string path) | ||
50 | + { | ||
51 | + BuildPipeline.BuildAssetBundle( | ||
52 | + asset, | ||
53 | + new UnityEngine.Object[0] {}, | ||
54 | + path, | ||
55 | + BuildAssetBundleOptions.CollectDependencies | BuildAssetBundleOptions.CompleteAssets | ||
56 | + ); | ||
57 | + } | ||
58 | + | ||
59 | +} | ||
0 | \ No newline at end of file | 60 | \ No newline at end of file |
1 | +++ a/Assets/Scripts/Editor/BuildAssetBundles.cs.meta | ||
@@ -0,0 +1,12 @@ | @@ -0,0 +1,12 @@ | ||
1 | +fileFormatVersion: 2 | ||
2 | +guid: ae8a295e12d6036439851a491d510fe9 | ||
3 | +timeCreated: 1436901693 | ||
4 | +licenseType: Pro | ||
5 | +MonoImporter: | ||
6 | + serializedVersion: 2 | ||
7 | + defaultReferences: [] | ||
8 | + executionOrder: 0 | ||
9 | + icon: {instanceID: 0} | ||
10 | + userData: | ||
11 | + assetBundleName: | ||
12 | + assetBundleVariant: |
1 | +++ a/Assets/Scripts/Editor/EditorScript.cs | ||
@@ -0,0 +1,14 @@ | @@ -0,0 +1,14 @@ | ||
1 | +using UnityEngine; | ||
2 | +using UnityEditor; | ||
3 | + | ||
4 | +public class MeshPostprocessor : AssetPostprocessor { | ||
5 | + | ||
6 | + void OnPreprocessModel (){ | ||
7 | + | ||
8 | + // (assetImporter as ModelImporter).globalScale = 1.0f; | ||
9 | + (assetImporter as ModelImporter).animationType = ModelImporterAnimationType.Legacy; | ||
10 | + (assetImporter as ModelImporter).materialName = ModelImporterMaterialName.BasedOnMaterialName; | ||
11 | + | ||
12 | + } | ||
13 | + | ||
14 | +} | ||
0 | \ No newline at end of file | 15 | \ No newline at end of file |
1 | +++ a/Assets/Scripts/Editor/EditorScript.cs.meta | ||
@@ -0,0 +1,12 @@ | @@ -0,0 +1,12 @@ | ||
1 | +fileFormatVersion: 2 | ||
2 | +guid: 6bc71d9094f965647963f2ca6729fff0 | ||
3 | +timeCreated: 1434075135 | ||
4 | +licenseType: Pro | ||
5 | +MonoImporter: | ||
6 | + serializedVersion: 2 | ||
7 | + defaultReferences: [] | ||
8 | + executionOrder: 0 | ||
9 | + icon: {instanceID: 0} | ||
10 | + userData: | ||
11 | + assetBundleName: | ||
12 | + assetBundleVariant: |
1 | +++ a/CHECAGEM/merger.py | ||
@@ -0,0 +1,56 @@ | @@ -0,0 +1,56 @@ | ||
1 | +import sys | ||
2 | +import os | ||
3 | +import shutil | ||
4 | +from sets import Set | ||
5 | + | ||
6 | +ignoredFiles = Set(['Default Take', '_configMaoDir', '_configMaoEsq', '_orientacaoDir', '_orientacaoEsq', '_pontoArticula_Dir', '_pontoArticula_Esq', 'CDA:ObIpo.001', 'DOWN_', 'Facial', 'PosePadraoNova','_2vl_CONTATO','POSE-NEUTRA']) | ||
7 | +platformFolders = Set(['ANDROID', 'IOS', 'STANDALONE', 'WEBGL']) | ||
8 | + | ||
9 | +def moveFiles(destiny, path): | ||
10 | + for maindir, subdirs, files in os.walk(path): | ||
11 | + print 'Checking ' + maindir + ' files' | ||
12 | + for file in files: | ||
13 | + filePath = path + '/' + file | ||
14 | + fileDestiny = destiny + '/' + file | ||
15 | + | ||
16 | + if file in ignoredFiles: | ||
17 | + os.remove(filePath) | ||
18 | + 'Deleting ' + filePath | ||
19 | + | ||
20 | + elif not os.path.isfile(fileDestiny): | ||
21 | + print '\t' + filePath | ||
22 | + os.rename(filePath, destiny + '/' + file) | ||
23 | + | ||
24 | + | ||
25 | + print 'Checking ' + maindir + ' folders' | ||
26 | + for dir in subdirs: | ||
27 | + if dir in platformFolders: | ||
28 | + moveFiles(destiny + '/' + dir, maindir + '/' + dir) | ||
29 | + else: | ||
30 | + moveFiles(destiny, maindir + '/' + dir) | ||
31 | + | ||
32 | + if deleteIfEmpty(maindir + '/' + dir): | ||
33 | + print 'Deleting ' + maindir + '/' + dir | ||
34 | + | ||
35 | + break | ||
36 | + | ||
37 | +def deleteIfEmpty(path): | ||
38 | + for maindir, subdirs, files in os.walk(path): | ||
39 | + if len(subdirs) == 0 and len(files) == 0: | ||
40 | + shutil.rmtree(path) | ||
41 | + return True | ||
42 | + | ||
43 | + return False | ||
44 | + | ||
45 | +if __name__ == '__main__': | ||
46 | + folder = sys.argv[1] | ||
47 | + destiny = 'merge_' + folder | ||
48 | + | ||
49 | + if not os.path.isdir(destiny): | ||
50 | + os.mkdir(destiny) | ||
51 | + os.mkdir(destiny + '/ANDROID') | ||
52 | + os.mkdir(destiny + '/IOS') | ||
53 | + os.mkdir(destiny + '/STANDALONE') | ||
54 | + os.mkdir(destiny + '/WEBGL') | ||
55 | + | ||
56 | + moveFiles(destiny, folder) | ||
0 | \ No newline at end of file | 57 | \ No newline at end of file |
1 | +++ a/ProjectSettings/AudioManager.asset | ||
@@ -0,0 +1,14 @@ | @@ -0,0 +1,14 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!11 &1 | ||
4 | +AudioManager: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_Volume: 1 | ||
7 | + Rolloff Scale: 1 | ||
8 | + Doppler Factor: 1 | ||
9 | + Default Speaker Mode: 2 | ||
10 | + m_SampleRate: 0 | ||
11 | + m_DSPBufferSize: 0 | ||
12 | + m_VirtualVoiceCount: 512 | ||
13 | + m_RealVoiceCount: 32 | ||
14 | + m_DisableAudio: 0 |
1 | +++ a/ProjectSettings/DynamicsManager.asset | ||
@@ -0,0 +1,14 @@ | @@ -0,0 +1,14 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!55 &1 | ||
4 | +PhysicsManager: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_Gravity: {x: 0, y: -9.81000042, z: 0} | ||
7 | + m_DefaultMaterial: {fileID: 0} | ||
8 | + m_BounceThreshold: 2 | ||
9 | + m_SleepThreshold: .00499999989 | ||
10 | + m_DefaultContactOffset: .00999999978 | ||
11 | + m_SolverIterationCount: 6 | ||
12 | + m_RaycastsHitTriggers: 1 | ||
13 | + m_EnableAdaptiveForce: 0 | ||
14 | + m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff |
1 | +++ a/ProjectSettings/EditorSettings.asset | ||
@@ -0,0 +1,12 @@ | @@ -0,0 +1,12 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!159 &1 | ||
4 | +EditorSettings: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + serializedVersion: 3 | ||
7 | + m_ExternalVersionControlSupport: Hidden Meta Files | ||
8 | + m_SerializationMode: 2 | ||
9 | + m_WebSecurityEmulationEnabled: 0 | ||
10 | + m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d | ||
11 | + m_DefaultBehaviorMode: 0 | ||
12 | + m_SpritePackerMode: 2 |
1 | +++ a/ProjectSettings/GraphicsSettings.asset | ||
@@ -0,0 +1,37 @@ | @@ -0,0 +1,37 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!30 &1 | ||
4 | +GraphicsSettings: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + serializedVersion: 5 | ||
7 | + m_Deferred: | ||
8 | + m_Mode: 1 | ||
9 | + m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} | ||
10 | + m_DeferredReflections: | ||
11 | + m_Mode: 1 | ||
12 | + m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} | ||
13 | + m_LegacyDeferred: | ||
14 | + m_Mode: 1 | ||
15 | + m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} | ||
16 | + m_AlwaysIncludedShaders: | ||
17 | + - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} | ||
18 | + - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} | ||
19 | + - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} | ||
20 | + - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} | ||
21 | + - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} | ||
22 | + - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} | ||
23 | + m_PreloadedShaders: [] | ||
24 | + m_ShaderSettings: | ||
25 | + useScreenSpaceShadows: 0 | ||
26 | + m_BuildTargetShaderSettings: [] | ||
27 | + m_LightmapStripping: 0 | ||
28 | + m_FogStripping: 0 | ||
29 | + m_LightmapKeepPlain: 1 | ||
30 | + m_LightmapKeepDirCombined: 1 | ||
31 | + m_LightmapKeepDirSeparate: 1 | ||
32 | + m_LightmapKeepDynamicPlain: 1 | ||
33 | + m_LightmapKeepDynamicDirCombined: 1 | ||
34 | + m_LightmapKeepDynamicDirSeparate: 1 | ||
35 | + m_FogKeepLinear: 1 | ||
36 | + m_FogKeepExp: 1 | ||
37 | + m_FogKeepExp2: 1 |
1 | +++ a/ProjectSettings/InputManager.asset | ||
@@ -0,0 +1,295 @@ | @@ -0,0 +1,295 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!13 &1 | ||
4 | +InputManager: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + serializedVersion: 2 | ||
7 | + m_Axes: | ||
8 | + - serializedVersion: 3 | ||
9 | + m_Name: Horizontal | ||
10 | + descriptiveName: | ||
11 | + descriptiveNegativeName: | ||
12 | + negativeButton: left | ||
13 | + positiveButton: right | ||
14 | + altNegativeButton: a | ||
15 | + altPositiveButton: d | ||
16 | + gravity: 3 | ||
17 | + dead: .00100000005 | ||
18 | + sensitivity: 3 | ||
19 | + snap: 1 | ||
20 | + invert: 0 | ||
21 | + type: 0 | ||
22 | + axis: 0 | ||
23 | + joyNum: 0 | ||
24 | + - serializedVersion: 3 | ||
25 | + m_Name: Vertical | ||
26 | + descriptiveName: | ||
27 | + descriptiveNegativeName: | ||
28 | + negativeButton: down | ||
29 | + positiveButton: up | ||
30 | + altNegativeButton: s | ||
31 | + altPositiveButton: w | ||
32 | + gravity: 3 | ||
33 | + dead: .00100000005 | ||
34 | + sensitivity: 3 | ||
35 | + snap: 1 | ||
36 | + invert: 0 | ||
37 | + type: 0 | ||
38 | + axis: 0 | ||
39 | + joyNum: 0 | ||
40 | + - serializedVersion: 3 | ||
41 | + m_Name: Fire1 | ||
42 | + descriptiveName: | ||
43 | + descriptiveNegativeName: | ||
44 | + negativeButton: | ||
45 | + positiveButton: left ctrl | ||
46 | + altNegativeButton: | ||
47 | + altPositiveButton: mouse 0 | ||
48 | + gravity: 1000 | ||
49 | + dead: .00100000005 | ||
50 | + sensitivity: 1000 | ||
51 | + snap: 0 | ||
52 | + invert: 0 | ||
53 | + type: 0 | ||
54 | + axis: 0 | ||
55 | + joyNum: 0 | ||
56 | + - serializedVersion: 3 | ||
57 | + m_Name: Fire2 | ||
58 | + descriptiveName: | ||
59 | + descriptiveNegativeName: | ||
60 | + negativeButton: | ||
61 | + positiveButton: left alt | ||
62 | + altNegativeButton: | ||
63 | + altPositiveButton: mouse 1 | ||
64 | + gravity: 1000 | ||
65 | + dead: .00100000005 | ||
66 | + sensitivity: 1000 | ||
67 | + snap: 0 | ||
68 | + invert: 0 | ||
69 | + type: 0 | ||
70 | + axis: 0 | ||
71 | + joyNum: 0 | ||
72 | + - serializedVersion: 3 | ||
73 | + m_Name: Fire3 | ||
74 | + descriptiveName: | ||
75 | + descriptiveNegativeName: | ||
76 | + negativeButton: | ||
77 | + positiveButton: left cmd | ||
78 | + altNegativeButton: | ||
79 | + altPositiveButton: mouse 2 | ||
80 | + gravity: 1000 | ||
81 | + dead: .00100000005 | ||
82 | + sensitivity: 1000 | ||
83 | + snap: 0 | ||
84 | + invert: 0 | ||
85 | + type: 0 | ||
86 | + axis: 0 | ||
87 | + joyNum: 0 | ||
88 | + - serializedVersion: 3 | ||
89 | + m_Name: Jump | ||
90 | + descriptiveName: | ||
91 | + descriptiveNegativeName: | ||
92 | + negativeButton: | ||
93 | + positiveButton: space | ||
94 | + altNegativeButton: | ||
95 | + altPositiveButton: | ||
96 | + gravity: 1000 | ||
97 | + dead: .00100000005 | ||
98 | + sensitivity: 1000 | ||
99 | + snap: 0 | ||
100 | + invert: 0 | ||
101 | + type: 0 | ||
102 | + axis: 0 | ||
103 | + joyNum: 0 | ||
104 | + - serializedVersion: 3 | ||
105 | + m_Name: Mouse X | ||
106 | + descriptiveName: | ||
107 | + descriptiveNegativeName: | ||
108 | + negativeButton: | ||
109 | + positiveButton: | ||
110 | + altNegativeButton: | ||
111 | + altPositiveButton: | ||
112 | + gravity: 0 | ||
113 | + dead: 0 | ||
114 | + sensitivity: .100000001 | ||
115 | + snap: 0 | ||
116 | + invert: 0 | ||
117 | + type: 1 | ||
118 | + axis: 0 | ||
119 | + joyNum: 0 | ||
120 | + - serializedVersion: 3 | ||
121 | + m_Name: Mouse Y | ||
122 | + descriptiveName: | ||
123 | + descriptiveNegativeName: | ||
124 | + negativeButton: | ||
125 | + positiveButton: | ||
126 | + altNegativeButton: | ||
127 | + altPositiveButton: | ||
128 | + gravity: 0 | ||
129 | + dead: 0 | ||
130 | + sensitivity: .100000001 | ||
131 | + snap: 0 | ||
132 | + invert: 0 | ||
133 | + type: 1 | ||
134 | + axis: 1 | ||
135 | + joyNum: 0 | ||
136 | + - serializedVersion: 3 | ||
137 | + m_Name: Mouse ScrollWheel | ||
138 | + descriptiveName: | ||
139 | + descriptiveNegativeName: | ||
140 | + negativeButton: | ||
141 | + positiveButton: | ||
142 | + altNegativeButton: | ||
143 | + altPositiveButton: | ||
144 | + gravity: 0 | ||
145 | + dead: 0 | ||
146 | + sensitivity: .100000001 | ||
147 | + snap: 0 | ||
148 | + invert: 0 | ||
149 | + type: 1 | ||
150 | + axis: 2 | ||
151 | + joyNum: 0 | ||
152 | + - serializedVersion: 3 | ||
153 | + m_Name: Horizontal | ||
154 | + descriptiveName: | ||
155 | + descriptiveNegativeName: | ||
156 | + negativeButton: | ||
157 | + positiveButton: | ||
158 | + altNegativeButton: | ||
159 | + altPositiveButton: | ||
160 | + gravity: 0 | ||
161 | + dead: .189999998 | ||
162 | + sensitivity: 1 | ||
163 | + snap: 0 | ||
164 | + invert: 0 | ||
165 | + type: 2 | ||
166 | + axis: 0 | ||
167 | + joyNum: 0 | ||
168 | + - serializedVersion: 3 | ||
169 | + m_Name: Vertical | ||
170 | + descriptiveName: | ||
171 | + descriptiveNegativeName: | ||
172 | + negativeButton: | ||
173 | + positiveButton: | ||
174 | + altNegativeButton: | ||
175 | + altPositiveButton: | ||
176 | + gravity: 0 | ||
177 | + dead: .189999998 | ||
178 | + sensitivity: 1 | ||
179 | + snap: 0 | ||
180 | + invert: 1 | ||
181 | + type: 2 | ||
182 | + axis: 1 | ||
183 | + joyNum: 0 | ||
184 | + - serializedVersion: 3 | ||
185 | + m_Name: Fire1 | ||
186 | + descriptiveName: | ||
187 | + descriptiveNegativeName: | ||
188 | + negativeButton: | ||
189 | + positiveButton: joystick button 0 | ||
190 | + altNegativeButton: | ||
191 | + altPositiveButton: | ||
192 | + gravity: 1000 | ||
193 | + dead: .00100000005 | ||
194 | + sensitivity: 1000 | ||
195 | + snap: 0 | ||
196 | + invert: 0 | ||
197 | + type: 0 | ||
198 | + axis: 0 | ||
199 | + joyNum: 0 | ||
200 | + - serializedVersion: 3 | ||
201 | + m_Name: Fire2 | ||
202 | + descriptiveName: | ||
203 | + descriptiveNegativeName: | ||
204 | + negativeButton: | ||
205 | + positiveButton: joystick button 1 | ||
206 | + altNegativeButton: | ||
207 | + altPositiveButton: | ||
208 | + gravity: 1000 | ||
209 | + dead: .00100000005 | ||
210 | + sensitivity: 1000 | ||
211 | + snap: 0 | ||
212 | + invert: 0 | ||
213 | + type: 0 | ||
214 | + axis: 0 | ||
215 | + joyNum: 0 | ||
216 | + - serializedVersion: 3 | ||
217 | + m_Name: Fire3 | ||
218 | + descriptiveName: | ||
219 | + descriptiveNegativeName: | ||
220 | + negativeButton: | ||
221 | + positiveButton: joystick button 2 | ||
222 | + altNegativeButton: | ||
223 | + altPositiveButton: | ||
224 | + gravity: 1000 | ||
225 | + dead: .00100000005 | ||
226 | + sensitivity: 1000 | ||
227 | + snap: 0 | ||
228 | + invert: 0 | ||
229 | + type: 0 | ||
230 | + axis: 0 | ||
231 | + joyNum: 0 | ||
232 | + - serializedVersion: 3 | ||
233 | + m_Name: Jump | ||
234 | + descriptiveName: | ||
235 | + descriptiveNegativeName: | ||
236 | + negativeButton: | ||
237 | + positiveButton: joystick button 3 | ||
238 | + altNegativeButton: | ||
239 | + altPositiveButton: | ||
240 | + gravity: 1000 | ||
241 | + dead: .00100000005 | ||
242 | + sensitivity: 1000 | ||
243 | + snap: 0 | ||
244 | + invert: 0 | ||
245 | + type: 0 | ||
246 | + axis: 0 | ||
247 | + joyNum: 0 | ||
248 | + - serializedVersion: 3 | ||
249 | + m_Name: Submit | ||
250 | + descriptiveName: | ||
251 | + descriptiveNegativeName: | ||
252 | + negativeButton: | ||
253 | + positiveButton: return | ||
254 | + altNegativeButton: | ||
255 | + altPositiveButton: joystick button 0 | ||
256 | + gravity: 1000 | ||
257 | + dead: .00100000005 | ||
258 | + sensitivity: 1000 | ||
259 | + snap: 0 | ||
260 | + invert: 0 | ||
261 | + type: 0 | ||
262 | + axis: 0 | ||
263 | + joyNum: 0 | ||
264 | + - serializedVersion: 3 | ||
265 | + m_Name: Submit | ||
266 | + descriptiveName: | ||
267 | + descriptiveNegativeName: | ||
268 | + negativeButton: | ||
269 | + positiveButton: enter | ||
270 | + altNegativeButton: | ||
271 | + altPositiveButton: space | ||
272 | + gravity: 1000 | ||
273 | + dead: .00100000005 | ||
274 | + sensitivity: 1000 | ||
275 | + snap: 0 | ||
276 | + invert: 0 | ||
277 | + type: 0 | ||
278 | + axis: 0 | ||
279 | + joyNum: 0 | ||
280 | + - serializedVersion: 3 | ||
281 | + m_Name: Cancel | ||
282 | + descriptiveName: | ||
283 | + descriptiveNegativeName: | ||
284 | + negativeButton: | ||
285 | + positiveButton: escape | ||
286 | + altNegativeButton: | ||
287 | + altPositiveButton: joystick button 1 | ||
288 | + gravity: 1000 | ||
289 | + dead: .00100000005 | ||
290 | + sensitivity: 1000 | ||
291 | + snap: 0 | ||
292 | + invert: 0 | ||
293 | + type: 0 | ||
294 | + axis: 0 | ||
295 | + joyNum: 0 |
1 | +++ a/ProjectSettings/NavMeshAreas.asset | ||
@@ -0,0 +1,71 @@ | @@ -0,0 +1,71 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!126 &1 | ||
4 | +NavMeshAreas: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + serializedVersion: 2 | ||
7 | + areas: | ||
8 | + - name: Walkable | ||
9 | + cost: 1 | ||
10 | + - name: Not Walkable | ||
11 | + cost: 1 | ||
12 | + - name: Jump | ||
13 | + cost: 2 | ||
14 | + - name: | ||
15 | + cost: 1 | ||
16 | + - name: | ||
17 | + cost: 1 | ||
18 | + - name: | ||
19 | + cost: 1 | ||
20 | + - name: | ||
21 | + cost: 1 | ||
22 | + - name: | ||
23 | + cost: 1 | ||
24 | + - name: | ||
25 | + cost: 1 | ||
26 | + - name: | ||
27 | + cost: 1 | ||
28 | + - name: | ||
29 | + cost: 1 | ||
30 | + - name: | ||
31 | + cost: 1 | ||
32 | + - name: | ||
33 | + cost: 1 | ||
34 | + - name: | ||
35 | + cost: 1 | ||
36 | + - name: | ||
37 | + cost: 1 | ||
38 | + - name: | ||
39 | + cost: 1 | ||
40 | + - name: | ||
41 | + cost: 1 | ||
42 | + - name: | ||
43 | + cost: 1 | ||
44 | + - name: | ||
45 | + cost: 1 | ||
46 | + - name: | ||
47 | + cost: 1 | ||
48 | + - name: | ||
49 | + cost: 1 | ||
50 | + - name: | ||
51 | + cost: 1 | ||
52 | + - name: | ||
53 | + cost: 1 | ||
54 | + - name: | ||
55 | + cost: 1 | ||
56 | + - name: | ||
57 | + cost: 1 | ||
58 | + - name: | ||
59 | + cost: 1 | ||
60 | + - name: | ||
61 | + cost: 1 | ||
62 | + - name: | ||
63 | + cost: 1 | ||
64 | + - name: | ||
65 | + cost: 1 | ||
66 | + - name: | ||
67 | + cost: 1 | ||
68 | + - name: | ||
69 | + cost: 1 | ||
70 | + - name: | ||
71 | + cost: 1 |
1 | +++ a/ProjectSettings/Physics2DSettings.asset | ||
@@ -0,0 +1,24 @@ | @@ -0,0 +1,24 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!19 &1 | ||
4 | +Physics2DSettings: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_Gravity: {x: 0, y: -9.81000042} | ||
7 | + m_DefaultMaterial: {fileID: 0} | ||
8 | + m_VelocityIterations: 8 | ||
9 | + m_PositionIterations: 3 | ||
10 | + m_VelocityThreshold: 1 | ||
11 | + m_MaxLinearCorrection: .200000003 | ||
12 | + m_MaxAngularCorrection: 8 | ||
13 | + m_MaxTranslationSpeed: 100 | ||
14 | + m_MaxRotationSpeed: 360 | ||
15 | + m_MinPenetrationForPenalty: .00999999978 | ||
16 | + m_BaumgarteScale: .200000003 | ||
17 | + m_BaumgarteTimeOfImpactScale: .75 | ||
18 | + m_TimeToSleep: .5 | ||
19 | + m_LinearSleepTolerance: .00999999978 | ||
20 | + m_AngularSleepTolerance: 2 | ||
21 | + m_RaycastsHitTriggers: 1 | ||
22 | + m_RaycastsStartInColliders: 1 | ||
23 | + m_ChangeStopsCallbacks: 0 | ||
24 | + m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff |
1 | +++ a/ProjectSettings/ProjectSettings.asset | ||
@@ -0,0 +1,462 @@ | @@ -0,0 +1,462 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!129 &1 | ||
4 | +PlayerSettings: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + serializedVersion: 8 | ||
7 | + AndroidProfiler: 0 | ||
8 | + defaultScreenOrientation: 4 | ||
9 | + targetDevice: 2 | ||
10 | + useOnDemandResources: 0 | ||
11 | + accelerometerFrequency: 60 | ||
12 | + companyName: LAViD | ||
13 | + productName: VLibrasPlayer | ||
14 | + defaultCursor: {fileID: 0} | ||
15 | + cursorHotspot: {x: 0, y: 0} | ||
16 | + m_ShowUnitySplashScreen: 0 | ||
17 | + m_VirtualRealitySplashScreen: {fileID: 0} | ||
18 | + defaultScreenWidth: 640 | ||
19 | + defaultScreenHeight: 480 | ||
20 | + defaultScreenWidthWeb: 640 | ||
21 | + defaultScreenHeightWeb: 480 | ||
22 | + m_RenderingPath: 1 | ||
23 | + m_MobileRenderingPath: 1 | ||
24 | + m_ActiveColorSpace: 0 | ||
25 | + m_MTRendering: 1 | ||
26 | + m_MobileMTRendering: 0 | ||
27 | + m_Stereoscopic3D: 0 | ||
28 | + iosShowActivityIndicatorOnLoading: -1 | ||
29 | + androidShowActivityIndicatorOnLoading: -1 | ||
30 | + iosAppInBackgroundBehavior: 0 | ||
31 | + displayResolutionDialog: 0 | ||
32 | + iosAllowHTTPDownload: 1 | ||
33 | + allowedAutorotateToPortrait: 1 | ||
34 | + allowedAutorotateToPortraitUpsideDown: 1 | ||
35 | + allowedAutorotateToLandscapeRight: 1 | ||
36 | + allowedAutorotateToLandscapeLeft: 1 | ||
37 | + useOSAutorotation: 1 | ||
38 | + use32BitDisplayBuffer: 1 | ||
39 | + disableDepthAndStencilBuffers: 0 | ||
40 | + defaultIsFullScreen: 0 | ||
41 | + defaultIsNativeResolution: 1 | ||
42 | + runInBackground: 0 | ||
43 | + captureSingleScreen: 0 | ||
44 | + Override IPod Music: 0 | ||
45 | + Prepare IOS For Recording: 0 | ||
46 | + submitAnalytics: 0 | ||
47 | + usePlayerLog: 1 | ||
48 | + bakeCollisionMeshes: 0 | ||
49 | + forceSingleInstance: 0 | ||
50 | + resizableWindow: 0 | ||
51 | + useMacAppStoreValidation: 0 | ||
52 | + gpuSkinning: 0 | ||
53 | + xboxPIXTextureCapture: 0 | ||
54 | + xboxEnableAvatar: 0 | ||
55 | + xboxEnableKinect: 0 | ||
56 | + xboxEnableKinectAutoTracking: 0 | ||
57 | + xboxEnableFitness: 0 | ||
58 | + visibleInBackground: 0 | ||
59 | + allowFullscreenSwitch: 1 | ||
60 | + macFullscreenMode: 2 | ||
61 | + d3d9FullscreenMode: 1 | ||
62 | + d3d11FullscreenMode: 1 | ||
63 | + xboxSpeechDB: 0 | ||
64 | + xboxEnableHeadOrientation: 0 | ||
65 | + xboxEnableGuest: 0 | ||
66 | + xboxEnablePIXSampling: 0 | ||
67 | + n3dsDisableStereoscopicView: 0 | ||
68 | + n3dsEnableSharedListOpt: 1 | ||
69 | + n3dsEnableVSync: 0 | ||
70 | + uiUse16BitDepthBuffer: 0 | ||
71 | + ignoreAlphaClear: 0 | ||
72 | + xboxOneResolution: 0 | ||
73 | + ps3SplashScreen: {fileID: 0} | ||
74 | + videoMemoryForVertexBuffers: 0 | ||
75 | + psp2PowerMode: 0 | ||
76 | + psp2AcquireBGM: 1 | ||
77 | + wiiUTVResolution: 0 | ||
78 | + wiiUGamePadMSAA: 1 | ||
79 | + wiiUSupportsNunchuk: 0 | ||
80 | + wiiUSupportsClassicController: 0 | ||
81 | + wiiUSupportsBalanceBoard: 0 | ||
82 | + wiiUSupportsMotionPlus: 0 | ||
83 | + wiiUSupportsProController: 0 | ||
84 | + wiiUAllowScreenCapture: 1 | ||
85 | + wiiUControllerCount: 0 | ||
86 | + m_SupportedAspectRatios: | ||
87 | + 4:3: 1 | ||
88 | + 5:4: 1 | ||
89 | + 16:10: 1 | ||
90 | + 16:9: 1 | ||
91 | + Others: 1 | ||
92 | + bundleIdentifier: com.Company.ProductName | ||
93 | + bundleVersion: 1.0 | ||
94 | + preloadedAssets: [] | ||
95 | + metroEnableIndependentInputSource: 0 | ||
96 | + metroEnableLowLatencyPresentationAPI: 0 | ||
97 | + xboxOneDisableKinectGpuReservation: 0 | ||
98 | + virtualRealitySupported: 0 | ||
99 | + productGUID: 337d486bd080bd046a98a1104f14a673 | ||
100 | + AndroidBundleVersionCode: 1 | ||
101 | + AndroidMinSdkVersion: 9 | ||
102 | + AndroidPreferredInstallLocation: 1 | ||
103 | + aotOptions: | ||
104 | + apiCompatibilityLevel: 1 | ||
105 | + stripEngineCode: 1 | ||
106 | + iPhoneStrippingLevel: 0 | ||
107 | + iPhoneScriptCallOptimization: 0 | ||
108 | + iPhoneBuildNumber: 0 | ||
109 | + ForceInternetPermission: 0 | ||
110 | + ForceSDCardPermission: 0 | ||
111 | + CreateWallpaper: 0 | ||
112 | + APKExpansionFiles: 0 | ||
113 | + preloadShaders: 0 | ||
114 | + StripUnusedMeshComponents: 0 | ||
115 | + VertexChannelCompressionMask: | ||
116 | + serializedVersion: 2 | ||
117 | + m_Bits: 238 | ||
118 | + iPhoneSdkVersion: 988 | ||
119 | + iPhoneTargetOSVersion: 22 | ||
120 | + uIPrerenderedIcon: 0 | ||
121 | + uIRequiresPersistentWiFi: 0 | ||
122 | + uIRequiresFullScreen: 1 | ||
123 | + uIStatusBarHidden: 1 | ||
124 | + uIExitOnSuspend: 0 | ||
125 | + uIStatusBarStyle: 0 | ||
126 | + iPhoneSplashScreen: {fileID: 0} | ||
127 | + iPhoneHighResSplashScreen: {fileID: 0} | ||
128 | + iPhoneTallHighResSplashScreen: {fileID: 0} | ||
129 | + iPhone47inSplashScreen: {fileID: 0} | ||
130 | + iPhone55inPortraitSplashScreen: {fileID: 0} | ||
131 | + iPhone55inLandscapeSplashScreen: {fileID: 0} | ||
132 | + iPadPortraitSplashScreen: {fileID: 0} | ||
133 | + iPadHighResPortraitSplashScreen: {fileID: 0} | ||
134 | + iPadLandscapeSplashScreen: {fileID: 0} | ||
135 | + iPadHighResLandscapeSplashScreen: {fileID: 0} | ||
136 | + appleTVSplashScreen: {fileID: 0} | ||
137 | + tvOSSmallIconLayers: [] | ||
138 | + tvOSLargeIconLayers: [] | ||
139 | + tvOSTopShelfImageLayers: [] | ||
140 | + iOSLaunchScreenType: 0 | ||
141 | + iOSLaunchScreenPortrait: {fileID: 0} | ||
142 | + iOSLaunchScreenLandscape: {fileID: 0} | ||
143 | + iOSLaunchScreenBackgroundColor: | ||
144 | + serializedVersion: 2 | ||
145 | + rgba: 0 | ||
146 | + iOSLaunchScreenFillPct: 100 | ||
147 | + iOSLaunchScreenSize: 100 | ||
148 | + iOSLaunchScreenCustomXibPath: | ||
149 | + iOSLaunchScreeniPadType: 0 | ||
150 | + iOSLaunchScreeniPadImage: {fileID: 0} | ||
151 | + iOSLaunchScreeniPadBackgroundColor: | ||
152 | + serializedVersion: 2 | ||
153 | + rgba: 0 | ||
154 | + iOSLaunchScreeniPadFillPct: 100 | ||
155 | + iOSLaunchScreeniPadSize: 100 | ||
156 | + iOSLaunchScreeniPadCustomXibPath: | ||
157 | + iOSDeviceRequirements: [] | ||
158 | + AndroidTargetDevice: 0 | ||
159 | + AndroidSplashScreenScale: 0 | ||
160 | + androidSplashScreen: {fileID: 0} | ||
161 | + AndroidKeystoreName: | ||
162 | + AndroidKeyaliasName: | ||
163 | + AndroidTVCompatibility: 1 | ||
164 | + AndroidIsGame: 1 | ||
165 | + androidEnableBanner: 1 | ||
166 | + m_AndroidBanners: | ||
167 | + - width: 320 | ||
168 | + height: 180 | ||
169 | + banner: {fileID: 0} | ||
170 | + androidGamepadSupportLevel: 0 | ||
171 | + resolutionDialogBanner: {fileID: 0} | ||
172 | + m_BuildTargetIcons: | ||
173 | + - m_BuildTarget: | ||
174 | + m_Icons: | ||
175 | + - serializedVersion: 2 | ||
176 | + m_Icon: {fileID: 2800000, guid: 98a8d3ec5bfc6ef4bacfcc810c9edf5a, type: 3} | ||
177 | + m_Width: 128 | ||
178 | + m_Height: 128 | ||
179 | + m_BuildTargetBatching: | ||
180 | + - m_BuildTarget: WebGL | ||
181 | + m_StaticBatching: 1 | ||
182 | + m_DynamicBatching: 1 | ||
183 | + m_BuildTargetGraphicsAPIs: [] | ||
184 | + webPlayerTemplate: APPLICATION:Default | ||
185 | + m_TemplateCustomTags: {} | ||
186 | + wiiUTitleID: 0005000011000000 | ||
187 | + wiiUGroupID: 00010000 | ||
188 | + wiiUCommonSaveSize: 4096 | ||
189 | + wiiUAccountSaveSize: 2048 | ||
190 | + wiiUOlvAccessKey: 0 | ||
191 | + wiiUTinCode: 0 | ||
192 | + wiiUJoinGameId: 0 | ||
193 | + wiiUJoinGameModeMask: 0000000000000000 | ||
194 | + wiiUCommonBossSize: 0 | ||
195 | + wiiUAccountBossSize: 0 | ||
196 | + wiiUAddOnUniqueIDs: [] | ||
197 | + wiiUMainThreadStackSize: 3072 | ||
198 | + wiiULoaderThreadStackSize: 1024 | ||
199 | + wiiUSystemHeapSize: 128 | ||
200 | + wiiUTVStartupScreen: {fileID: 0} | ||
201 | + wiiUGamePadStartupScreen: {fileID: 0} | ||
202 | + wiiUProfilerLibPath: | ||
203 | + actionOnDotNetUnhandledException: 1 | ||
204 | + enableInternalProfiler: 0 | ||
205 | + logObjCUncaughtExceptions: 1 | ||
206 | + enableCrashReportAPI: 0 | ||
207 | + locationUsageDescription: | ||
208 | + XboxTitleId: | ||
209 | + XboxImageXexPath: | ||
210 | + XboxSpaPath: | ||
211 | + XboxGenerateSpa: 0 | ||
212 | + XboxDeployKinectResources: 0 | ||
213 | + XboxSplashScreen: {fileID: 0} | ||
214 | + xboxEnableSpeech: 0 | ||
215 | + xboxAdditionalTitleMemorySize: 0 | ||
216 | + xboxDeployKinectHeadOrientation: 0 | ||
217 | + xboxDeployKinectHeadPosition: 0 | ||
218 | + ps3TitleConfigPath: | ||
219 | + ps3DLCConfigPath: | ||
220 | + ps3ThumbnailPath: | ||
221 | + ps3BackgroundPath: | ||
222 | + ps3SoundPath: | ||
223 | + ps3NPAgeRating: 12 | ||
224 | + ps3TrophyCommId: | ||
225 | + ps3NpCommunicationPassphrase: | ||
226 | + ps3TrophyPackagePath: | ||
227 | + ps3BootCheckMaxSaveGameSizeKB: 128 | ||
228 | + ps3TrophyCommSig: | ||
229 | + ps3SaveGameSlots: 1 | ||
230 | + ps3TrialMode: 0 | ||
231 | + ps3VideoMemoryForAudio: 0 | ||
232 | + ps3EnableVerboseMemoryStats: 0 | ||
233 | + ps3UseSPUForUmbra: 0 | ||
234 | + ps3EnableMoveSupport: 1 | ||
235 | + ps3DisableDolbyEncoding: 0 | ||
236 | + ps4NPAgeRating: 12 | ||
237 | + ps4NPTitleSecret: | ||
238 | + ps4NPTrophyPackPath: | ||
239 | + ps4ParentalLevel: 1 | ||
240 | + ps4ContentID: ED1633-NPXX51362_00-0000000000000000 | ||
241 | + ps4Category: 0 | ||
242 | + ps4MasterVersion: 01.00 | ||
243 | + ps4AppVersion: 01.00 | ||
244 | + ps4AppType: 0 | ||
245 | + ps4ParamSfxPath: | ||
246 | + ps4VideoOutPixelFormat: 0 | ||
247 | + ps4VideoOutResolution: 4 | ||
248 | + ps4PronunciationXMLPath: | ||
249 | + ps4PronunciationSIGPath: | ||
250 | + ps4BackgroundImagePath: | ||
251 | + ps4StartupImagePath: | ||
252 | + ps4SaveDataImagePath: | ||
253 | + ps4SdkOverride: | ||
254 | + ps4BGMPath: | ||
255 | + ps4ShareFilePath: | ||
256 | + ps4ShareOverlayImagePath: | ||
257 | + ps4PrivacyGuardImagePath: | ||
258 | + ps4NPtitleDatPath: | ||
259 | + ps4RemotePlayKeyAssignment: -1 | ||
260 | + ps4RemotePlayKeyMappingDir: | ||
261 | + ps4EnterButtonAssignment: 1 | ||
262 | + ps4ApplicationParam1: 0 | ||
263 | + ps4ApplicationParam2: 0 | ||
264 | + ps4ApplicationParam3: 0 | ||
265 | + ps4ApplicationParam4: 0 | ||
266 | + ps4DownloadDataSize: 0 | ||
267 | + ps4GarlicHeapSize: 2048 | ||
268 | + ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ | ||
269 | + ps4pnSessions: 1 | ||
270 | + ps4pnPresence: 1 | ||
271 | + ps4pnFriends: 1 | ||
272 | + ps4pnGameCustomData: 1 | ||
273 | + playerPrefsSupport: 0 | ||
274 | + ps4ReprojectionSupport: 0 | ||
275 | + ps4UseAudio3dBackend: 0 | ||
276 | + ps4SocialScreenEnabled: 0 | ||
277 | + ps4Audio3dVirtualSpeakerCount: 14 | ||
278 | + ps4attribCpuUsage: 0 | ||
279 | + ps4PatchPkgPath: | ||
280 | + ps4PatchLatestPkgPath: | ||
281 | + ps4PatchChangeinfoPath: | ||
282 | + ps4attribUserManagement: 0 | ||
283 | + ps4attribMoveSupport: 0 | ||
284 | + ps4attrib3DSupport: 0 | ||
285 | + ps4attribShareSupport: 0 | ||
286 | + ps4IncludedModules: [] | ||
287 | + monoEnv: | ||
288 | + psp2Splashimage: {fileID: 0} | ||
289 | + psp2NPTrophyPackPath: | ||
290 | + psp2NPSupportGBMorGJP: 0 | ||
291 | + psp2NPAgeRating: 12 | ||
292 | + psp2NPTitleDatPath: | ||
293 | + psp2NPCommsID: | ||
294 | + psp2NPCommunicationsID: | ||
295 | + psp2NPCommsPassphrase: | ||
296 | + psp2NPCommsSig: | ||
297 | + psp2ParamSfxPath: | ||
298 | + psp2ManualPath: | ||
299 | + psp2LiveAreaGatePath: | ||
300 | + psp2LiveAreaBackroundPath: | ||
301 | + psp2LiveAreaPath: | ||
302 | + psp2LiveAreaTrialPath: | ||
303 | + psp2PatchChangeInfoPath: | ||
304 | + psp2PatchOriginalPackage: | ||
305 | + psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui | ||
306 | + psp2KeystoneFile: | ||
307 | + psp2MemoryExpansionMode: 0 | ||
308 | + psp2DRMType: 0 | ||
309 | + psp2StorageType: 0 | ||
310 | + psp2MediaCapacity: 0 | ||
311 | + psp2DLCConfigPath: | ||
312 | + psp2ThumbnailPath: | ||
313 | + psp2BackgroundPath: | ||
314 | + psp2SoundPath: | ||
315 | + psp2TrophyCommId: | ||
316 | + psp2TrophyPackagePath: | ||
317 | + psp2PackagedResourcesPath: | ||
318 | + psp2SaveDataQuota: 10240 | ||
319 | + psp2ParentalLevel: 1 | ||
320 | + psp2ShortTitle: Not Set | ||
321 | + psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF | ||
322 | + psp2Category: 0 | ||
323 | + psp2MasterVersion: 01.00 | ||
324 | + psp2AppVersion: 01.00 | ||
325 | + psp2TVBootMode: 0 | ||
326 | + psp2EnterButtonAssignment: 2 | ||
327 | + psp2TVDisableEmu: 0 | ||
328 | + psp2AllowTwitterDialog: 1 | ||
329 | + psp2Upgradable: 0 | ||
330 | + psp2HealthWarning: 0 | ||
331 | + psp2UseLibLocation: 0 | ||
332 | + psp2InfoBarOnStartup: 0 | ||
333 | + psp2InfoBarColor: 0 | ||
334 | + psmSplashimage: {fileID: 0} | ||
335 | + spritePackerPolicy: | ||
336 | + scriptingDefineSymbols: {} | ||
337 | + metroPackageName: VLibrasWeb | ||
338 | + metroPackageVersion: | ||
339 | + metroCertificatePath: | ||
340 | + metroCertificatePassword: | ||
341 | + metroCertificateSubject: | ||
342 | + metroCertificateIssuer: | ||
343 | + metroCertificateNotAfter: 0000000000000000 | ||
344 | + metroApplicationDescription: VLibrasWeb | ||
345 | + wsaImages: {} | ||
346 | + metroTileShortName: | ||
347 | + metroCommandLineArgsFile: | ||
348 | + metroTileShowName: 0 | ||
349 | + metroMediumTileShowName: 0 | ||
350 | + metroLargeTileShowName: 0 | ||
351 | + metroWideTileShowName: 0 | ||
352 | + metroDefaultTileSize: 1 | ||
353 | + metroTileForegroundText: 1 | ||
354 | + metroTileBackgroundColor: {r: 0, g: 0, b: 0, a: 1} | ||
355 | + metroSplashScreenBackgroundColor: {r: 0, g: 0, b: 0, a: 1} | ||
356 | + metroSplashScreenUseBackgroundColor: 0 | ||
357 | + platformCapabilities: {} | ||
358 | + metroFTAName: | ||
359 | + metroFTAFileTypes: [] | ||
360 | + metroProtocolName: | ||
361 | + metroCompilationOverrides: 1 | ||
362 | + blackberryDeviceAddress: | ||
363 | + blackberryDevicePassword: | ||
364 | + blackberryTokenPath: | ||
365 | + blackberryTokenExires: | ||
366 | + blackberryTokenAuthor: | ||
367 | + blackberryTokenAuthorId: | ||
368 | + blackberryCskPassword: | ||
369 | + blackberrySaveLogPath: | ||
370 | + blackberrySharedPermissions: 0 | ||
371 | + blackberryCameraPermissions: 0 | ||
372 | + blackberryGPSPermissions: 0 | ||
373 | + blackberryDeviceIDPermissions: 0 | ||
374 | + blackberryMicrophonePermissions: 0 | ||
375 | + blackberryGamepadSupport: 0 | ||
376 | + blackberryBuildId: 0 | ||
377 | + blackberryLandscapeSplashScreen: {fileID: 0} | ||
378 | + blackberryPortraitSplashScreen: {fileID: 0} | ||
379 | + blackberrySquareSplashScreen: {fileID: 0} | ||
380 | + tizenProductDescription: | ||
381 | + tizenProductURL: | ||
382 | + tizenSigningProfileName: | ||
383 | + tizenGPSPermissions: 0 | ||
384 | + tizenMicrophonePermissions: 0 | ||
385 | + n3dsUseExtSaveData: 0 | ||
386 | + n3dsCompressStaticMem: 1 | ||
387 | + n3dsExtSaveDataNumber: 0x12345 | ||
388 | + n3dsStackSize: 131072 | ||
389 | + n3dsTargetPlatform: 2 | ||
390 | + n3dsRegion: 7 | ||
391 | + n3dsMediaSize: 0 | ||
392 | + n3dsLogoStyle: 3 | ||
393 | + n3dsTitle: GameName | ||
394 | + n3dsProductCode: | ||
395 | + n3dsApplicationId: 0xFF3FF | ||
396 | + stvDeviceAddress: | ||
397 | + stvProductDescription: | ||
398 | + stvProductAuthor: | ||
399 | + stvProductAuthorEmail: | ||
400 | + stvProductLink: | ||
401 | + stvProductCategory: 0 | ||
402 | + XboxOneProductId: | ||
403 | + XboxOneUpdateKey: | ||
404 | + XboxOneSandboxId: | ||
405 | + XboxOneContentId: | ||
406 | + XboxOneTitleId: | ||
407 | + XboxOneSCId: | ||
408 | + XboxOneGameOsOverridePath: | ||
409 | + XboxOnePackagingOverridePath: | ||
410 | + XboxOneAppManifestOverridePath: | ||
411 | + XboxOnePackageEncryption: 0 | ||
412 | + XboxOnePackageUpdateGranularity: 2 | ||
413 | + XboxOneDescription: | ||
414 | + XboxOneIsContentPackage: 0 | ||
415 | + XboxOneEnableGPUVariability: 0 | ||
416 | + XboxOneSockets: {} | ||
417 | + XboxOneSplashScreen: {fileID: 0} | ||
418 | + XboxOneAllowedProductIds: [] | ||
419 | + XboxOnePersistentLocalStorageSize: 0 | ||
420 | + intPropertyNames: | ||
421 | + - Android::ScriptingBackend | ||
422 | + - Metro::ScriptingBackend | ||
423 | + - Standalone::ScriptingBackend | ||
424 | + - WP8::ScriptingBackend | ||
425 | + - WebGL::ScriptingBackend | ||
426 | + - WebGL::audioCompressionFormat | ||
427 | + - WebGL::exceptionSupport | ||
428 | + - WebGL::memorySize | ||
429 | + - iOS::Architecture | ||
430 | + - iOS::EnableIncrementalBuildSupportForIl2cpp | ||
431 | + - iOS::ScriptingBackend | ||
432 | + Android::ScriptingBackend: 0 | ||
433 | + Metro::ScriptingBackend: 2 | ||
434 | + Standalone::ScriptingBackend: 0 | ||
435 | + WP8::ScriptingBackend: 2 | ||
436 | + WebGL::ScriptingBackend: 1 | ||
437 | + WebGL::audioCompressionFormat: 4 | ||
438 | + WebGL::exceptionSupport: 0 | ||
439 | + WebGL::memorySize: 256 | ||
440 | + iOS::Architecture: 0 | ||
441 | + iOS::EnableIncrementalBuildSupportForIl2cpp: 0 | ||
442 | + iOS::ScriptingBackend: 0 | ||
443 | + boolPropertyNames: | ||
444 | + - WebGL::analyzeBuildSize | ||
445 | + - WebGL::dataCaching | ||
446 | + - WebGL::useEmbeddedResources | ||
447 | + - XboxOne::enus | ||
448 | + WebGL::analyzeBuildSize: 0 | ||
449 | + WebGL::dataCaching: 0 | ||
450 | + WebGL::useEmbeddedResources: 0 | ||
451 | + XboxOne::enus: 1 | ||
452 | + stringPropertyNames: | ||
453 | + - WebGL::emscriptenArgs | ||
454 | + - WebGL::template | ||
455 | + - additionalIl2CppArgs::additionalIl2CppArgs | ||
456 | + WebGL::emscriptenArgs: | ||
457 | + WebGL::template: APPLICATION:Default | ||
458 | + additionalIl2CppArgs::additionalIl2CppArgs: | ||
459 | + cloudProjectId: | ||
460 | + projectName: | ||
461 | + organizationId: | ||
462 | + cloudEnabled: 0 |
1 | +++ a/ProjectSettings/QualitySettings.asset | ||
@@ -0,0 +1,157 @@ | @@ -0,0 +1,157 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!47 &1 | ||
4 | +QualitySettings: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + serializedVersion: 5 | ||
7 | + m_CurrentQuality: 5 | ||
8 | + m_QualitySettings: | ||
9 | + - serializedVersion: 2 | ||
10 | + name: Fastest | ||
11 | + pixelLightCount: 0 | ||
12 | + shadows: 0 | ||
13 | + shadowResolution: 0 | ||
14 | + shadowProjection: 1 | ||
15 | + shadowCascades: 1 | ||
16 | + shadowDistance: 15 | ||
17 | + shadowCascade2Split: .333333343 | ||
18 | + shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669} | ||
19 | + blendWeights: 1 | ||
20 | + textureQuality: 1 | ||
21 | + anisotropicTextures: 0 | ||
22 | + antiAliasing: 0 | ||
23 | + softParticles: 0 | ||
24 | + softVegetation: 0 | ||
25 | + realtimeReflectionProbes: 0 | ||
26 | + billboardsFaceCameraPosition: 0 | ||
27 | + vSyncCount: 0 | ||
28 | + lodBias: .300000012 | ||
29 | + maximumLODLevel: 0 | ||
30 | + particleRaycastBudget: 4 | ||
31 | + excludedTargetPlatforms: [] | ||
32 | + - serializedVersion: 2 | ||
33 | + name: Fast | ||
34 | + pixelLightCount: 0 | ||
35 | + shadows: 0 | ||
36 | + shadowResolution: 0 | ||
37 | + shadowProjection: 1 | ||
38 | + shadowCascades: 1 | ||
39 | + shadowDistance: 20 | ||
40 | + shadowCascade2Split: .333333343 | ||
41 | + shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669} | ||
42 | + blendWeights: 2 | ||
43 | + textureQuality: 0 | ||
44 | + anisotropicTextures: 0 | ||
45 | + antiAliasing: 0 | ||
46 | + softParticles: 0 | ||
47 | + softVegetation: 0 | ||
48 | + realtimeReflectionProbes: 0 | ||
49 | + billboardsFaceCameraPosition: 0 | ||
50 | + vSyncCount: 0 | ||
51 | + lodBias: .400000006 | ||
52 | + maximumLODLevel: 0 | ||
53 | + particleRaycastBudget: 16 | ||
54 | + excludedTargetPlatforms: [] | ||
55 | + - serializedVersion: 2 | ||
56 | + name: Simple | ||
57 | + pixelLightCount: 1 | ||
58 | + shadows: 1 | ||
59 | + shadowResolution: 0 | ||
60 | + shadowProjection: 1 | ||
61 | + shadowCascades: 1 | ||
62 | + shadowDistance: 20 | ||
63 | + shadowCascade2Split: .333333343 | ||
64 | + shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669} | ||
65 | + blendWeights: 2 | ||
66 | + textureQuality: 0 | ||
67 | + anisotropicTextures: 1 | ||
68 | + antiAliasing: 0 | ||
69 | + softParticles: 0 | ||
70 | + softVegetation: 0 | ||
71 | + realtimeReflectionProbes: 0 | ||
72 | + billboardsFaceCameraPosition: 0 | ||
73 | + vSyncCount: 0 | ||
74 | + lodBias: .699999988 | ||
75 | + maximumLODLevel: 0 | ||
76 | + particleRaycastBudget: 64 | ||
77 | + excludedTargetPlatforms: [] | ||
78 | + - serializedVersion: 2 | ||
79 | + name: Good | ||
80 | + pixelLightCount: 2 | ||
81 | + shadows: 2 | ||
82 | + shadowResolution: 1 | ||
83 | + shadowProjection: 1 | ||
84 | + shadowCascades: 2 | ||
85 | + shadowDistance: 40 | ||
86 | + shadowCascade2Split: .333333343 | ||
87 | + shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669} | ||
88 | + blendWeights: 2 | ||
89 | + textureQuality: 0 | ||
90 | + anisotropicTextures: 1 | ||
91 | + antiAliasing: 0 | ||
92 | + softParticles: 0 | ||
93 | + softVegetation: 1 | ||
94 | + realtimeReflectionProbes: 1 | ||
95 | + billboardsFaceCameraPosition: 1 | ||
96 | + vSyncCount: 1 | ||
97 | + lodBias: 1 | ||
98 | + maximumLODLevel: 0 | ||
99 | + particleRaycastBudget: 256 | ||
100 | + excludedTargetPlatforms: [] | ||
101 | + - serializedVersion: 2 | ||
102 | + name: Beautiful | ||
103 | + pixelLightCount: 3 | ||
104 | + shadows: 2 | ||
105 | + shadowResolution: 2 | ||
106 | + shadowProjection: 1 | ||
107 | + shadowCascades: 2 | ||
108 | + shadowDistance: 70 | ||
109 | + shadowCascade2Split: .333333343 | ||
110 | + shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669} | ||
111 | + blendWeights: 4 | ||
112 | + textureQuality: 0 | ||
113 | + anisotropicTextures: 2 | ||
114 | + antiAliasing: 2 | ||
115 | + softParticles: 1 | ||
116 | + softVegetation: 1 | ||
117 | + realtimeReflectionProbes: 1 | ||
118 | + billboardsFaceCameraPosition: 1 | ||
119 | + vSyncCount: 1 | ||
120 | + lodBias: 1.5 | ||
121 | + maximumLODLevel: 0 | ||
122 | + particleRaycastBudget: 1024 | ||
123 | + excludedTargetPlatforms: [] | ||
124 | + - serializedVersion: 2 | ||
125 | + name: Fantastic | ||
126 | + pixelLightCount: 4 | ||
127 | + shadows: 2 | ||
128 | + shadowResolution: 2 | ||
129 | + shadowProjection: 1 | ||
130 | + shadowCascades: 4 | ||
131 | + shadowDistance: 150 | ||
132 | + shadowCascade2Split: .333333343 | ||
133 | + shadowCascade4Split: {x: .0666666701, y: .199999988, z: .466666639} | ||
134 | + blendWeights: 4 | ||
135 | + textureQuality: 0 | ||
136 | + anisotropicTextures: 2 | ||
137 | + antiAliasing: 4 | ||
138 | + softParticles: 0 | ||
139 | + softVegetation: 1 | ||
140 | + realtimeReflectionProbes: 1 | ||
141 | + billboardsFaceCameraPosition: 1 | ||
142 | + vSyncCount: 0 | ||
143 | + lodBias: 2 | ||
144 | + maximumLODLevel: 0 | ||
145 | + particleRaycastBudget: 4096 | ||
146 | + excludedTargetPlatforms: [] | ||
147 | + m_PerPlatformDefaultQuality: | ||
148 | + Android: 0 | ||
149 | + BlackBerry: 0 | ||
150 | + Samsung TV: 0 | ||
151 | + Standalone: 5 | ||
152 | + Tizen: 0 | ||
153 | + WP8: 0 | ||
154 | + Web: 0 | ||
155 | + WebGL: 0 | ||
156 | + Windows Store Apps: 0 | ||
157 | + iPhone: 0 |
1 | +++ a/ProjectSettings/TagManager.asset | ||
@@ -0,0 +1,48 @@ | @@ -0,0 +1,48 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!78 &1 | ||
4 | +TagManager: | ||
5 | + serializedVersion: 2 | ||
6 | + tags: | ||
7 | + - avatar | ||
8 | + - inspetor | ||
9 | + - RESBOX | ||
10 | + - FADENEEDED | ||
11 | + - BUTTONS | ||
12 | + layers: | ||
13 | + - Default | ||
14 | + - TransparentFX | ||
15 | + - Ignore Raycast | ||
16 | + - | ||
17 | + - Water | ||
18 | + - UI | ||
19 | + - | ||
20 | + - | ||
21 | + - | ||
22 | + - | ||
23 | + - | ||
24 | + - | ||
25 | + - | ||
26 | + - | ||
27 | + - | ||
28 | + - | ||
29 | + - | ||
30 | + - | ||
31 | + - | ||
32 | + - | ||
33 | + - | ||
34 | + - | ||
35 | + - | ||
36 | + - | ||
37 | + - | ||
38 | + - | ||
39 | + - | ||
40 | + - | ||
41 | + - | ||
42 | + - | ||
43 | + - | ||
44 | + - | ||
45 | + m_SortingLayers: | ||
46 | + - name: Default | ||
47 | + uniqueID: 0 | ||
48 | + locked: 0 |
1 | +++ a/ProjectSettings/UnityAdsSettings.asset | ||
@@ -0,0 +1,11 @@ | @@ -0,0 +1,11 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!292 &1 | ||
4 | +UnityAdsSettings: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_Enabled: 0 | ||
7 | + m_InitializeOnStartup: 1 | ||
8 | + m_TestMode: 0 | ||
9 | + m_EnabledPlatforms: 4294967295 | ||
10 | + m_IosGameId: | ||
11 | + m_AndroidGameId: |
1 | +++ a/ProjectSettings/UnityConnectSettings.asset | ||
@@ -0,0 +1,14 @@ | @@ -0,0 +1,14 @@ | ||
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!310 &1 | ||
4 | +UnityConnectSettings: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + UnityPurchasingSettings: | ||
7 | + m_Enabled: 0 | ||
8 | + m_TestMode: 0 | ||
9 | + UnityAnalyticsSettings: | ||
10 | + m_Enabled: 0 | ||
11 | + m_InitializeOnStartup: 1 | ||
12 | + m_TestMode: 0 | ||
13 | + m_TestEventUrl: | ||
14 | + m_TestConfigUrl: |
1 | +++ a/aninames.py | ||
@@ -0,0 +1,11 @@ | @@ -0,0 +1,11 @@ | ||
1 | +import os | ||
2 | +import bpy | ||
3 | +import codecs | ||
4 | + | ||
5 | +# write names into a file next to the blend | ||
6 | +file = codecs.open(os.path.splitext(bpy.data.filepath)[0] + '_aninames.txt', 'w', 'utf-8') | ||
7 | + | ||
8 | +for obj in bpy.data.actions: | ||
9 | + file.write("%s\n" % (obj.name)) | ||
10 | + | ||
11 | +file.close() | ||
0 | \ No newline at end of file | 12 | \ No newline at end of file |
1 | +++ a/autogen.py | ||
@@ -0,0 +1,18 @@ | @@ -0,0 +1,18 @@ | ||
1 | +import os | ||
2 | +import biadroid | ||
3 | + | ||
4 | + | ||
5 | +root = raw_input('Folder: ') | ||
6 | + | ||
7 | +for dirname, dirnames, filenames in os.walk(root): | ||
8 | + for dirn in dirnames: | ||
9 | + blends = dirname + "\\" + dirn | ||
10 | + print "\n\nAUTOGEN " + blends + "\n\n" | ||
11 | + | ||
12 | + biadroid.gen(blends, False) | ||
13 | + print dirn | ||
14 | + | ||
15 | + if os.path.isdir('Bundles'): | ||
16 | + os.rename("Bundles", "Bundles_" + dirn) | ||
17 | + | ||
18 | + break | ||
0 | \ No newline at end of file | 19 | \ No newline at end of file |
1 | +++ a/biadroid.py | ||
@@ -0,0 +1,91 @@ | @@ -0,0 +1,91 @@ | ||
1 | +import os | ||
2 | +import subprocess | ||
3 | +from subprocess import call | ||
4 | +import sys | ||
5 | +import re | ||
6 | +import shutil | ||
7 | + | ||
8 | +def clearBlends(): | ||
9 | + print('Cleaning Assets/Blends...') | ||
10 | + for dirname, dirnames, filenames in os.walk('Assets/Blends'): | ||
11 | + for filename in filenames: | ||
12 | + os.remove(os.path.join(dirname, filename)) | ||
13 | + for dirn in dirnames: | ||
14 | + shutil.rmtree(os.path.join(dirname, dirn)) | ||
15 | + print('Assets/Blends is empty.') | ||
16 | + | ||
17 | + | ||
18 | +root = os.path.dirname(os.path.realpath(__file__)) | ||
19 | + | ||
20 | + | ||
21 | +def gen(blends, prompt): | ||
22 | + if os.path.isdir('Assets/Blends'): | ||
23 | + numFiles = len([name for name in os.listdir('Assets/Blends')]) | ||
24 | + | ||
25 | + if numFiles > 0: | ||
26 | + if prompt: | ||
27 | + answer = raw_input('Assets/Blends (alguns files/dirs) will be cleared, prompt y/Y to continue or anything to quit: ') | ||
28 | + if (answer != 'y' and answer != 'Y'): | ||
29 | + sys.exit() | ||
30 | + else: | ||
31 | + clearBlends() | ||
32 | + else: | ||
33 | + clearBlends() | ||
34 | + else: | ||
35 | + os.mkdir('Assets/Blends') | ||
36 | + print('Assets/Blends created!') | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + if not os.path.isdir('LOGS'): | ||
41 | + os.mkdir('LOGS') | ||
42 | + print('LOGS created!') | ||
43 | + | ||
44 | + print('Checking ' + blends + '...') | ||
45 | + | ||
46 | + for dirname, dirnames, filenames in os.walk(blends): | ||
47 | + for filename in filenames: | ||
48 | + if filename.endswith('.blend'): | ||
49 | + print('') | ||
50 | + print('Found: ' + filename) | ||
51 | + path = os.path.join(dirname, filename) | ||
52 | + | ||
53 | + blendpath = root + '/Assets/Blends/' + filename | ||
54 | + print('Moving ' + path + ' to ' + blendpath + '...') | ||
55 | + os.rename(path, blendpath) | ||
56 | + | ||
57 | + animspath = root + '/Assets/Anims' | ||
58 | + if os.path.isdir(animspath): | ||
59 | + print 'Removing ' + animspath | ||
60 | + shutil.rmtree(animspath) | ||
61 | + | ||
62 | + print('Getting animation names...') | ||
63 | + call(['blender', blendpath, '--background', '--python', 'aninames.py']) | ||
64 | + | ||
65 | + print('Running converter...') | ||
66 | + call([ | ||
67 | + 'C:\Program Files\Unity\Editor\Unity.exe', | ||
68 | + '-quit', | ||
69 | + '-batchmode', | ||
70 | + '-logFile', | ||
71 | + root + '\LOGS\LOG__' + filename[:-6] + '.txt', | ||
72 | + '-projectPath', | ||
73 | + root, | ||
74 | + '-executeMethod', | ||
75 | + 'BlendToBundlesConverter.convert' | ||
76 | + ]) | ||
77 | + | ||
78 | + print('Success!') | ||
79 | + clearBlends() | ||
80 | + | ||
81 | + filepath = 'C:\Workspace\\babc\Assets\Bundles\\' | ||
82 | + subprocess.Popen('explorer /select,"' + filepath + '"') | ||
83 | + | ||
84 | + | ||
85 | +if __name__ == '__main__': | ||
86 | + blendsDir = raw_input('Folder: ') | ||
87 | + | ||
88 | + yesPattern = re.compile('[yY]') | ||
89 | + toContinue = '' | ||
90 | + | ||
91 | + gen(blends, True) | ||
0 | \ No newline at end of file | 92 | \ No newline at end of file |
1 | +++ a/test/script.py | ||
@@ -0,0 +1,33 @@ | @@ -0,0 +1,33 @@ | ||
1 | +# -*- coding: utf-8 -*- | ||
2 | + | ||
3 | +import os | ||
4 | +from sets import Set | ||
5 | + | ||
6 | +bundlesNames = [] | ||
7 | + | ||
8 | +for dirname, dirnames, filenames in os.walk('listas'): | ||
9 | + for filename in filenames: | ||
10 | + print 'Reading: ' + filename | ||
11 | + | ||
12 | + file = open('listas/' + filename) | ||
13 | + lines = file.readlines() | ||
14 | + | ||
15 | + for i in xrange(2, len(lines)): | ||
16 | + if lines[i] == '\n': | ||
17 | + break | ||
18 | + else: | ||
19 | + bundlesNames.append(lines[i][0:-1]) | ||
20 | + | ||
21 | +print bundlesNames | ||
22 | + | ||
23 | +bundles = Set(bundlesNames) | ||
24 | +print len(bundles) | ||
25 | + | ||
26 | +for dirname, dirnames, filenames in os.walk('sinais'): | ||
27 | + for filename in filenames: | ||
28 | + if filename in bundles: | ||
29 | + os.rename('sinais/' + filename, 'checados/' + filename) | ||
30 | + bundles.remove(filename) | ||
31 | + | ||
32 | +print '\nNao encontrados:' | ||
33 | +print bundles | ||
0 | \ No newline at end of file | 34 | \ No newline at end of file |