diff --git a/Assets/Action/PlayerInput.cs b/Assets/Action/PlayerInput.cs index 2ac30be05986749618e7df84014f88fe82abbe6c..4b8f9d6fb019e3b3a632c19a44ef288458fbe3be 100644 --- a/Assets/Action/PlayerInput.cs +++ b/Assets/Action/PlayerInput.cs @@ -244,6 +244,17 @@ public partial class @PlayerInput: IInputActionCollection2, IDisposable ""isComposite"": false, ""isPartOfComposite"": false }, + { + ""name"": """", + ""id"": ""4ccfabf2-4d9c-42e9-a3b2-84139ac9f50f"", + ""path"": ""<Touchscreen>/delta"", + ""interactions"": """", + ""processors"": """", + ""groups"": """", + ""action"": ""MoveDirection"", + ""isComposite"": false, + ""isPartOfComposite"": false + }, { ""name"": """", ""id"": ""031edcd3-97ca-4e70-9aec-88e6c6587695"", @@ -321,6 +332,17 @@ public partial class @PlayerInput: IInputActionCollection2, IDisposable ""isComposite"": false, ""isPartOfComposite"": false }, + { + ""name"": """", + ""id"": ""2931bbfd-6ee0-4361-a57e-2532dc3db0df"", + ""path"": ""<Touchscreen>/touch*/Press"", + ""interactions"": """", + ""processors"": """", + ""groups"": """", + ""action"": ""Attack"", + ""isComposite"": false, + ""isPartOfComposite"": false + }, { ""name"": """", ""id"": ""1fbd979b-95de-4068-8a75-897a1236c0ff"", diff --git a/Assets/Action/PlayerInput.inputactions b/Assets/Action/PlayerInput.inputactions index 56f7b1f80987e433d0a52f405f0cf49f4dcc8730..aabd4433a2eed5b2f674a37b8aa4383c5d6aaeeb 100644 --- a/Assets/Action/PlayerInput.inputactions +++ b/Assets/Action/PlayerInput.inputactions @@ -222,6 +222,17 @@ "isComposite": false, "isPartOfComposite": false }, + { + "name": "", + "id": "4ccfabf2-4d9c-42e9-a3b2-84139ac9f50f", + "path": "<Touchscreen>/delta", + "interactions": "", + "processors": "", + "groups": "", + "action": "MoveDirection", + "isComposite": false, + "isPartOfComposite": false + }, { "name": "", "id": "031edcd3-97ca-4e70-9aec-88e6c6587695", @@ -299,6 +310,17 @@ "isComposite": false, "isPartOfComposite": false }, + { + "name": "", + "id": "2931bbfd-6ee0-4361-a57e-2532dc3db0df", + "path": "<Touchscreen>/touch*/Press", + "interactions": "", + "processors": "", + "groups": "", + "action": "Attack", + "isComposite": false, + "isPartOfComposite": false + }, { "name": "", "id": "1fbd979b-95de-4068-8a75-897a1236c0ff", diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index f6b7702537e8aa5745db8022943a1222beb6726a..747d851a624b84ced96319f3fc5417598c2be1f9 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -58,8 +58,8 @@ PlayerSettings: iosShowActivityIndicatorOnLoading: -1 androidShowActivityIndicatorOnLoading: -1 iosUseCustomAppBackgroundBehavior: 0 - allowedAutorotateToPortrait: 1 - allowedAutorotateToPortraitUpsideDown: 1 + allowedAutorotateToPortrait: 0 + allowedAutorotateToPortraitUpsideDown: 0 allowedAutorotateToLandscapeRight: 1 allowedAutorotateToLandscapeLeft: 1 useOSAutorotation: 1