Skip to content

Commit

Permalink
docs: update input alias docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yowpark committed Dec 15, 2023
1 parent 59b559a commit 705b24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/docs/engine/unity/Input-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Go to [`Project Settings`](https://docs.unity3d.com/Manual/comp-ManagerGroup.htm

## When using Input Manager

Unity [`Input`](https://docs.unity3d.com/ScriptReference/Input.html) You need to modify where you use the class to use `Gamium.Input`.
Please use [`using`](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/using-directive) to `alias` at the top of the file as shown below.
You need to modify where you use the class [`UnityEngine.Input`](https://docs.unity3d.com/ScriptReference/Input.html) to use `Gamium.Input`.
Use a [`using`](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/using-directive) directive as shown below to alias it to use Gamium.Input rather than the existing Input.

:::info
Gamium.Input provides the same API as UnityInput.
Expand Down

0 comments on commit 705b24c

Please sign in to comment.