All Questions
380
questions
0
votes
1
answer
26
views
How do I make a different interval for the appearance of balls?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnManagerX : MonoBehaviour
{
public GameObject[] ballPrefabs;
private float spawnLimitXLeft = -...
0
votes
1
answer
45
views
Why is the player not moving with a moving platform in unity?
If I am running the game in build mode, and when I jump onto the platform, the player moves along with it. But whenever the player dies and goes inactive, resets position and goes active again, it ...
1
vote
0
answers
19
views
unity android swipe controller script is correct but not working
first of all, sorry my english. I made a game in the style of endless run and the character can swipe left and right and jump in the game. The game works fine in the editor, but when I run it on ...
12
votes
3
answers
19k
views
How to disable physics system in unity
I want to develop native android app in unity engine, and does not need to use physics, could it possible to disable physics engine for specific project in unity.
-2
votes
1
answer
530
views
Multithreading in Unity on Android
Some "long work" needs to be performed during game process. Obviously game freezes on 1-2 seconds when this work is being performed. So i put algorithm of "long work" to second thread and, as was ...
1
vote
1
answer
3k
views
Is Unityscript/Javascript discontinued?
I am using Unity 2017.2.0b5. I tried to help somebody who asked a question about Unityscript few moments ago but I noticed that:
Assets > Create > C# Script is present but Assets > Create > ...
1
vote
1
answer
1k
views
Unity DLL error when editing scripts
When I try to edit a script in Unity, I keep getting this error: "Unable to open UnityEngine.UI.dll: Check external applications preferences."
This also happens when I choose any other editor in the ...
0
votes
1
answer
636
views
Unity project changes not in executable
I have a unity project that I am building to an executable (windows x86).
I have built the project previously and have made some changes to the project again that shows up in the unity editor and all ...
2
votes
1
answer
2k
views
Converting between Bezier Curves of different degree(order)
I'm working on a personal project involving Bezier curves. I have seen many implementations that handle quadratic and cubic curves individually, but I'm looking to create a more generalized algorithm ...
1
vote
0
answers
54
views
How I can detect swipe on Unity3d [duplicate]
Look image for understend what I need
I found how to determine the touch on the top or bottom but I need more detail
I showed in the picture what I need.
Give a hint please
1
vote
1
answer
149
views
Unity prefabs acting differently based on whether dragging them into the scene statically or having them dynamically generated by code
If I instantiate a prefab like so:
GameObject asteroid = GameObject.Instantiate(thing2spawn);
//then set the location and some other stuff
The prefabbed asteroid's collisions do not register at all, ...
-7
votes
3
answers
815
views
New to C#, can anyone explain to me how enums and setting variables for enums works? [closed]
I'm sure this is a very simple question, but I'm learning how to program in C# and the "flow" of this text adventure program makes perfect sense to me, but I'm confused how the third line "private ...
0
votes
3
answers
9k
views
Unity3d: Object's pass through each other?
Object's(collider) pass through each other? How to fix?
https://youtu.be/gJKCEMNI9ls
0
votes
1
answer
2k
views
Unity 2D c# - How to save last animation position
I have player and his climb animation, so i want climb_end animation position save to game object player. I don't want return back to player position after last animation frame. Thanks
3
votes
1
answer
3k
views
Unity3d Create dice roll with predetermined result
I have a prefab that is a die (dice). As my game is multiplayer, I generate the result of the die roll before the player actually rolls. I then send that value to the game. I want to take that ...