Skip to content

Commit 0cc6347

Browse files
committed
Updated wiki
1 parent d2ded02 commit 0cc6347

File tree

6 files changed

+18
-11
lines changed

6 files changed

+18
-11
lines changed

Assets/UXF/Scripts/Session.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
namespace UXF
1212
{
1313
/// <summary>
14-
/// The main class used to manage your experiment. Attach this to a gameobject, and it will manage your experiment "session".
14+
/// The Session represents a single "run" of an experiment, and contains all information about that run.
1515
/// </summary>
1616
[ExecuteInEditMode]
17+
[RequireComponent(typeof(FileIOManager))]
1718
public class Session : MonoBehaviour
1819
{
1920
/// <summary>

docs/generated_docs.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/wiki

Submodule wiki updated from 00758df to f7c2f96

docs/xml2md.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,14 @@ def to_md(self, directory):
8484
for method in self.methods:
8585
symbol = symbol_from_member(method)
8686

87-
if "#ctor" in symbol:
88-
symbol = symbol.replace("#ctor", full_name)
87+
symbol = symbol.replace("#ctor", full_name)
88+
symbol = symbol.replace(",", ", ")
89+
symbol = symbol.replace("{", "<")
90+
symbol = symbol.replace("}", ">")
91+
symbol = symbol.replace("System.String", "string")
92+
symbol = symbol.replace("System.Int32", "int")
93+
symbol = symbol.replace("System.Single", "float")
94+
symbol = symbol.replace("System.Object", "object")
8995

9096
writer.writeline(inline_code(symbol))
9197
blockquote = mg.BlockQuote()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
timestamp,log_type,message
2-
1.792352,Log,Joining FileIOManagerThread
2+
1.979085,Log,Joining FileIOManagerThread
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
experiment,ppid,session_num,trial_num,block_num,trial_num_in_block,start_time,end_time,observation,null_observation
2-
unit_test,test_trials,1,1,1,1,1.792352,1.792352,1,
3-
unit_test,test_trials,1,2,1,2,1.792352,1.792352,2,
4-
unit_test,test_trials,1,3,2,1,1.792352,1.792352,3,
5-
unit_test,test_trials,1,4,2,2,1.792352,1.792352,4,
6-
unit_test,test_trials,1,5,2,3,1.792352,1.792352,5,
2+
unit_test,test_trials,1,1,1,1,1.979085,1.979085,1,
3+
unit_test,test_trials,1,2,1,2,1.979085,1.979085,2,
4+
unit_test,test_trials,1,3,2,1,1.979085,1.979085,3,
5+
unit_test,test_trials,1,4,2,2,1.979085,1.979085,4,
6+
unit_test,test_trials,1,5,2,3,1.979085,1.979085,5,

0 commit comments

Comments
 (0)