• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

If-statements

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

DanielGL answered

Variable changes to a negative number somehow

2 days ago bug·variable·if-statements

1 Reply

0 Votes

avatar image

Dan5500 commented

Integer is being added by 2 when the code says to do it by 1.

3 days ago in Help Room

0 Replies

0 Votes

avatar image

Momoneko published

Need help figuring out object detection/Figuring out SphereCast

Jan 11, '21 in Help Room

0 Replies

0 Votes

avatar image

Game_Krator published

How can I change a scene by the rotation z position?,

Jan 1, '21 rotation·if-statements·scene-switching

1 Reply

0 Votes

avatar image

SwiftKraft asked

If statement not working.

Dec 25, '20 in Help Room

0 Replies

0 Votes

avatar image

Onx answered

Display issues with GUI only showing details for last object in list.

Dec 24, '20 ui·raycast·fps·if-statements·textmesh

2 Replies

0 Votes

avatar image

CmdrZin answered

How to reset counter

Dec 20, '20 if-statements

1 Reply

0 Votes

avatar image

iKabyLake30 asked

If statement with multiple conditions Closed

Dec 4, '20 in Help Room

0 Replies

0 Votes

avatar image

Rorrors answered

Weird Input System situation

Dec 1, '20 input·if-statements·update function·repeat·context

1 Reply

0 Votes

avatar image

jacky06211 published

Can someone help and tell what's wrong with my script?

Nov 30, '20 if-statements

2 Replies

0 Votes

avatar image

ryanmillerca commented

If statement returning true without all conditions being met

Nov 30, '20 if-statements·bug-perhaps

1 Reply

0 Votes

avatar image

burhanasikwala answered

How to detect certain text in an input field?

Nov 25, '20 text·if-statements·inputfield·check

2 Replies

0 Votes

avatar image

Insok answered

if statements are running when they are not suppose to be

Nov 22, '20 in Help Room

1 Reply

0 Votes

avatar image

Hellium edited

How to stop timer with if statement,

Nov 3, '20 timer·if-statements

1 Reply

0 Votes

avatar image

gabrielkazansky asked

Turret rotation towards a Widget,Making a Game Object rotate towards a widget

Oct 31, '20 in Help Room

0 Replies

0 Votes

avatar image

korbend asked

How to check tile flag in IF statement?

Oct 29, '20 tilemap·if-statements·flag

0 Replies

0 Votes

avatar image

tn73 asked

Activating Completed Level Panel using if statement

Oct 27, '20 level·if-statements·panel·complete

0 Replies

0 Votes

avatar image

AlaMo12 commented

Why does my Switch statement only go through one case correctly?

Oct 19, '20 c#·error message·if-statements·switch·switch-case

1 Reply

0 Votes

avatar image

Bunny83 answered

Unity freezes after running this basic code.

Oct 19, '20 time·float·if-statements·while-loop·basic programming

1 Reply

0 Votes

avatar image

Owen-Reynolds commented

Tutorial 3.1-7 "&& isOnGround == true"

Oct 15, '20 in Help Room

0 Replies

0 Votes

avatar image

ClayDay published

Why does my if then statement return true whenever the x axis is a negative number?

Oct 13, '20 transform·if-statements·eulerangles

0 Replies

0 Votes

avatar image

Bunny83 answered

Contrary if statements being called at the same time

Oct 10, '20 in Help Room

1 Reply

0 Votes

avatar image

emmafhanda commented

Conflicting Animator SetTrigger

Oct 9, '20 c#·animator·if-statements·if

1 Reply

0 Votes

avatar image

Feydrich commented

Mising(GameObject) not firing in if statement

Oct 7, '20 in Help Room

0 Replies

0 Votes

avatar image

saperoi commented

If Else Statement does both

Oct 1, '20 trigger·if-statements·random.range

1 Reply

0 Votes

avatar image

Namey5 answered

Display message when max height is reached

Sep 10, '20 if-statements·condition

1 Reply

0 Votes

avatar image

Miyahonmoto edited

My Tag Functions doesn't work at all.

Sep 6, '20 collision·if-statements·tags

0 Replies

0 Votes

avatar image

Amucity commented

If statement failing OnTriggerEnter Closed

Aug 26, '20 c#·collider·trigger·if-statements

0 Replies

0 Votes

avatar image

AG45_ commented

Object doesn't move

Aug 26, '20 movement·vector3·transform.position·if-statements·if else

2 Replies

0 Votes

avatar image

KydDynasty commented

My if is greater then statement won't work.

Aug 25, '20 in Help Room

1 Reply

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Followers

avatar image avatar image avatar image

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

c# if boolean scripting problem if statement javascript animation if-else bool gameobject else input position instantiate collision trigger button gui transform rotation update unity 5 else if condition error
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges