Skip to content

Commit 67f3c5f

Browse files
authored
Merge pull request #34 from ExtendRealityLtd/feat/api_docs
feat(API): add auto-generated API documentation
2 parents e85f985 + ba131d8 commit 67f3c5f

12 files changed

Lines changed: 387 additions & 1 deletion

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[Ll]ibrary/
22
[Tt]emp/
33
[Oo]bj/
4+
[Oo]bj.meta
45
[Bb]uild/
56
[Bb]uilds/
67
[Ll]ogs/
@@ -32,4 +33,4 @@ ExportedObj/
3233

3334
# System files
3435
.DS_Store
35-
*.swp
36+
*.swp

Documentation/API.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Documentation/API/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Namespace Tilia.Input.UnityInputManager
2+
3+
### Classes
4+
5+
#### [UnityInputManagerAxis1DAction]
6+
7+
Listens for the specified axis and emits the appropriate action.
8+
9+
#### [UnityInputManagerAxis2DAction]
10+
11+
Listens for the specified axes and emits the appropriate action.
12+
13+
#### [UnityInputManagerButtonAction]
14+
15+
Listens for the specified [KeyCode] state and emits the appropriate action.
16+
17+
[UnityInputManagerAxis1DAction]: UnityInputManagerAxis1DAction.md
18+
[UnityInputManagerAxis2DAction]: UnityInputManagerAxis2DAction.md
19+
[UnityInputManagerButtonAction]: UnityInputManagerButtonAction.md
20+
[KeyCode]: UnityInputManagerButtonAction.md#Tilia_Input_UnityInputManager_UnityInputManagerButtonAction_KeyCode

Documentation/API/README.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# Class UnityInputManagerAxis1DAction
2+
3+
Listens for the specified axis and emits the appropriate action.
4+
5+
## Contents
6+
7+
* [Inheritance]
8+
* [Namespace]
9+
* [Syntax]
10+
* [Properties]
11+
* [AxisName]
12+
* [Multiplier]
13+
* [Methods]
14+
* [Process()]
15+
* [Implements]
16+
17+
## Details
18+
19+
##### Inheritance
20+
21+
* System.Object
22+
* UnityInputManagerAxis1DAction
23+
24+
##### Implements
25+
26+
IProcessable
27+
28+
##### Namespace
29+
30+
* [Tilia.Input.UnityInputManager]
31+
32+
##### Syntax
33+
34+
```
35+
public class UnityInputManagerAxis1DAction : FloatAction, IProcessable
36+
```
37+
38+
### Properties
39+
40+
#### AxisName
41+
42+
The named axis to listen for state changes on.
43+
44+
##### Declaration
45+
46+
```
47+
public string AxisName { get; set; }
48+
```
49+
50+
#### Multiplier
51+
52+
Multiplies the axis value.
53+
54+
##### Declaration
55+
56+
```
57+
public float Multiplier { get; set; }
58+
```
59+
60+
### Methods
61+
62+
#### Process()
63+
64+
##### Declaration
65+
66+
```
67+
public void Process()
68+
```
69+
70+
### Implements
71+
72+
IProcessable
73+
74+
[Tilia.Input.UnityInputManager]: README.md
75+
[Inheritance]: #Inheritance
76+
[Namespace]: #Namespace
77+
[Syntax]: #Syntax
78+
[Properties]: #Properties
79+
[AxisName]: #AxisName
80+
[Multiplier]: #Multiplier
81+
[Methods]: #Methods
82+
[Process()]: #Process
83+
[Implements]: #Implements

Documentation/API/UnityInputManagerAxis1DAction.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# Class UnityInputManagerAxis2DAction
2+
3+
Listens for the specified axes and emits the appropriate action.
4+
5+
## Contents
6+
7+
* [Inheritance]
8+
* [Namespace]
9+
* [Syntax]
10+
* [Properties]
11+
* [XAxisName]
12+
* [XMultiplier]
13+
* [YAxisName]
14+
* [YMultiplier]
15+
* [Methods]
16+
* [Process()]
17+
* [Implements]
18+
19+
## Details
20+
21+
##### Inheritance
22+
23+
* System.Object
24+
* UnityInputManagerAxis2DAction
25+
26+
##### Implements
27+
28+
IProcessable
29+
30+
##### Namespace
31+
32+
* [Tilia.Input.UnityInputManager]
33+
34+
##### Syntax
35+
36+
```
37+
public class UnityInputManagerAxis2DAction : Vector2Action, IProcessable
38+
```
39+
40+
### Properties
41+
42+
#### XAxisName
43+
44+
The named x axis to listen for state changes on.
45+
46+
##### Declaration
47+
48+
```
49+
public string XAxisName { get; set; }
50+
```
51+
52+
#### XMultiplier
53+
54+
Multiplies the x axis value.
55+
56+
##### Declaration
57+
58+
```
59+
public float XMultiplier { get; set; }
60+
```
61+
62+
#### YAxisName
63+
64+
The named y axis to listen for state changes on.
65+
66+
##### Declaration
67+
68+
```
69+
public string YAxisName { get; set; }
70+
```
71+
72+
#### YMultiplier
73+
74+
Multiplies the y axis value.
75+
76+
##### Declaration
77+
78+
```
79+
public float YMultiplier { get; set; }
80+
```
81+
82+
### Methods
83+
84+
#### Process()
85+
86+
##### Declaration
87+
88+
```
89+
public void Process()
90+
```
91+
92+
### Implements
93+
94+
IProcessable
95+
96+
[Tilia.Input.UnityInputManager]: README.md
97+
[Inheritance]: #Inheritance
98+
[Namespace]: #Namespace
99+
[Syntax]: #Syntax
100+
[Properties]: #Properties
101+
[XAxisName]: #XAxisName
102+
[XMultiplier]: #XMultiplier
103+
[YAxisName]: #YAxisName
104+
[YMultiplier]: #YMultiplier
105+
[Methods]: #Methods
106+
[Process()]: #Process
107+
[Implements]: #Implements

Documentation/API/UnityInputManagerAxis2DAction.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Class UnityInputManagerButtonAction
2+
3+
Listens for the specified [KeyCode] state and emits the appropriate action.
4+
5+
## Contents
6+
7+
* [Inheritance]
8+
* [Namespace]
9+
* [Syntax]
10+
* [Properties]
11+
* [KeyCode]
12+
* [Methods]
13+
* [Process()]
14+
* [Implements]
15+
16+
## Details
17+
18+
##### Inheritance
19+
20+
* System.Object
21+
* UnityInputManagerButtonAction
22+
23+
##### Implements
24+
25+
IProcessable
26+
27+
##### Namespace
28+
29+
* [Tilia.Input.UnityInputManager]
30+
31+
##### Syntax
32+
33+
```
34+
public class UnityInputManagerButtonAction : BooleanAction, IProcessable
35+
```
36+
37+
### Properties
38+
39+
#### KeyCode
40+
41+
The UnityEngine.KeyCode to listen for state changes on.
42+
43+
##### Declaration
44+
45+
```
46+
public KeyCode KeyCode { get; set; }
47+
```
48+
49+
### Methods
50+
51+
#### Process()
52+
53+
##### Declaration
54+
55+
```
56+
public void Process()
57+
```
58+
59+
### Implements
60+
61+
IProcessable
62+
63+
[KeyCode]: UnityInputManagerButtonAction.md#KeyCode
64+
[Tilia.Input.UnityInputManager]: README.md
65+
[Inheritance]: #Inheritance
66+
[Namespace]: #Namespace
67+
[Syntax]: #Syntax
68+
[Properties]: #Properties
69+
[KeyCode]: #KeyCode
70+
[Methods]: #Methods
71+
[Process()]: #Process
72+
[Implements]: #Implements

Documentation/API/UnityInputManagerButtonAction.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)