• 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: casting

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

ninja_gear published

Retrieving data from a custom class

May 25, '16 c#·programming·classes·casting

3 Replies

0 Votes

avatar image

Cynicide answered

Returning an upcasted type to it's original type without knowing what it is

Apr 27, '16 in Help Room

1 Reply

0 Votes

avatar image

Bonywa published

Getting data out of Dictionary

Apr 4, '16 c#·object·json·dictionary·casting

0 Replies

1 Votes

avatar image

NoseKills commented

cast of Int to Long reads garbage

Mar 6, '16 in Help Room

0 Replies

0 Votes

avatar image

Borzi commented

Get instances of a script in children

Feb 24, '16 in Help Room

1 Reply

0 Votes

avatar image

b45h05h4 asked

Object to GameObject casting error c# (from object in scene not a prefab)

Feb 19, '16 in Help Room

0 Replies

0 Votes

avatar image

Venczel published

Casting Error C# between Object[] and Texture2D[]

Feb 12, '16 c#·array·texture2d·casting·invalidcastexception

2 Replies

0 Votes

avatar image

Shubhra answered

Casting problem with Windows Splash creen CS0029

Feb 5, '16 in Help Room

1 Reply

0 Votes

avatar image

justadeveloper commented

How can i get my gameobject as a sprite from its collider name?

Nov 23, '15 sprite·spriterenderer·ienumerator·fade·casting

1 Reply

0 Votes

avatar image

Steeban commented

What is Casting in Unity ?

Nov 15, '15 in Help Room

1 Reply

4 Votes

avatar image

Fewpwew130 published

[C# attached] [screenshots attached] determining delta rate for UI casting bar

Sep 24, '15 in Help Room

1 Reply

0 Votes

avatar image

getyour411 commented

InvalidCastException

Sep 5, '15 in Help Room

0 Replies

0 Votes

avatar image

Mohobie edited

Roguelike2d example Walls fail to cast correctly in Player:OnCantMove

Sep 4, '15 nullreferenceexception·casting·roguelike

2 Replies

0 Votes

avatar image

Gaiyamato commented

EasyJSON Casting Error

Aug 25, '15 json·casting

3 Replies

0 Votes

avatar image

Sendatsu_Yoshimitsu commented

Casting-related error: "^ cannot be applied to double and int"

Jun 12, '15 c#·math·mathf·casting

1 Reply

0 Votes

avatar image

actraiser3 commented

Casting to a Type using a String

Jun 10, '15 c#·casting

2 Replies

1 Votes

avatar image

YanHoxley edited

C# on/off any Script Component (mixed C# and JS) Wiki

May 18, '15 c#·unity 5·mouselook·casting·enable and disable script

1 Reply

0 Votes

avatar image

dingben commented

Does namespace relate to a location on disk or in the project

May 2, '15 scripting problem·namespace·object reference·casting

1 Reply

0 Votes

avatar image

DiegoSLTS answered

Can't compare byte to byte?

Apr 2, '15 int·enum·casting·comparison·byte

2 Replies

0 Votes

avatar image

monogon edited

Cast object as sprite for UI Image

Feb 27, '15 sprite·object·image·cast·casting

1 Reply

0 Votes

avatar image

Owen-Reynolds commented

2 Polymorphism Questions (I'm beginner : c )

Feb 9, '15 casting·polymorphism

2 Replies

0 Votes

avatar image

richyrich commented

Conversion of GameObject with Component to Specific Type

Nov 13, '14 gameobject·type·components·conversion·casting

0 Replies

0 Votes

avatar image

kannan21 commented

Problem with type casting?

Jul 15, '14 reflection·type·casting·typecasting·generic list

1 Reply

0 Votes

avatar image

PaxForce commented

best way to cast fireball

Jun 12, '14 casting·spell

2 Replies

0 Votes

avatar image

soft_sound commented

Unity accessing members of an object

May 30, '14 c#·objects·casting

1 Reply

0 Votes

avatar image

j-millen commented

How can I find the source of a casting error?

May 26, '14 error-message·casting·unity 4.3.4

0 Replies

0 Votes

avatar image

Benproductions1 commented

Cannot cast from source type to destination type in C#

Apr 23, '14 casting

1 Reply

0 Votes

avatar image

joshmann971 edited

Enemy Raycasting Damage Wiki

Apr 18, '14 raycast·tag·ray·casting

0 Replies

0 Votes

avatar image

Moomius commented

Accessing a function from another script

Apr 10, '14 casting

1 Reply

0 Votes

avatar image

NutellaDaddy commented

Why can I make a float turn into an int?

Mar 16, '14 float·casting

2 Replies

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.

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

  • Famous Question   Ansn285
  • Famous Question   meta-ben
  • Notable Question   Chefsu
  • Nice Answer   Tubsiwub
  • Supporter   MrTrainMan2
  • Popular Question   NotEth4n
  • Popular Question   PennNeuro
  • Teacher   Stijn500
  • Famous Question   Robstao
  • Famous Question   Mastermarr


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