Quantcast
Channel: Latest Questions by RedDevil
Browsing all 100 articles
Browse latest View live
↧

Unity New GUI Buttons not resposive on Touch

I have made a button to reload my scene and another one to exit the aplication once the player is dead.As all of us i am not experienced with this new GUI so i dont know if i did this right.I put my...

View Article


Unity 4.6 InputFields need help

Hi.So what i am trying to do is a test scene where i want to use the InputFields to change some variable values.Like most here I have not used these Inputfields before so I need help. After some...

View Article


Increase/reset speed on tilt

Hi! So what I am trying to do is have my character go in the tilt direction at an increasing speed.If the character changes drection then the speed resets to a value and then starts increasing...

View Article

Unity2D move object by touch input

Hi.I have this game where i instantiate a lot of 2D game objects and I want so that when i touch one of these objects that they would then start moving.The problem I am curently facing is that i get an...

View Article

Unity2D Touch event on just 1 object instead of all

Hi. So i have a script that detects TAP and does something when i tap on an 2D object with a collider atached to it.My problem is that i have this on 3 separate objects and if i click any of them they...

View Article


Mobile touch dragging from mouse dragging

Hi.So i have this function made to drag an object by the mouse and i want it to do the same with touch.Can you guys help? void Dragging () { Vector3 mouseWorldPoint =...

View Article

iOS game freezes at a collision after startup

Hi. Each time i start the game and it detects a collision i see it freeze for 1-2 seconds.This only happens after i just started the game.If i reset the game without closing it with...

View Article

Unity iOS Swipe not working

Hi! I have this code where if i swipe down i want to activate and deactivate some colliders and the oposite if i swipe up but it does not seem to work.Can someone tell me what is wrong with it?Thanks...

View Article


Unity2D iOS Dragable items by touch

Hi! So I have this 2D game where I am trying to touch drag through a few instantiated items.What I am trying to do is something like this:...

View Article


Getting all objects with a tag and inserting them into an array of gameobject

Hi! I am trying to get all the objects with the tag "Movable" from the scene and inserting them into an array of Gameobjects. i have looked over examples from documentation but it does not seem to be...

View Article

Scripts are opening with Visual Studio instead of Monodevelop

I recently installed Visual Studio and i noticed that my scripts now open in Visual Studio instead of Monodevelop.If i check my unity settings the editor is set to monodevelop but i still open them in...

View Article

2D Shooter - shooting forward at the current rotation

Hi! So I have a script where i rotate an enemy to face the player.Then I want the enemy to shoot a projectile at the angle the enemy is.I have tryed alot of different codes from the internet to shoot...

View Article

Unity 4.6 Android changing quality level during runtime

Hi!So I am using the new version of Unity and i am changing the quality level like this: I made some buttons then added this script for example: QualitySettings.SetQualityLevel(0,true); Now this...

View Article


Unity 4.6 Checkbox! How does it work?

Hi!I want to use a checkbox for my game's options menu.I am not sure how the new checkbox works.How can I set a function for when it is checked and when it is not? What I am trying to do is a checkbox...

View Article

Unity2D Android Black Screen

Hello!I am curently working on a 2D shooter and out of the blue when i started to test my app again on my Android phone i get a black screen.I tryed turning the phone on and off and even made new...

View Article


Unity 4.6 2D,UI apears under game Sprite

Hi guys! I wanted to make a Pause Menu for my game and my Sprites appear on top of the interface and this is pretty anoying because I don't know how to make the UI on top of the gameobjects. The...

View Article

2D Android Game Projectiles becoming invisible

Hi! I have been working on a 2D shooter game for a while and everything was going fine, but then i changed my game to scale with screen size and i started to have the following problem: in unity...

View Article


Unable to convert classes into dex format!

Hello! I have recently started to have this issue. After i try to make an android build of my game i am getting the error "Unable to convert classes into dex format". I made a little research into this...

View Article

Instantiate a GameObject at a position specific to an element that was found...

Hello! I am currently trying to create a chat using Unity. I am trying to instantiate emoticons at the position that the emoticon symbol was found but I am having to luck as of yet. I am correctly...

View Article

Touchscreen Joystick Character Control using PointerEventData

Hi, I am trying to control my character using an onscreen touch joystick. I have written this code with OnPointerDown, OnPointerUp and OnDrag and it works perfectly. The issue I am having is that this...

View Article
Browsing all 100 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>