• 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

Statement

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Smurfj3 commented

How to make several conditions for an if statement?

Apr 24, '21 if·if statement·statement

5 Replies

2 Votes

avatar image

Bunny83 edited

How do you say in between for an if statement?

Mar 18, '21 if·statement

2 Replies

0 Votes

avatar image

ilias19 published

Player bounds optimization and code review

Oct 26, '20 c#·unity 5·performance·bounds·statement

0 Replies

0 Votes

avatar image

ShadyProductions edited

How to check if one of value is true on an array of objects?

Aug 26, '20 arrays·value·array of gameobjects·values·statement

1 Reply

0 Votes

avatar image

Arkos25 commented

If statement is being ignored and else is run instead

May 22, '19 if statement·strings·ignore·else·statement

1 Reply

0 Votes

avatar image

SteenPetersen edited

Functions with variables

Feb 21, '19 input·variables·void·booleans·statement

1 Reply

0 Votes

avatar image

$$anonymous$$ commented

want to convert too many if statements into 1 switch case statement. error help.

Aug 9, '18 switch·statement·case

2 Replies

0 Votes

avatar image

VorInvictus commented

Why do nested if statements act differently than the && operator?

May 11, '18 in Help Room

1 Reply

0 Votes

avatar image

mgear commented

Decompiling Unity

Mar 24, '18 unity 5·documentation·legal·statement·decompile

2 Replies

2 Votes

avatar image

Rembo4Fight commented

Help ?Can Chronos Reverse Boolean Statement? Help

Jan 4, '18 in Help Room

1 Reply

-1 Votes

avatar image

Hatsuko commented

Cant get an if statement to activate even if the statement is fulfilled.

Nov 14, '17 in Help Room

0 Replies

0 Votes

avatar image

Caruzo asked

Void still running even when if statement is not fulfilled?

Apr 15, '17 in Help Room

0 Replies

0 Votes

avatar image

pizzastark commented

using rotation in an if statement

Oct 1, '16 rotate·if·sun·statement

1 Reply

0 Votes

avatar image

Ochreous edited

C# if Statement Checking for Null Causing Null?

Aug 26, '16 c#·nullreferenceexception·if·statement

1 Reply

0 Votes

avatar image

Elgirhath edited

Printing button using button name

Jul 5, '16 in Help Room

0 Replies

0 Votes

avatar image

ma22be61 commented

Unity 5.2.1 : InvokeRepeating in a while statement makes my PC Freeze

Oct 18, '15 bug·statement

0 Replies

0 Votes

avatar image

getyour411 commented

error 'bce0034 expressions in statement must only be executed for their side-effects' can somebody help me?

Aug 8, '15 error·statement·bce0034

1 Reply

0 Votes

avatar image

tanoshimi commented

Multiple conditions

Jul 12, '15 rotation·boolean·condition·statement

2 Replies

0 Votes

avatar image

Wisearn commented

How do I make script in C# the result will execute if all the boxes is fill up?

Jun 24, '15 unity 5·newbie·c# tutorial·statement·gamedesign

0 Replies

0 Votes

avatar image

kapstok666 commented

Use a string as a statement

Jan 20, '15 c#·javascript·string·statement

1 Reply

0 Votes

avatar image

Darkskxcher published

What is wrong with my c# switch statement?

Nov 26, '14 c#·switch·statement·case

1 Reply

0 Votes

avatar image

Uldeim commented

Need help with multiple if statements.

Nov 9, '14 c#·if·statement

3 Replies

0 Votes

avatar image

soand commented

why does if statement ignore bool?

Jul 21, '14 2d·background·transition·bool·statement

1 Reply

0 Votes

avatar image

frankiboss published

C# switch: A constant value is expected

Jul 10, '14 c#·switch·value·constant·statement

3 Replies

1 Votes

avatar image

Fattie commented

Only assignment, call, increment, decrement, and new object expressions can be used as a statement Closed

May 24, '14 normals·hit·statement

1 Reply

0 Votes

avatar image

TheBigBang published

Spawning Statement Help

May 14, '14 enemy·spawn·boolean·level·statement

0 Replies

0 Votes

avatar image

TheBigBang commented

Level spawning statement help

May 12, '14 collision·destroy·spawn·level·statement

0 Replies

0 Votes

avatar image

LifeArtist commented

Destroy() problem

May 4, '14 gameobject·destroy·statement

2 Replies

0 Votes

avatar image

Bunny83 commented

Create file in correct directory

Mar 27, '14 file·if·io·statement

3 Replies

0 Votes

avatar image

thenachotech1113 commented

problem with child arrangement script

Mar 21, '14 tags·switch·statement

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • ›

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta on June 13. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Related Topics

if switch c# unity 5 else javascript string case input if statement boolean button destroy error conditional level spawn statements bounds void gameobject performance loadlevel if-statements fps


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