Commit 71ac122
* Implement input handling for toggling the runtime editor in OnEnable and OnDisable instead of Start function.
* Refactor input handling to use OnEnable and OnDisable for attack actions
* Refactor input handling to use OnEnabled and OnDisabled for input events
* Refactor input handling in ConsolePanelView to use OnEnabled and OnDisabled for console actions
* Refactor input handling in RadialInteractionSubSystem to use OnEnabled and OnDisabled for interaction events
* Refactor input handling in CameraFollow to use OnAwake, OnEnabled, and OnDisabled for initialization and cleanup
* Refactor input handling in GameScreensController to use OnEnabled and OnDisabled for menu toggle actions
* Refactor input handling in SelectionCamera to use OnEnabled and OnDisabled for toggle debug mode
* Refactor input handling in ConstructionHologramManager to use OnAwake, OnEnabled, and OnDisabled for initialization and cleanup
* Refactor input handling in RagdollWhenPressingButton to use OnAwake, OnEnabled, and OnDisabled for initialization and cleanup
* Refactor input handling in InteractionController to use OnAwake, OnEnabled, and OnDisabled for initialization and cleanup
* Add function summary for EnableInput and DisableInput functions
* Refactor input handling in HumanoidController to use OnAwake, OnEnabled, and OnDisabled for initialization and cleanup
* Updated item prefabs' NetworkTransform's Client Authoritative property to false.
* Revert "Updated item prefabs' NetworkTransform's Client Authoritative property to false."
This reverts commit 6b1f00a.
* Refactor input subscription logic in RagdollWhenPressingButton to handle ownership changes, and remove usage of coroutines.
* Refactor input handling in HumanoidController to eliminate coroutines and manage input subscription based on ownership changes.
* Refactor input handling in InteractionController to manage input subscription based on ownership changes, removing coroutine usage.
* Update Assets/Scripts/SS3D/Hacks/RagdollWhenPressingButton.cs
Co-authored-by: iamteapot <77565416+iamteapot422@users.noreply.github.com>
* Update Assets/Scripts/SS3D/Systems/Entities/Humanoid/HumanoidController.cs
Added a comment to warn people why Awake shouldn't be removed
Co-authored-by: iamteapot <77565416+iamteapot422@users.noreply.github.com>
* Update Assets/Scripts/SS3D/Systems/Entities/Humanoid/HumanoidController.cs
Co-authored-by: iamteapot <77565416+iamteapot422@users.noreply.github.com>
* Update Assets/Scripts/SS3D/Systems/Entities/Humanoid/HumanoidController.cs
Co-authored-by: iamteapot <77565416+iamteapot422@users.noreply.github.com>
* Update Assets/Scripts/SS3D/Systems/Entities/Humanoid/HumanoidController.cs
Co-authored-by: iamteapot <77565416+iamteapot422@users.noreply.github.com>
* Update Assets/Scripts/SS3D/Systems/Entities/Humanoid/HumanoidController.cs
Co-authored-by: iamteapot <77565416+iamteapot422@users.noreply.github.com>
* Update Assets/Scripts/SS3D/Systems/Entities/Humanoid/HumanoidController.cs
Co-authored-by: iamteapot <77565416+iamteapot422@users.noreply.github.com>
* Update Assets/Scripts/SS3D/Systems/Interactions/InteractionController.cs
Co-authored-by: iamteapot <77565416+iamteapot422@users.noreply.github.com>
* Update Assets/Scripts/SS3D/Systems/Interactions/InteractionController.cs
Co-authored-by: iamteapot <77565416+iamteapot422@users.noreply.github.com>
---------
Co-authored-by: iamteapot <77565416+iamteapot422@users.noreply.github.com>
1 parent 1b4ad79 commit 71ac122
12 files changed
Lines changed: 347 additions & 97 deletions
File tree
- Assets/Scripts
- External/RuntimeInspector
- SS3D
- Hacks
- Systems
- Entities/Humanoid
- Gamemodes/UI
- IngameConsoleSystem
- Interactions
- Screens
- Selection
- Tile/TileMapCreator
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
28 | 48 | | |
29 | 49 | | |
30 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | | - | |
| 46 | + | |
43 | 47 | | |
44 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
45 | 54 | | |
46 | 55 | | |
47 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
25 | 26 | | |
26 | | - | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
30 | 73 | | |
31 | 74 | | |
32 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
33 | 83 | | |
34 | 84 | | |
35 | 85 | | |
36 | 86 | | |
37 | 87 | | |
38 | 88 | | |
39 | | - | |
40 | | - | |
| 89 | + | |
Lines changed: 65 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
62 | 78 | | |
63 | | - | |
64 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
65 | 86 | | |
66 | 87 | | |
67 | 88 | | |
68 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
69 | 112 | | |
70 | 113 | | |
71 | 114 | | |
| |||
76 | 119 | | |
77 | 120 | | |
78 | 121 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 122 | | |
84 | 123 | | |
85 | 124 | | |
86 | 125 | | |
87 | | - | |
| 126 | + | |
88 | 127 | | |
89 | | - | |
90 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
91 | 137 | | |
92 | 138 | | |
93 | | - | |
| 139 | + | |
94 | 140 | | |
95 | | - | |
96 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
97 | 146 | | |
| 147 | + | |
98 | 148 | | |
99 | 149 | | |
100 | 150 | | |
| |||
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
| |||
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
40 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
41 | 53 | | |
42 | 54 | | |
43 | 55 | | |
44 | | - | |
45 | | - | |
| 56 | + | |
| 57 | + | |
46 | 58 | | |
47 | | - | |
| 59 | + | |
48 | 60 | | |
49 | 61 | | |
50 | 62 | | |
| |||
Lines changed: 31 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
66 | | - | |
| 62 | + | |
67 | 63 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
74 | 94 | | |
75 | 95 | | |
76 | 96 | | |
| |||
0 commit comments