Commit 27042952 authored by Danial KordModanlou's avatar Danial KordModanlou

directory building added

parent 385f8dd0
......@@ -3,10 +3,6 @@
<component name="ChangeListManager">
<list default="true" id="63a78b22-9aa4-4157-97bc-72b63425d4fc" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/.idea.car-sim-remaster/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.car-sim-remaster/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/CSV/p1.csv" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/CSV/p1.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scenes/SampleScene.unity" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scenes/SampleScene.unity" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/TurnTheGameOn/IK Driver/Scripts/Utility/IKD_DemoController.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/TurnTheGameOn/IK Driver/Scripts/Utility/IKD_DemoController.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/scripts/CarCustom.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/scripts/CarCustom.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/scripts/DataSaver.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/scripts/DataSaver.cs" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
......@@ -51,33 +47,34 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Assets/scripts/DataSaver.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="189">
<caret line="215" column="115" selection-start-line="215" selection-start-column="115" selection-end-line="215" selection-end-column="115" />
<state relative-caret-position="101">
<caret line="147" column="43" selection-start-line="147" selection-start-column="35" selection-end-line="147" selection-end-column="43" />
<folding>
<marker date="1593017465070" expanded="true" signature="7:181" ph="..." />
<marker date="1593017465070" expanded="true" signature="221:6681" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="941:1120" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1146:1300" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1366:1428" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1454:5438" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1495:1536" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1670:2011" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1693:2001" ph="/* Creating First row of titles manually.. ... */" />
<marker date="1593017465070" expanded="true" signature="2110:3856" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="2873:3226" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="3243:3437" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="3889:3930" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="4018:4127" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="4145:4415" ph="/* StreamWriter sw = new StreamWriter(filePath); ... */" />
<marker date="1593017465070" expanded="true" signature="4428:5316" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="4477:5306" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="4526:5230" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="5344:5432" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="5548:5634" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="5665:6679" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="5699:6272" ph="/* while (true) ... */" />
<marker date="1593017465070" expanded="true" signature="6411:6672" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="6500:6630" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="7:181" ph="..." />
<marker date="1593019093389" expanded="true" signature="221:6834" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="941:1273" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1175:1265" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1299:1453" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1519:1581" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1607:5591" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1648:1689" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1823:2164" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1846:2154" ph="/* Creating First row of titles manually.. ... */" />
<marker date="1593019093389" expanded="true" signature="2263:4009" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="3026:3379" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="3396:3590" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="4042:4083" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="4171:4280" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="4298:4568" ph="/* StreamWriter sw = new StreamWriter(filePath); ... */" />
<marker date="1593019093389" expanded="true" signature="4581:5469" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="4630:5459" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="4679:5383" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="5497:5585" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="5701:5787" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="5818:6832" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="5852:6425" ph="/* while (true) ... */" />
<marker date="1593019093389" expanded="true" signature="6564:6825" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="6653:6783" ph="{...}" />
</folding>
</state>
</provider>
......@@ -531,12 +528,12 @@
<workItem from="1592819922754" duration="7271000" />
<workItem from="1592844854491" duration="3361000" />
<workItem from="1593015133790" duration="186000" />
<workItem from="1593015568604" duration="1522000" />
<workItem from="1593015568604" duration="2474000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="51917000" />
<option name="totallyTimeSpent" value="52869000" />
</component>
<component name="TodoView">
<todo-panel id="selected-file">
......@@ -1181,33 +1178,34 @@
</entry>
<entry file="file://$PROJECT_DIR$/Assets/scripts/DataSaver.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="189">
<caret line="215" column="115" selection-start-line="215" selection-start-column="115" selection-end-line="215" selection-end-column="115" />
<state relative-caret-position="101">
<caret line="147" column="43" selection-start-line="147" selection-start-column="35" selection-end-line="147" selection-end-column="43" />
<folding>
<marker date="1593017465070" expanded="true" signature="7:181" ph="..." />
<marker date="1593017465070" expanded="true" signature="221:6681" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="941:1120" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1146:1300" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1366:1428" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1454:5438" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1495:1536" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1670:2011" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="1693:2001" ph="/* Creating First row of titles manually.. ... */" />
<marker date="1593017465070" expanded="true" signature="2110:3856" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="2873:3226" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="3243:3437" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="3889:3930" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="4018:4127" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="4145:4415" ph="/* StreamWriter sw = new StreamWriter(filePath); ... */" />
<marker date="1593017465070" expanded="true" signature="4428:5316" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="4477:5306" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="4526:5230" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="5344:5432" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="5548:5634" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="5665:6679" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="5699:6272" ph="/* while (true) ... */" />
<marker date="1593017465070" expanded="true" signature="6411:6672" ph="{...}" />
<marker date="1593017465070" expanded="true" signature="6500:6630" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="7:181" ph="..." />
<marker date="1593019093389" expanded="true" signature="221:6834" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="941:1273" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1175:1265" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1299:1453" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1519:1581" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1607:5591" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1648:1689" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1823:2164" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="1846:2154" ph="/* Creating First row of titles manually.. ... */" />
<marker date="1593019093389" expanded="true" signature="2263:4009" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="3026:3379" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="3396:3590" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="4042:4083" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="4171:4280" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="4298:4568" ph="/* StreamWriter sw = new StreamWriter(filePath); ... */" />
<marker date="1593019093389" expanded="true" signature="4581:5469" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="4630:5459" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="4679:5383" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="5497:5585" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="5701:5787" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="5818:6832" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="5852:6425" ph="/* while (true) ... */" />
<marker date="1593019093389" expanded="true" signature="6564:6825" ph="{...}" />
<marker date="1593019093389" expanded="true" signature="6653:6783" ph="{...}" />
</folding>
</state>
</provider>
......
......@@ -46,6 +46,11 @@ public class DataSaver : MonoBehaviour
firstPos = pivot.transform.position;
StartCoroutine(find());
if (!Directory.Exists(Application.dataPath + "/CSV"))
{
Directory.CreateDirectory(Application.dataPath + "/CSV");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment