Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
1 capture
14 Jun 22 - 14 Jun 22
sparklines
Close Help
  • 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 Statement

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Caeser_21 commented

How do I make my score counter only start when I hit the default key and stop when the player dies?

Mar 7, '22 if statement

2 Replies

0 Votes

avatar image

Captain_Pineapple commented

if statement only ever triggering the first condition even if it's false and the second one is true

Feb 6, '22 c#·arrays·if-statements·if statement

0 Replies

0 Votes

avatar image

Neonalig commented

Does pattern matching verify object lifetime and null references

Dec 22, '21 c#·null·if statement·equal

1 Reply

0 Votes

avatar image

shieldgenerator7 edited

C# How to Check If a Gameobject Contains a Certain Component

Nov 24, '21 c#·component·if statement

6 Replies

15 Votes

avatar image

eatmorepies edited

How To Detect Player Movement

Nov 4, '21 c#·movement·player·if statement·detect

1 Reply

0 Votes

avatar image

perf401 answered

Get bool value from OnTriggerEnter2D?

Sep 27, '21 unity 2d·if statement·ontriggerenter2d·return value

1 Reply

1 Votes

avatar image

rage_co commented

CharacterController2D, How does this FixedUpdate() Method actually work?

Jul 19, '21 unity 2d·charactercontroller·fixedupdate·if statement·ground detection

1 Reply

1 Votes

avatar image

SkillcraftHD commented

the 'or' operator not working? C#

Jul 4, '21 if statement

1 Reply

0 Votes

avatar image

Smurfj3 commented

How to make several conditions for an if statement?

Apr 24, '21 if·if statement·statement

5 Replies

1 Votes

avatar image

Ketannine99 published

So I'm very new at Unity and I tried to improvise the controllers with if statement.

Mar 29, '21 in Help Room

0 Replies

0 Votes

avatar image

euanross400 asked

2D game: When going from left input to right input fast the player stops moving

Mar 17, '21 boolean·if statement

0 Replies

0 Votes

avatar image

Din0m1te commented

if (Something != null) not good enough

Feb 5, '21 in Help Room

2 Replies

3 Votes

avatar image

Brosiscreations commented

PlayerPrefs with if statement not working

Feb 4, '21 playerprefs·if statement

1 Reply

0 Votes

avatar image

Chuckles9000 commented

if statement being completely ignored c#

Feb 3, '21 in Help Room

1 Reply

0 Votes

avatar image

Llama_w_2Ls answered

How to make a script work in scene1 only if a collider in scene2 is triggered

Jan 30, '21 playerprefs·collider2d·triggers·if statement

1 Reply

0 Votes

avatar image

ActiveMars91 edited

I'm not too sure what's wrong with my if statement...

Jan 19, '21 movement·navmeshagent·player movement·if statement

0 Replies

0 Votes

avatar image

sacredgeometry commented

I can't figure out why this if statement isn't responding

Dec 30, '20 c#·scripting problem·bool·if statement

1 Reply

0 Votes

avatar image

sacredgeometry edited

If statement not working

Dec 22, '20 collision2d·if statement

1 Reply

0 Votes

avatar image

unity_dtU7ncIXBupd9w published

How do I make those if statements work

Dec 3, '20 in Help Room

0 Replies

0 Votes

avatar image

Maggiethegsd answered

If Get key not working

Nov 5, '20 if statement·getkey

2 Replies

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

keshabpaul45 answered

C# If string is equal to any in array

Oct 25, '20 in Help Room

2 Replies

0 Votes

avatar image

codedbythet asked

If Statement Help

Oct 14, '20 in Help Room

0 Replies

0 Votes

avatar image

emmafhanda published

Conflicting Animator SetTrigger

Oct 9, '20 c#·animation·animator·if·if statement

0 Replies

0 Votes

avatar image

devinwc published

If & Else If with == and && not working

Sep 28, '20 in Help Room

0 Replies

0 Votes

avatar image

Dtained published

Vector3 is increasing infinitely instead of capping at the if statement limit,Doing a smooth move for a camera but it continues to pan even though it reaches it's x and y offset

Sep 21, '20 in Help Room

0 Replies

0 Votes

avatar image

gf457767 commented

How can I make a Dropdown be activated by a Script? Closed

Jul 26, '20 ui·dropdown·if statement

1 Reply

0 Votes

avatar image

unfixedacorn answered

If/else statement is always else

Jul 23, '20 in Help Room

1 Reply

0 Votes

avatar image

unfixedacorn commented

If statement not working

Jul 12, '20 if-statements·if statement·if-statement

1 Reply

0 Votes

avatar image

Bunny83 commented

If statement automatically true

Jun 24, '20 in Help Room

1 Reply

0 Votes

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

Followers

avatar image

Related Topics

c# if-statements if scripting problem boolean bool if else javascript gameobject condition animation else error if-else instantiate beginner float trigger null collider collision setactive button transform destroy


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges