• 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

Type

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

yoppuyoppu answered

How to edit UI Text from script

Aug 8, '17 c#·ui·text·interface·type

3 Replies

9 Votes

avatar image

unity_irWFQ0EIxnaugQ answered

Mecanim Animation Parameter Types: Boolean vs. Trigger

Apr 10, '18 animation·mecanim·type·parameter

3 Replies

8 Votes

avatar image

unity_26EBDAE273C6BC4B3EF1 commented

How to get the type of a Gameobject

May 31, '22 gameobject·type

3 Replies

2 Votes

avatar image

WaqasHaiderDev commented

Is there a way to find out what type of collider an object has?

May 19, '20 collider·type

2 Replies

6 Votes

avatar image

mikaelK edited

Type.GetType(string) does not work in Unity

Sep 19, '20 c#·.net·type

2 Replies

2 Votes

avatar image

NicoCarosio commented

Mime Settings for Unity3D file type

Nov 25, '14 file·type·invalid·mime

1 Reply

3 Votes

avatar image

rasheedqw commented

Cannot cast from source type to destination type

May 31, '15 rigidbody·type·cast·typecast

2 Replies

0 Votes

avatar image

gw1108 published

"Cannot cast from source type to destination type"- instantiating

Jan 20, '14 type·cast·source·invalidcastexception·destination

4 Replies

0 Votes

avatar image

Syndog published

Setting variable as type "Scene"

Jul 18, '16 scene·variable·load·type

4 Replies

1 Votes

avatar image

Beugnen edited

Determine if game object is tyoepf One Prefab

Jun 20, '21 gameobject·prefab·type

3 Replies

6 Votes

avatar image

Tortuap commented

The type 'UnityEngine.Vector3' cannot be declared const

Feb 22, '22 error·type·compile·constant

2 Replies

6 Votes

avatar image

hal69 commented

GameObject.Find() type casting question

Nov 11, '13 type·casting

1 Reply

3 Votes

avatar image

gregzo commented

Set variable as type "script"

Oct 13, '13 variable·type

1 Reply

0 Votes

avatar image

Jeff-Kesselman commented

How to compare float for equality?

Mar 19, '14 float·type·compare

2 Replies

2 Votes

avatar image

KoenigX3 commented

Is it possible to use a variable as a Type?

Apr 4, '21 c#·variable·getcomponent·type

1 Reply

1 Votes

avatar image

Jamar0324 commented

Classes and type casting?

Jul 8, '13 classes·enum·type·cast·bce0051

2 Replies

3 Votes

avatar image

Bunny83 commented

Passing Type variable to generic type: Variable not found.

Nov 26, '14 type·syntax·generic

1 Reply

1 Votes

avatar image

J_P_ edited

How can I pass a type as a parameter?

Jun 4, '14 type·parameter·argument

1 Reply

1 Votes

avatar image

lhk asked

Type of a script

Nov 1, '10 getcomponent·type

1 Reply

2 Votes

avatar image

_watcher_ edited

Using the generic type 'IEnumerator' requires 1 type arguments

Nov 22, '19 in Help Room

1 Reply

5 Votes

avatar image

hzigy commented

Public class used in another class (C#)

Jun 28, '11 error·inspector·class·type·public

1 Reply

0 Votes

avatar image

oukichi commented

What is the type of my prefab?

May 31, '19 gameobject·instantiate·prefab·variable·type

2 Replies

4 Votes

avatar image

JackalopeConspiracy commented

GameObject.Find(string) cannot be accessed with an instance reference

Mar 11, '15 c#·name·type

1 Reply

0 Votes

avatar image

CamCreates answered

How can I use a variable with getcomponent()?

Dec 23, '20 getcomponent·type·casting·typecasting

2 Replies

1 Votes

avatar image

MagyarPeter commented

Converting a string into a type, then using that type in a script.

Oct 10, '21 c#·editor·list·editorwindow·type

4 Replies

1 Votes

avatar image

marek_PLH commented

Assign a variable of type "type" on the inspector or best work around

Feb 11, '21 scriptableobject·type·addcomponent·skills

2 Replies

1 Votes

avatar image

tomljagogo commented

Where can I find a list of variable types for use in Javascript?

Aug 26, '14 variable·type

3 Replies

1 Votes

avatar image

lentinant commented

How to store class type in variable

Oct 26, '14 variable·class·type

2 Replies

0 Votes

avatar image

aldonaletto commented

Referencing a c# component script from JS script

Jan 22, '12 c#·getcomponent·reference·type

2 Replies

0 Votes

avatar image

Anusha answered

get variable type and name

Sep 5, '12 function·type·get·from·varible

1 Reply

0 Votes

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

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# variable getcomponent component error gameobject namespace javascript class array typecasting string list reference value editor convert object cast generic addcomponent inspector conversion variables float


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