• 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

Booleans

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

sacredgeometry edited

Issue with a Bool and Pause Menu

Dec 10, '20 c#·pause menu·booleans

1 Reply

0 Votes

avatar image

naiemali1171987 commented

Play walk animation, based on object direction

Oct 19, '20 in Help Room

2 Replies

0 Votes

avatar image

unity_-_IxKPb71_BLAA commented

Enabling & Disabling Script via On Click

Sep 12, '20 in Help Room

1 Reply

0 Votes

avatar image

ThaGuvNa asked

Enable NavMeshObstacle when all units are out of the way

Sep 1, '20 looping·booleans

0 Replies

0 Votes

avatar image

inigopanos asked

Why doesn't this boolean code work=

Aug 5, '20 in Help Room

0 Replies

0 Votes

avatar image

gf457767 edited

How to activate a panel by a toggle using a script? Closed

Aug 1, '20 ui·boolean·if-statements·activation·booleans

1 Reply

0 Votes

avatar image

suri44 answered

Toggle Boolean by Input.getKey like if pressed one time true next time false and so on.

Jun 9, '20 toggle·booleans·getkey

4 Replies

0 Votes

avatar image

streeetwalker edited

Issue with if-statements requiring two conditions.

Jun 6, '20 in Help Room

1 Reply

0 Votes

avatar image

Adidaas commented

How to best organize bool variables and code modularity in general?

May 30, '20 in Help Room

4 Replies

2 Votes

avatar image

nia0724 commented

Call a function When a bool changes value?

May 19, '20 in Help Room

2 Replies

0 Votes

avatar image

Orange-Pixell answered

Entering false statement even it is at true state.

Apr 19, '20 if-statements·bool·method·methods·booleans

1 Reply

0 Votes

avatar image

Casiell commented

I am referring a bool function from other script and i am checking with in if condition , but it is not working? can anyone can help me?

Apr 14, '20 c#·method·if statement·booleans·programing

0 Replies

0 Votes

avatar image

Arshww answered

Can anyone find the problem with this code?

Mar 22, '20 c#·health·booleans

1 Reply

0 Votes

avatar image

spencerz edited

How can i reverse all the booleans in a method?

Feb 19, '20 c#·boolean·bool·booleans

2 Replies

0 Votes

avatar image

Dreamerking007 commented

need help checking if any bool in a rotated rectangle is true

Feb 18, '20 arrays·booleans·rectangle

2 Replies

0 Votes

avatar image

Crazy_Minecrafter answered

how to check if gameobject has certain material.

Jan 24, '20 material·booleans

1 Reply

1 Votes

avatar image

mgoliveri6 commented

Call Function with a Bool (C#)

Jan 19, '20 scripting problem·functions·booleans

1 Reply

0 Votes

avatar image

njvalentino asked

How to highlight objects by searching for them on a UI list ingame. TownMap

Oct 2, '19 array of gameobjects·booleans

0 Replies

0 Votes

avatar image

cjtouhey commented

Activating Bool Array in sequence.

Aug 1, '19 array·arrays·booleans·cycle

2 Replies

0 Votes

avatar image

Bunny83 commented

C# - Checking if collection of boolean is true : confused,

May 23, '19 c#·booleans

3 Replies

0 Votes

avatar image

littlehollow commented

Specific question + best practices for bools that are true for one frame only and need to be detected by other scripts

May 6, '19 in Help Room

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

calender68 commented

How to instantiate once when boolean changes

Apr 18, '19 instantiate·boolean·instantiate prefab·instantiation·booleans

1 Reply

0 Votes

avatar image

bh2101 asked

How to automatically reset a boolean back to false after it meets a requirement and becomes true to execute a task?

Apr 11, '19 in Help Room

0 Replies

0 Votes

avatar image

SwastikBhattacharyya answered

Loop through a List to check whether a bool is true within a ScriptableObject

Apr 4, '19 list·loop·scriptableobject·looping·booleans

1 Reply

0 Votes

avatar image

Taylor-Libonati answered

Bool statement returns true, while conditions is false in IF statement

Mar 7, '19 transform·if-statements·bool·compare·booleans

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

Seldkam edited

Animation Question

Feb 4, '19 animation·booleans

1 Reply

0 Votes

avatar image

JoniBerg commented

how to check all elements in array

Feb 3, '19 array·gameobjects·booleans

2 Replies

0 Votes

avatar image

AnOrdinarySandwich commented

Bools aren't resetting after scene load

Jan 30, '19 booleans

1 Reply

0 Votes

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

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# boolean bool if-statements scripting problem javascript animation array variable getkeydown arrays getcomponent animator raycast if statement collision input instantiate strings string functions ontriggerenter true referencing reference
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges