• 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

Glurth edited

Function as parameter?

Jan 9, '15 variable·function·parameter

1 Reply

0 Votes

avatar image

Nerevar commented

Variable name using another variable

Jul 10, '15 array·variable

2 Replies

0 Votes

avatar image

Theacesofspades asked

Basic OnInspectorGUI

Jul 25, '15 variable

0 Replies

0 Votes

avatar image

G4merSylver answered

Set material variable with colliding object's material

Aug 14, '16 c#·material·variable·renderer

1 Reply

0 Votes

avatar image

jmgek edited

Variable Vs Array?

Jun 9, '17 ui·array·variable·arrays·scriptingbasics

2 Replies

0 Votes

avatar image

Hellium commented

[help] Array index is out of range

Jul 27, '17 in Help Room

0 Replies

0 Votes

avatar image

SLEIDER published

Change variable independently for different objects with same script.,Change variable in different object but same script Closed

Mar 19, '19 in Help Room

0 Replies

0 Votes

avatar image

CobbledGames commented

Is it possible to control prevent/enable colisions based on the value of a variable. Closed

Jun 6, '19 in Help Room

2 Replies

0 Votes

avatar image

Dramaticmazerunner asked

How to get the players CPS

Nov 16, '20 c#·variable·unityeditor

0 Replies

0 Votes

avatar image

bobbaluba edited

How do I make serializefield/public readonly in the inspector, but so that I can still access variables in other scripts?

Nov 30, '20 variable·serializefield

1 Reply

0 Votes

avatar image

Jake asked

Resticing variables to whole numbers

Aug 9, '10 javascript·variable·float

3 Replies

-1 Votes

avatar image

Techsuport 1 asked

customization of variables in script for in Editor?

Oct 18, '10 editor·input·variable·customization

2 Replies

-1 Votes

avatar image

Timmyglen2 asked

How to access a variable in a script on the same object.

Jan 3, '11 javascript·variable·access

1 Reply

-1 Votes

avatar image

almo commented

how can i do this!!!!??

Jun 16, '11 variable

3 Replies

-1 Votes

avatar image

Patrick 7 asked

parse float variable Closed

May 15, '11 variable

1 Reply

-1 Votes

avatar image

uplay1km published

An instance of type X is required to access non static member Y [javascript]

Jul 28, '16 javascript·variable·static·instance·bce0020

4 Replies

-1 Votes

avatar image

quakeman00 commented

send variable from a c# script to another in another script on another game object

Mar 12, '12 c#·variable·sending

0 Replies

-1 Votes

avatar image

syclamoth answered

Help me with this Unexpected token error

Apr 2, '12 error·variable·var·unexpected·token

1 Reply

-1 Votes

avatar image

kobebeef415 commented

Getting Variable value from another object?

Jul 10, '13 variable·getcomponent·boolean

1 Reply

-1 Votes

avatar image

CodeMasterMike answered

How do i decrease a variable when i hold mouse button?

Nov 19, '12 variable

1 Reply

-1 Votes

avatar image

bompi88 commented

How to delete a Variable in a script in game

Dec 15, '12 transform·prefab·variable·delete

1 Reply

-1 Votes

avatar image

PH-zero answered

How do I put out flames when a water source touches it?

Jan 30, '13 variable·light

1 Reply

-1 Votes

avatar image

BiG answered

How do I change the position of a variable

Jul 14, '13 transform·vector3·variable

1 Reply

-1 Votes

avatar image

Tarlius commented

Serialized variables not sharing

Sep 17, '13 variable

2 Replies

-1 Votes

avatar image

Ochreous rolled back

C# Declaring Variables Within If Statements

Nov 12, '13 c#·variable·if-statements

2 Replies

-1 Votes

avatar image

tanoshimi answered

variable js to c#

Nov 2, '13 c#·variable·tag·ngui

1 Reply

-1 Votes

avatar image

archie_azares published

Adding varibales from other scripts

Dec 10, '13 javascript·collision·collider·variable·variables

3 Replies

-1 Votes

avatar image

Sundar commented

Converting this JS code to C#

Jan 2, '14 c#·transform·variable·programming-basics

1 Reply

-1 Votes

avatar image

Jocca commented

How to keep variable value

Oct 4, '15 variable·reset·value·textbox

3 Replies

-1 Votes

avatar image

SecondMouse commented

How Do I Modify This Variable in Another Script?

Feb 14, '14 variable·modify·another

1 Reply

-1 Votes

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

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