• 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

Operator

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

rscopic edited

Does comparing two GameObjects with "==" works?

May 29, '23 bug·gameobjects·operator·comparison

1 Reply

0 Votes

avatar image

nicktrnka edited

Changing Direction on Collision (*= Operator not working?)

Dec 5, '22 in Help Room

0 Replies

0 Votes

avatar image

Katerlad asked

Ternary Operator With Expression-Body Members for GetComponent Caching.

Sep 21, '22 in Help Room

0 Replies

0 Votes

avatar image

UnityKristy commented

What does this do? value1 = value2 = 0

Aug 5, '22 logic·operator·assignment

2 Replies

0 Votes

avatar image

tormentoarmagedoom commented

What does this mean?

Jul 5, '22 in Help Room

1 Reply

0 Votes

avatar image

meine_unity commented

How can throw "Missing reference exception" this gameObject?.Getcomponent() ??

Apr 6, '22 c#·error message·missingreferenceexception·operator

2 Replies

0 Votes

avatar image

halkdavid190 published

how to make the score update showing the current points after they are subtracted for leaving the map or colliding with an object

Mar 16, '22 in Help Room

0 Replies

0 Votes

avatar image

Namey5 edited

ScriptableObject Inheritance

Aug 13, '21 scriptableobject·data·dialogue·operator

1 Reply

0 Votes

avatar image

Pogrammer88 commented

Why does unity subtract ammunition per frame?

Jun 8, '21 in Help Room

1 Reply

0 Votes

avatar image

iR3dyPlayZ commented

how do i use 'And' and 'Or' in UnityScript

Mar 7, '21 operator·and-operator

2 Replies

1 Votes

avatar image

Bunny83 commented

Trouble with understanding code that uses "==" operator.

Jan 21, '21 c#·raycasthit2d·operator

2 Replies

0 Votes

avatar image

xxmariofer answered

Quaternion slerp loop exits before equality of quaternions

Dec 2, '20 rotation·localrotation·operator·quaternion.slerp

1 Reply

0 Votes

avatar image

Bunny83 answered

Why Can't I Use the '^' Operator? Error CS0019

Jul 13, '20 functions·operator

2 Replies

0 Votes

avatar image

logicandchaos answered

How to operate two or many gameobjects present on Screen?

Feb 1, '20 scripting problem·gameobjects·touch controls·controls·operator

1 Reply

0 Votes

avatar image

unity_ek98vnTRplGj8Q commented

Issue with using modulus operator with array

Feb 1, '20 in Help Room

1 Reply

0 Votes

avatar image

MianAbdul commented

Boolean operations on PolygonColliders

Dec 1, '19 in Help Room

1 Reply

0 Votes

avatar image

Mr_Admirals commented

[SOLVED] Receive a float from a quaternion?

Dec 26, '18 quaternion·direction·float·angles·operator

1 Reply

0 Votes

avatar image

Voavo edited

Having problems with quaternions,so i'm trying to code a game

Aug 14, '18 c#·unity 5·rotation·quaternion·operator

1 Reply

0 Votes

avatar image

Jamora edited

InvokeRepeating("x",x, 3) vs If(Time.deltaTime % 3)

Jul 28, '18 script.·time.deltatime·operator

2 Replies

0 Votes

avatar image

Glurth commented

Using new operator without naming instance

May 12, '18 new·operator

1 Reply

0 Votes

avatar image

Bunny83 answered

Is it safe to use GameObject as a Dictionary key?

May 6, '18 gameobject·null·dictionary·operator

1 Reply

0 Votes

avatar image

Honorsoft edited

C# Greater Than or Equal To

Apr 1, '18 in Help Room

1 Reply

0 Votes

avatar image

Bunny83 commented

Trouble using OR operator with two inputs

Mar 9, '18 while·operator

2 Replies

0 Votes

avatar image

Igorotak commented

And/Or Operator C#

Feb 20, '18 in Help Room

2 Replies

2 Votes

avatar image

Bunny83 commented

Why does the added char always stay at the end of my string ? (Operator "+=")

Jan 30, '18 string·operator·concat

2 Replies

1 Votes

avatar image

maxizrin commented

member names cannot be the same as their enclosing type

Dec 23, '17 method·compiler error·hide·override·operator

1 Reply

0 Votes

avatar image

MaxGuernseyIII commented

Integer++; not working as expected - randomly raising by two, instead of one.

Nov 27, '17 in Help Room

2 Replies

0 Votes

avatar image

Arkshija commented

Problem operating with doubles

Oct 26, '17 in Help Room

1 Reply

0 Votes

avatar image

Anne-Pier commented

Question about ?: (if/else) operators

Oct 24, '17 operator

2 Replies

1 Votes

avatar image

MaxGuernseyIII commented

How to use multiple If statements? Or can I use relational operators in switch statements?

Oct 3, '17 gameobject·if statement·operator·switch-case·if else

1 Reply

1 Votes

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

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

c# error if-statements javascript if float boolean if statement if else math error message bool bitwise unity 5 comparison scripting problem string null logic rotation gameobject and-operator type bce0051 object


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