
FPS Controls for mobile devices Unity Source Code – easy first person shooter virtual controls
$5.00 Original price was: $5.00.$2.50Current price is: $2.50.
Why should buy from us
- 100% Legit and Clean Code : Receive fully legitimate and clean code directly from the original source, ensuring reliability and security for your projects.
- Instant Payments via Crypto : Enjoy seamless, instant transactions using cryptocurrency, eliminating delays and providing a secure payment experience.
- Global Accessibility : Accept payments from customers worldwide without the hassle of currency conversion or international transaction fees.
- Secure and Transparent Transactions : Benefit from the security and transparency of blockchain technology, protecting your transactions from fraud and ensuring trust.
- High-Quality Scripts : Get high-quality, well-documented scripts tailored to your needs, backed by direct support from the original developers.
More Information
- Code Delivered in 24 Hours : Receive your code within 24 hours, directly from the original store.
- 100% Authentic Code : Get 100% genuine code sourced directly from ThemeForest.net and CodeCanyon.net.
- Affordable Pricing : Our prices are competitive because the code is shared by individuals who purchase directly from the original marketplaces.
- Chat or Email for Details : Contact us via chat or email for more information and to learn how we ensure quality and authenticity.
Description
Test it here WebGL Or download apk file and test it on your android device This asset will provide you with FPS controls for mobile devices that is very easy to setup and use How to use it Drag and drop FPS Controls from Prefab folder into your scene Use JoystickLeft positionX static variable inside your scripts to get left joysticks X axis value use JoystickLeft positionY to get Y axis value you will get value from -1 to 1 for x and also from -1 to 1 for y axis Example Vector3 moveX JoystickLeft positionX speed transform right Vector3 moveY JoystickLeft positionY speed transform forward rigidbody MovePosition transform position moveX Time fixedDeltaTime moveY Time fixedDeltaTime In case that your character doesn t have rigidbody you can use this transform position transform position moveX Time fixedDeltaTime moveY Time fixedDeltaTime – For rotation use JoystickRight rotX and JoystickRight rotY Example void Update transform rotation Quaternion Euler JoystickRight rotY JoystickRight rotX 0 To detect if shot button is pressed you can use JoystickRight shot static variable It will return true when shot button is pressed and false when it is released To detect if jump button is pressed use JoystickRight jump It will return true whan jump button is pressed and false when it is released



