• 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

Variable

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

serious18 published

Vector3 variable not changing

Jan 25, '17 in Help Room

0 Replies

1 Votes

avatar image

RaghavendraSinghal published

Variable data type for two ints (x and y) in inspector

Apr 15, '21 variable·inspector·vector2·int·xy

3 Replies

1 Votes

avatar image

aaydogan answered

Variables not updated in PUN RPC function

Jan 24, '19 in Help Room

2 Replies

1 Votes

avatar image

NoseKills commented

Why the variable don't change your value?

Apr 29, '17 c#·variable·class·method

1 Reply

1 Votes

avatar image

antx commented

Inspector remembers [HideInInspector] variables

Apr 27, '17 variable·inspector·hide

2 Replies

1 Votes

avatar image

Khena_B commented

Variable question

May 1, '17 variable

1 Reply

1 Votes

avatar image

brobrotothegogo commented

Add "speed" to an object every X seconds

Apr 16, '21 in Help Room

2 Replies

1 Votes

avatar image

ggavi2000 edited

Can I use 'variable name & function name' in a foreign language? (유니티는 '한글 변수명 & 한글 함수명' 이름 지정이 가능한가요?)

Jul 26, '17 c#·variable·function

3 Replies

1 Votes

avatar image

solidsnake530 answered

i'm beginner in unity ! my problem is i can't count the number of zombie killed ! this script ZombieHelath is attached to zombie , i'm using javascript !Please help

Aug 24, '17 javascript·variable·enemy·count

1 Reply

1 Votes

avatar image

DevSpur commented

How do I make my own Remote Settings backend like Unity Analytics Remote Settings?

Jan 4, '18 c#·variable·float·settings·serverside

0 Replies

1 Votes

avatar image

Bilelmnasser edited

How to get multiple variables from page on server?

Oct 11, '17 c#·variable·server·www·random.range

1 Reply

1 Votes

avatar image

$$anonymous$$ commented

Change image alpha of a raw image component stored as a variable

Oct 14, '17 variable·image·component·alpha

1 Reply

1 Votes

avatar image

Bunny83 edited

C# decreasing float slightly incorrect (0.4999999)

Oct 21, '17 in Help Room

1 Reply

1 Votes

avatar image

the1whom0x commented

how to get a variable like Layermask but for tags

Aug 26, '20 c#·array·variable·tags·layermask

2 Replies

1 Votes

avatar image

bundoorahul commented

How to make a variable to not reset when a scene changes?

Mar 18, '18 variable·level

2 Replies

1 Votes

avatar image

Topthink commented

How do I Add Speed to Instantiated Object.

Mar 23, '18 rigidbody·script.·variable

2 Replies

1 Votes

avatar image

kskjadav007 answered

How to create a variable in which I can put scripts

Apr 5, '18 script.·variable

2 Replies

1 Votes

avatar image

PizzaPie commented

Help with GetType().GetField().GetValue()

Apr 6, '18 variable·string·get

1 Reply

1 Votes

avatar image

imaginethepoet asked

Pass a C# string variable to another script from a projectile script.

Jun 11, '18 variable

0 Replies

1 Votes

avatar image

chetan312 answered

Best way to access a private variable from another script (same GO) ?

Jun 16, '18 rigidbody·variable·access·private

2 Replies

1 Votes

avatar image

MacDx edited

How do I assign a variable the proper sprite in the script? (C#)

Jul 3, '18 sprite·script.·variable·assign

1 Reply

1 Votes

avatar image

JVene commented

Getting the same variable from two different classes?

Jul 15, '18 variable·inheritance·classes

2 Replies

1 Votes

avatar image

Florian-Nouviale answered

Is there a way to assign variables before Awake() is triggered

May 19, '20 in Help Room

3 Replies

1 Votes

avatar image

TheRealGrendel edited

Variables not updating c# [SOLVED] Closed

Aug 8, '18 in Help Room

1 Reply

1 Votes

avatar image

misher commented

y value doesn't update

Sep 10, '18 position·variable·updating·y

1 Reply

1 Votes

avatar image

Bunny83 answered

Initialize method parameter

Oct 7, '18 variable·color·method·parameter·initialize

1 Reply

1 Votes

avatar image

CobbledGames answered

In a script that checks an object's assigned number, how can I check the highest numbered object. Closed

Feb 2, '19 c#·2d·player·variable·triggers

2 Replies

1 Votes

avatar image

evildead9000 commented

How can I access a GameObjects components using an instantiation variable?

Jan 9, '20 variable·spawn·component·prefab-instance

4 Replies

1 Votes

avatar image

LapidistCubed commented

Can you make a variable modifiable ONLY by the Inspector?

Apr 1, '20 variable·variables·access·private·accessor

2 Replies

1 Votes

avatar image

benyyh commented

Monobehavior class variable become null after assigning value when instantiated Closed

Jul 11, '20 variable·class·monobehaviour

1 Reply

1 Votes

  • »
  • ‹
  • 8
  • 9
  • 10
  • 11
  • 12
  • ›
  • »

Followers

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

c# javascript gameobject scripting problem variables static function array instantiate prefab getcomponent inspector string error class gui value reference access int script. boolean float public assign


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