Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
1
vote
How to move the object with same pace regardless their target distance?
I assume that the code posted is in some update function? It appears as if you are continuously increasing the speed if you increase the y distance. Doesn't seem like that is necessary.
1
vote
Accepted
Background music not stopping while game is set to paused
This isn't a bug. AudioSource will play independent of timescale. So you will need to reference your AudioSource and call .Pause() in your pause class.
1
vote
Accepted
How would I properly flip a character when they reach the edge of a ground object in Unity 2D?
It looks as though your if block is wrong:
if (groundInfo.collider == false)
{
if (movingRight == true)
{
transform.eulerAngles = new Vector3(0, -180, 0);
}
movingRight = fal …
0
votes
How To Destroy/Deactivate one enemy without affecting other enemies of the same type?
public IEnumerator WaitXSecond()
{
yield return new WaitForSeconds(2f);
gameObject.SetActive(false);
zombieAnimator.SetBool("Squash", false);
}
You are calling gameObject.SetActive(false …