• 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

Oninji edited

On Button press Move Value toward

Oct 12, '10 javascript·button·variable·math

2 Replies

0 Votes

avatar image

daviddickball commented

How can i assign prefab to variable without drag & drop from project to inspector.

Jul 9, '14 instantiate·prefab·variable·inspector

2 Replies

5 Votes

avatar image

user-4347 (google) asked

How to know the time of the song?

Oct 6, '10 variable·sound·playing·song

1 Reply

0 Votes

avatar image

lodendsg edited

Character Rotation on the Touch of a Button

Jan 25, '21 rotation·variable·moving·grounded·true

2 Replies

0 Votes

avatar image

dekarguy asked

Flag structure variable in unity editor

Sep 28, '10 editor·variable·boolean·enum·flag

1 Reply

0 Votes

avatar image

Ben 15 asked

Script not recognising variable change?

Sep 28, '10 position·variable·update

1 Reply

0 Votes

avatar image

user-4347 (google) asked

How to save a gameObjects on a prefab and variables with a script?

Sep 27, '10 gameobject·variable·save·variables

1 Reply

0 Votes

avatar image

anthony asked

Controlling a variable of type Vector 3

Sep 26, '10 variable

1 Reply

0 Votes

avatar image

LuisG asked

Increase Static Var gradually

Sep 26, '10 variable·speed·static·global·var

1 Reply

0 Votes

avatar image

HTH_jjpprogrammer asked

What does it mean when you type a variable to float?

Sep 24, '10 variable·float

1 Reply

1 Votes

avatar image

Biendeo asked

Help on a Power-Up Sequence

Sep 22, '10 texture·variable·particle·value

1 Reply

0 Votes

avatar image

spinaljack edited

how to assign a variable to Debug.Log() ?

Sep 21, '10 variable·assign

1 Reply

0 Votes

avatar image

RSud asked

Transform handle for prefab and getting to a prefab script variable?

Sep 20, '10 transform·variable·bce0019

1 Reply

0 Votes

avatar image

RSud edited

Access to script global var's from a transform object? (specific ? on something that should work)

Sep 18, '10 transform·variable·member

2 Replies

0 Votes

avatar image

Kyle 6 edited

Do something when something happens in another script.

Sep 15, '10 javascript·variable·public

3 Replies

0 Votes

avatar image

HTH_jjpprogrammer asked

What is typing a variable? Is it assigning the value?

Sep 11, '10 variable·value·type

3 Replies

1 Votes

avatar image

Socapex edited

how to create boolean Varibles ?

Jan 3, '11 variable·variables·boolean

3 Replies

0 Votes

avatar image

HolBol asked

how would i write this in C#?

Sep 8, '10 variable·language-comparison

1 Reply

0 Votes

avatar image

Will 7 asked

Limiting digits in GUI displayed variables (or "snap to" GUI slider).

Sep 7, '10 javascript·gui·variable·snap·horizontal-slider

1 Reply

0 Votes

avatar image

peter asked

do static variables slow down framerates in iphone

Sep 1, '10 iphone·variable·optimization·global

2 Replies

2 Votes

avatar image

jamesster asked

Keeping track of items

Aug 23, '10 javascript·variable·score

1 Reply

0 Votes

avatar image

Raul 1 asked

Assigning varaibles to prefabs

Aug 20, '10 player·network·variable·assign

1 Reply

0 Votes

avatar image

spinaljack edited

Can I show a numeric variable from the slider on the GUI?

Aug 20, '10 gui·variable·slider·value·showcase

1 Reply

0 Votes

avatar image

Jean-Fabre asked

public variable listener for dispatch in composed script

Aug 19, '10 variable·change·public·listener

1 Reply

1 Votes

avatar image

Skyline Studios commented

How do i make a character accelerate and play an animation when the click left-shift

Nov 10, '12 animation·javascript·character·variable·shift

1 Reply

0 Votes

avatar image

mok asked

Copy position into var without updating every frame

Aug 13, '10 position·variable·update·frame

2 Replies

0 Votes

avatar image

Jake asked

Resticing variables to whole numbers

Aug 9, '10 javascript·variable·float

3 Replies

-1 Votes

avatar image

Jake edited

Variables not changing correctly

Aug 7, '10 variable·change

2 Replies

0 Votes

avatar image

dahal2871 answered

Is it possible to show Static Variables in the Inspector?

Dec 17, '20 prefab·variable·inspector·static·oafa

10 Replies

23 Votes

avatar image

Mike 3 edited

Need help with greater-than statement

Aug 5, '10 variable

1 Reply

0 Votes

  • »
  • ‹
  • 73
  • 74
  • 75
  • 76
  • 77
  • ›
  • »

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