• 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

Else

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

xxmariofer commented

Reset values to 0 when no inputs + stupid question about ELSE statement

Aug 4, '20 in Help Room

0 Replies

0 Votes

avatar image

$$anonymous$$ published

IF Else Statement being ignored ,the else if condtion is being ignored and playing first IF condition for all game objects.

Mar 22, '20 in Help Room

0 Replies

0 Votes

avatar image

Bunny83 commented

Why doesn't my "else" statement fire?

Aug 11, '19 in Help Room

1 Reply

0 Votes

avatar image

metalted edited

Need Help Improving If Else statement

Jun 28, '19 if-statements·switch·else·else if

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

KevRev commented

My object does not respond to else.

May 4, '19 in Help Room

0 Replies

0 Votes

avatar image

unity_0sdsWZad6Fwp-A answered

Any Ideas on how to solve this?

Nov 20, '18 math·if-statements·ienumerator·else·equation

1 Reply

0 Votes

avatar image

ILoveMyDada commented

Change Color of Object when NOT looking at it

Sep 23, '18 raycast·color·hit·else·change color

1 Reply

0 Votes

avatar image

Rembo4Fight commented

Laser System - "If" statement conflict

Aug 29, '18 in Help Room

1 Reply

0 Votes

avatar image

KureKureciCZ answered

Flipping Switches

Jul 11, '18 in Help Room

1 Reply

0 Votes

avatar image

bakir-omarov answered

Don't allow prefab to spawn if prefab already exists at the spawn location.

Jun 10, '18 c#·instantiate·prefab·spawn·else

1 Reply

0 Votes

avatar image

Harinezumi answered

having problem with 'else' did i put it in the wrong place?

May 3, '18 in Help Room

1 Reply

0 Votes

avatar image

Hunty_Guy answered

I have a specific problem with my trigger

Apr 4, '18 c#·visual studio·triggers·if statement·else

2 Replies

0 Votes

avatar image

Hunty_Guy asked

I have a specific problem with my trigger

Apr 4, '18 in Help Room

0 Replies

0 Votes

avatar image

DarkToadster commented

If statement being ignored

Mar 18, '18 in Help Room

2 Replies

0 Votes

avatar image

Sixtensix commented

why dosent this trigger the else statement? pls help

Feb 25, '18 in Help Room

3 Replies

0 Votes

avatar image

PaincideStudio asked

Raycasting else not working properly Closed

Feb 22, '18 in Help Room

0 Replies

0 Votes

avatar image

Larry-Dietz commented

Raycast if no hit problems

Dec 24, '17 in Help Room

1 Reply

1 Votes

avatar image

RUTimYourBro answered

Add sprint Key

Sep 16, '17 in Help Room

2 Replies

0 Votes

avatar image

GaXD asked

Using Else on OnTriggerStay, do a game over if i click when i dont have a box on it the collidor/mesh.

Jun 26, '17 in Help Room

0 Replies

0 Votes

avatar image

mike1233 commented

code so if 1 enemy isnt killed every 4 seconds player dies?

Feb 9, '17 in Help Room

1 Reply

0 Votes

avatar image

mike1233 asked

code so if 1 enemy isnt killed every 4 seconds player dies? Closed

Feb 3, '17 in Help Room

0 Replies

0 Votes

avatar image

MoonJaspers edited

Else and If activated at the same time?

Jan 9, '17 in Help Room

1 Reply

0 Votes

avatar image

AurimasBlazulionis edited

Storing Renderer in a variable not working!

Dec 20, '16 in Help Room

1 Reply

0 Votes

avatar image

emir3100 published

Can't use KeyCode multiple times

Nov 25, '16 light·keycode·else·else if

1 Reply

0 Votes

avatar image

sid4 edited

EASY FIX! How to make the screen flash for only a few seconds?

Nov 2, '16 in Help Room

3 Replies

0 Votes

avatar image

MrEastwood edited

How would you shorten that piece of code?

Sep 30, '16 in Help Room

3 Replies

0 Votes

avatar image

Ritcho edited

Need Help With Simple Java Script Regarding GUI

May 27, '16 in Help Room

0 Replies

0 Votes

avatar image

NoseKills edited

expecting } found Else and expecting EOF found } ???

Apr 20, '16 in Help Room

1 Reply

0 Votes

avatar image

ZefanS commented

Invalid Expression Term 'Else'

Mar 14, '16 in Help Room

1 Reply

0 Votes

  • 1
  • 2
  • 3
  • 4
  • ›

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

if if-statements c# error else if if statement eof raycast function boolean animation scripting problem unexpected statement javascript color expecting switch raycasting string trigger error message collision || bce0044
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges