|
Post by hardcopi on May 27, 2020 3:20:30 GMT
I am trying to add mobile controls to a game in progress. It is a simple endless runner type. I added the Mobile Controls prefab and made sure control of the cursor was checked.
Nothing appears on the screen and when I try to compile the APK I get the following error:
Assets\Invector-3rdPersonController\ItemManager\Scripts\vItemSlot.cs(348,17): error CS0103: The name 'vInput' does not exist in the current context
and
Assets\Invector-3rdPersonController\ItemManager\Scripts\vItemSlot.cs(348,48): error CS0103: The name 'InputDevice' does not exist in the current context
It works fine in desktop mode.
|
|
|
Post by joaogames on Jun 24, 2020 3:22:34 GMT
I am trying to add mobile controls to a game in progress. It is a simple endless runner type. I added the Mobile Controls prefab and made sure control of the cursor was checked. Nothing appears on the screen and when I try to compile the APK I get the following error: Assets\Invector-3rdPersonController\ItemManager\Scripts\vItemSlot.cs(348,17): error CS0103: The name 'vInput' does not exist in the current context and Assets\Invector-3rdPersonController\ItemManager\Scripts\vItemSlot.cs(348,48): error CS0103: The name 'InputDevice' does not exist in the current context It works fine in desktop mode.
|
|
nesh88
Junior vMember
Posts: 45
|
Post by nesh88 on Jun 24, 2020 17:41:29 GMT
Go to the top of the script and type using namespace Invector.CharacterController and it should be fine
|
|
|
Post by Invector on Jun 25, 2020 1:05:53 GMT
|
|
n3xt
New vMember
Posts: 3
|
Post by n3xt on Jun 21, 2021 9:38:34 GMT
when I import the addon it gives me these errors
Assets\Invector-3rdPersonController\Add-ons\Controller_Mobile\Basic\Scripts\MoveCamera.cs(18,9): error CS0246: The type or namespace name 'CrossPlatformInputManager' could not be found (are you missing a using directive or an assembly reference?)
Assets\Invector-3rdPersonController\Add-ons\Controller_Mobile\Basic\Scripts\MoveCamera.cs(19,9): error CS0246: The type or namespace name 'CrossPlatformInputManager' could not be found (are you missing a using directive or an assembly reference?)
Assets\Invector-3rdPersonController\Add-ons\Controller_Mobile\Basic\Scripts\InvectorJoystick.cs(25,5): error CS0246: The type or namespace name 'CrossPlatformInputManager' could not be found (are you missing a using directive or an assembly reference?)
Assets\Invector-3rdPersonController\Add-ons\Controller_Mobile\Basic\Scripts\InvectorJoystick.cs(26,5): error CS0246: The type or namespace name 'CrossPlatformInputManager' could not be found (are you missing a using directive or an assembly reference?)
|
|