Skip to content

Commit

Permalink
move lang into streaming assets
Browse files Browse the repository at this point in the history
  • Loading branch information
callistoAshley committed Nov 2, 2021
1 parent ef30262 commit 57c57ed
Show file tree
Hide file tree
Showing 44 changed files with 13 additions and 12 deletions.
Binary file modified .vs/space!!!!/v16/.suo
Binary file not shown.
8 changes: 8 additions & 0 deletions Assets/StreamingAssets.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Assets/alisonscript/Functions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public IEnumerator Log(FunctionArgs args)
foreach (string s in args.args)
Debug.Log(s);
args.callback.Invoke();

yield break;
}

Expand Down
2 changes: 1 addition & 1 deletion Assets/alisonscript/Interpreter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static void Run(string script)
Controller.instance.canMove = false;

// read lines of file
string[] file = File.ReadAllLines(Application.dataPath + "/lang/en/" + script + ".alisonscript");
string[] file = File.ReadAllLines(Application.streamingAssetsPath + "/lang/en/" + script + ".alisonscript");

// create running script
runningScript = new RunningScript(Line.FromStringArray(file));
Expand Down
7 changes: 0 additions & 7 deletions Assets/scripts/UI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,19 +122,12 @@ public virtual IEnumerator PrintText(
{
inputProcessedCallback = new Action(() =>
{
Debug.Log("invoking thingimajig " + text);
callback.Invoke();
});
}

//Debug.Log("enqueing " + text);
UIManager.instance.inputQueue.Push(this);

Debug.Log("ok so!");
foreach (UI ui in UIManager.instance.inputQueue)
{
Debug.Log(ui.text.text);
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion Library/EditorInstance.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"process_id" : 11388,
"process_id" : 6608,
"version" : "2019.2.8f1",
"app_path" : "C:/Program Files/Unity/Hub/Editor/2019.2.8f1/Editor/Unity.exe",
"app_contents_path" : "C:/Program Files/Unity/Hub/Editor/2019.2.8f1/Editor/Data"
Expand Down
Binary file modified Library/ScriptAssemblies/Assembly-CSharp.dll
Binary file not shown.
Binary file modified Library/ScriptAssemblies/Assembly-CSharp.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion Library/StateCache/Hierarchy/3a1511-mainStage.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"m_ExpandedPrefabGameObjectFileIDs":[],"m_ExpandedSceneGameObjectInstanceIDs":[-17144,-17100,-16856,-16820,-16816,-14684,-14640,-14396,-14360,-14356,-14120,-14076,-13832,-13796,-13792,-12862,-12818,-12570,-12530,-12522,-11012,-10998,-9654,-9408,-8786,-6868,-6504,-6118,-3970,-2324,-2310,-1174,-12],"m_ScrollY":0.0,"m_LastClickedFileID":0,"m_LastClickedInstanceID":0}
{"m_ExpandedPrefabGameObjectFileIDs":[],"m_ExpandedSceneGameObjectInstanceIDs":[-1174],"m_ScrollY":0.0,"m_LastClickedFileID":0,"m_LastClickedInstanceID":0}
2 changes: 1 addition & 1 deletion Library/StateCache/SceneView/e4d1cd-mainStage.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"showFog":true,"showMaterialUpdate":false,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true},"in2DMode":true,"pivot":{"x":0.48868799209594729,"y":-0.7446132898330689,"z":-1311.155029296875},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":13.45053482055664,"orthographic":true}
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"showFog":true,"showMaterialUpdate":false,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true},"in2DMode":true,"pivot":{"x":-5.923569202423096,"y":1.7080830335617066,"z":-1553.3385009765625},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":20.606281280517579,"orthographic":true}
Binary file modified Library/assetDatabase3
Binary file not shown.
Binary file modified Library/metadata/03/034275478b274924fad89f2574a7a211
Binary file not shown.
Binary file modified Library/metadata/1a/1aebe45c36ed3d949928e2649732f557
Binary file not shown.
Binary file modified Library/metadata/1d/1d5c944e563dc3642854acfdc19283e7
Binary file not shown.
Binary file modified Library/metadata/1d/1d5c944e563dc3642854acfdc19283e7.info
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Library/metadata/69/69eba865caa17f34b8433d7256a07e7e
Binary file not shown.
Binary file modified Library/metadata/7b/7b41853a1c4586d4080475bebfa90026
Binary file not shown.
Binary file modified Library/metadata/8a/8a55aa5b50727ce4b9e7087e56be839b
Binary file not shown.
Binary file modified Library/metadata/8f/8f82fed108bf7ea4c8a76a48be634bd6
Binary file not shown.
Binary file modified Library/metadata/a3/a30e12859aaa822439f4df596718f931
Binary file not shown.
Binary file modified Library/metadata/b5/b5ddd9e2159436c45862e53b3254ee08
Binary file not shown.
Binary file modified Library/metadata/c9/c9a3a7de369692443a281ab60353c828
Binary file not shown.
Binary file modified Library/metadata/d1/d1ed48e316fa5e440830c947b6978a81
Binary file not shown.
Binary file modified Library/metadata/d6/d60d803793d0744499906b87c773caab
Binary file not shown.
Binary file modified Library/metadata/e4/e4d823a7941686f49b93a2608f662950
Binary file not shown.

0 comments on commit 57c57ed

Please sign in to comment.