From 37c888c410effffa2e1e3a68476e0dd57041f5db Mon Sep 17 00:00:00 2001 From: Byoungwook Park Date: Fri, 15 Dec 2023 19:51:30 +0900 Subject: [PATCH] docs: update input alias docs --- .../docs/engine/unity/Input-configuration.mdx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/docs/docs/engine/unity/Input-configuration.mdx b/docs/docs/docs/engine/unity/Input-configuration.mdx index 09565e9..94515c9 100644 --- a/docs/docs/docs/engine/unity/Input-configuration.mdx +++ b/docs/docs/docs/engine/unity/Input-configuration.mdx @@ -14,14 +14,8 @@ Go to [`Project Settings`](https://docs.unity3d.com/Manual/comp-ManagerGroup.htm ## When using Input Manager You need to modify where you use the class [`UnityEngine.Input`](https://docs.unity3d.com/ScriptReference/Input.html) to use `Gamium.Input`. -Look for files that use the input class. And use the [`using`](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/using-directive) directive at the top of the file to use Gamium.Input instead of the existing Input. +Look for files that use the input class. And insert the code below at the top of the file to use Gamium.Input instead of the existing Input. -:::info -Gamium.Input provides the same API as UnityInput. -The difference is that Gamium.Input also process and simulate input requests sent by the Gamium Client. - -If you don't want this, you don't have to alias as Gamium.Input. -::: ### Usage @@ -32,6 +26,14 @@ using Input = Gamium.Input; ``` +:::info +Gamium.Input provides the same API as UnityInput. +The difference is that Gamium.Input also process and simulate input requests sent by the Gamium Client. + +If you don't want this, you don't have to alias as Gamium.Input. +::: + + ## When using Input Manager There is no further action to be taken. However, there are not many games tested with Input System yet, so it may be unstable.