Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
2 answers
119 views

I have a class for lists called UniqueListWithActions<T> with the constructor method public UniqueListWithActions(List<T> _list) { list = _list; } list is declared as ...
0 votes
1 answer
69 views

I'm testing my mobile game for iPhone users where you have to throw a fork to another game object. Now these fork game objects are on a List which I'm spawning a total of 8 forks on the scene but you ...
-1 votes
1 answer
651 views

Whenever I try to assign a GameObject or TMP Text Box to a prefab's public variable, I get an error message that says, "Type Mismatch". The variable is a list (used to be array) and I am not ...
0 votes
1 answer
39 views

I want the player to have a limited amount of bombs that can be placed at a given time. I was able to limit the bombs, but when the gameObject is destroyed, I'm not sure how to change my bombCount ...
Vince's user avatar
  • 2,666
0 votes
0 answers
385 views

I am new to Unity and I'm having trouble with the text in my project. The text appears very pixelated, and I can't figure out why. Here is an example of how it looks: I started a new 2D project, ...
0 votes
0 answers
72 views

I'm trying to make a game where you can make custom projectiles with various components that have special properties (like poison, explosions, anti-gravity, mind control). Then you would be able to ...
0 votes
1 answer
63 views

My gun script Instantiates the bullets as though they were child objects of the gun which causes the bullets to move whenever my gun is moved. I had been testing the shooting ability of my gun by ...
1 vote
1 answer
237 views

So I'm currently creating a game with procedural world generation. Therefore I am loading and unloading big chunks of world data quite often. The process goes as follows: Step 1: Upon loading a chunk, ...
0 votes
1 answer
86 views

Im trying to create an animation using Unity3D where I have a world which is created by converting a heightmap into a terrain. Using a python program I am calculating a route for this sphere and am ...
-1 votes
2 answers
296 views

Here is the code being use: private void start() { for (int i = 0; i < 5; i++) { GameObject card = Instantiate(deck[i], playersHandContent.transform); card.GetComponent<...
-1 votes
1 answer
220 views

I just created a simple unity project and deployed it to HoloLens 2, the splashed mesh appeared and I was asked to confirm the rights, but after that nothing appeared, I only see the pointers, my ...
0 votes
0 answers
96 views

I'm encountering an issue in my Unity script where the Instantiate method is not being recognized. I'm trying to instantiate a projectile in a ranged attack state, but I'm getting the following error: ...
1 vote
1 answer
8k views

This is the object I am trying to move the pivot of: I am currently trying to move the pivot point of this object to the center, since i need it to be centered there for a script i am making, does ...
-1 votes
1 answer
33 views

So I have "n" number of child gameobjects that are sorted by the parents horizontal layout component. These child gameobjects are cards, they have a front and a backside represented with ...
0 votes
0 answers
57 views

using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class swipeMovement : MonoBehaviour { private float movementSpeed = 0.0055f; private Touch ...

15 30 50 per page
1
2 3 4 5
...
48

AltStyle によって変換されたページ (->オリジナル) /