Questions tagged [unity]

Unity is a cross-platform game creation system that focuses on easy art pipeline process. It consists of a game engine and an integrated development environment. The game engine's scripting is built on Mono.

Filter by
Sorted by
Tagged with
1
vote
0answers
14 views

2d lights not working on white background in unity?

I set the mainCamera background to solid color of white and added 2d lights ( lwrp and all that setup). I upgraded all assets to work with 2d lights. I want to add lights on white background with red ...
0
votes
1answer
4 views

In Unity, how do you manually set an interactable to an interactor (XR Grab Interactable to XR Socket Interactor)

I'm trying to figure out how to manually attach an XR Grab Interactable to a XR Socket Interactor but using XRBaseInteractor.selectTarget has the ...
0
votes
0answers
10 views

Reorientation when rotating Transforms around another Transform without parenting

The functionality I am trying to implement, consists of rotating one Transform and appling this rotation to other relevant Transforms in the scene. To make it a bit more clear: I have several objects ...
0
votes
0answers
13 views

What are Unity's subsystems used for?

What is the purpose of these classes? https://docs.unity3d.com/2020.3/Documentation/ScriptReference/UnityEngine.SubsystemsModule.html I understand generic subsystems in web development, is this the ...
0
votes
0answers
9 views

Can I bring the Game View window to front together with the main window on Mac?

I come from Windows environment and I was pretty fast with development and just working with Unity. When I clicked on the Unity icon on Windows to bring it to front, it immediately brought the Game ...
1
vote
1answer
41 views

Unity - How to create a game-save with a preview image?

I want my game-save to be shown with a preview image. This is often seen in City Builder games: The game-save usually has a name, a date and often also provides a preview of the build city (just a ...
0
votes
0answers
8 views

Allow Player controlled by NavMeshAgent to walk

I have a Player that I control using the thumbstick (or z/w/s/d), and I would allow this player to have walk and run. Now, My current code is the following for the movement : ...
-1
votes
0answers
25 views

making a book page curl effect in unity [closed]

what tools in unity, enable us to make a book page curl animation(like this: https://github.com/Dandarawy/UnityBookPageCurl ) from scratch? What knowledge and what tools are used to achieve this? (I'm ...
0
votes
1answer
34 views
0
votes
0answers
23 views

InputSystem “Invoke Unity Event” don't respond to input

I was making the Input Systen code for my game. I was about to test it and I realized that the controls don't respond. Here is how I've configured my PlayerInput component: And here is how I've set ...
0
votes
0answers
7 views

Can I move the player with NavMeshAgent only?

I am making a prototype of a 3rd Person Controller for a minigame with Gamepad or Keyboard/Mouse (not point and click). I setup a terrain and NavMesh for my AI, and would like to use that NavMesh ...
1
vote
1answer
39 views

How do I make my obstacles (separate prefabs) appear randomly in the world?

I am using Unity in C# to code a game similar to Google's Dinosaur Run where random obstacles are spawned in the player's path which they need to jump to dodge. I have 6 different prefabs (with ...
0
votes
1answer
16 views

how does unity handle image scaling

Unlike in android SDKs, in almost all tutorials I've seen, creating UI elements like menus in unity starts with laying out a default background image onto a canvas object. I don't really get the fact ...
1
vote
0answers
21 views
0
votes
0answers
16 views

AddForce for sliding [closed]

So i'm making an fps game in unity c sharp, and i'm right now working on some sliding. To do that i need to use Forcemode.velocityChange, but in unity it says that Forcemode doesnt exist in the during ...

15 30 50 per page
1
2 3 4 5
958