• 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

Fixes in upcoming releases of Unity Answers

Using a good tone of voice when replying to posts

Requests for new tags/topics

How to use the META space

How to use the Moderator space

Questions in topic: typecasting

  • Unanswered Questions
  • Recommended Questions
Once you sign in you will be able to subscribe for any updates here
avatar image

Glurth edited

A smarter Way to get the Type of SerializedProperty

Sep 15, '21 editor-scripting·reflection·custom-inspector·serializedproperty·typecasting

6 Replies

2 Votes

avatar image

tyruji answered

Unity. Some fields go to null on Play

Jul 22, '21 c#·serialization·typecasting

1 Reply

0 Votes

avatar image

AnOrdinarySandwich answered

How do I give an object a script component of a type specified by the calling source?

Dec 24, '20 in Help Room

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

AlastoirFaruh answered

How do you instantiate a script from a monoscript?

Sep 23, '20 editor·typecasting·monoscript

2 Replies

1 Votes

avatar image

razivo commented

Adding type convertions to unity core types

Apr 16, '20 typecasting

1 Reply

0 Votes

avatar image

TomNCatz commented

CustomAttribute on Class or Method ( EDIT: Button to call methods)

Apr 11, '20 editor·custom-inspector·propertydrawer·methods·typecasting

2 Replies

1 Votes

avatar image

unity_RMiJ7SENDRQxhQ asked

I get byte[] from unitywebrequest.get . now how can i change byte[] to another like mesh or assetbundle?

Jun 1, '19 assetbundle·webrequest·conversion·typecasting·bytearray

0 Replies

0 Votes

avatar image

clayton1314 commented

Instance of JsonData Doesn't hold an int even though im typcasting..

Jul 31, '17 in Help Room

1 Reply

0 Votes

avatar image

tanoshimi answered

Sprite Rendering

Feb 21, '17 sprite·resources·typecasting

1 Reply

0 Votes

avatar image

PizzaPie converted comment to answer

Dynamic Type Casting

Feb 4, '17 in Help Room

1 Reply

0 Votes

avatar image

Hellcat5 edited

Typecasting problem?

Jan 31, '17 gameobject·light·find·enabled·typecasting

3 Replies

1 Votes

avatar image

Arkaid edited

Best way use Resources.Load for spcific type?

Jul 19, '16 performance·resources·resources.load·compile·typecasting

1 Reply

1 Votes

avatar image

fafase answered

How to TypeCast T(Generic Type) into some Class DataType

Jun 29, '16 unity5·generics·typecasting

2 Replies

0 Votes

avatar image

TheCaptainJuneBug commented

Dynamic casting?

Jun 3, '16 in Help Room

1 Reply

0 Votes

avatar image

DanLevi commented

Why isn't this instantiation cast working?

May 21, '16 in Help Room

1 Reply

0 Votes

avatar image

Dave-Carlile commented

(int)(variable*float ) problem?

May 4, '16 typecasting

1 Reply

0 Votes

avatar image

JoshPeterson answered

il2cpp type casting issue

Feb 26, '16 in Help Room

-1 Replies

0 Votes

avatar image

Anxo edited

gameObject.AddComponent(presetComponent) ?? I would like to add a component thats already created.

Dec 3, '15 in Help Room

1 Reply

0 Votes

avatar image

Mechlordx commented

Custom Class Type Casting (to string)

Oct 26, '15 custom class·typecasting

1 Reply

0 Votes

avatar image

riccardo_fablab published

Native type conversions

Sep 17, '15 native plugin·typecasting

0 Replies

0 Votes

avatar image

Guppie1337 commented

Identify and Use Unknown Types

Jul 28, '15 script.·getcomponent·detection·type·typecasting

1 Reply

0 Votes

avatar image

allenallenallen commented

Javascript - How to get an error if typing int instead of float?

Jul 21, '15 float·typecasting·pragma

0 Replies

0 Votes

avatar image

Knskan3 published

Dynamic type, unknown in advance to reuse scripts

Jun 23, '15 dynamic·type·typecasting

1 Reply

0 Votes

avatar image

JellyDoodle published

How to Typecast JS Variables as C# Classes?

Jun 12, '15 c#·javascript·variable·class·typecasting

0 Replies

0 Votes

avatar image

zeppike edited

Haxe typedef cast to something meaningful in C# Closed

Jun 8, '15 c#·type·crossplatform·typecasting

1 Reply

0 Votes

avatar image

decept commented

'time' not a member of 'Object'

Mar 29, '15 array·list·typecasting·member

1 Reply

0 Votes

avatar image

Razorwings18 commented

Can't get method using Generics to populate List

Mar 23, '15 list·method·generics·constraints·typecasting

1 Reply

0 Votes

avatar image

Seneral edited

Custom Editors for any Component

Feb 14, '15 component·type·customeditor·typecasting·custominspector

0 Replies

0 Votes

avatar image

CHPedersen commented

Why use Resources.Load(string path, Type systemTypeInstance);?

Feb 3, '15 resources·resources.load·type·typecasting·why

2 Replies

1 Votes

  • 1
  • 2
  • 3
  • ›

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.

Follow This Topic

Follow This Topic

Follow by RSS

No one has followed this topic yet.

Popular Topics

c# animation android unity 5 camera 2d rotation javascript scripting problem collision ui gui error shader movement gameobject physics rigidbody editor ios texture networking raycast instantiate collider transform terrain mesh prefab input
View all

Recent Badges

  • Notable Question   IKilledKenny_2
  • Supporter   GlauberSFreitas
  • Citizen Patrol   stalwart5033
  • Famous Question   Ansn285
  • Famous Question   meta-ben
  • Notable Question   Chefsu
  • Nice Answer   Tubsiwub
  • Supporter   MrTrainMan2
  • Popular Question   NotEth4n
  • Popular Question   PennNeuro


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