• 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

Casting

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Idual asked

Getting an array of floats from a .bytes asset

Jan 21, '22 asset·float·textasset·casting·bytes

0 Replies

0 Votes

avatar image

Manasong_ commented

Cram variables inside class, use inheritance, or something else?

Jan 7, '22 c#·variables·inheritance·classes·casting

1 Reply

0 Votes

avatar image

NoYouSirName asked

Converting to ColliderCast - what's included in the PhysicsWorld and how do I include my own meshes?

Aug 25, '21 casting

0 Replies

0 Votes

avatar image

UltraAlucha edited

Boxcast not detecting tilemap/composite collider

Aug 24, '21 programming·collision detection·cast·casting

0 Replies

0 Votes

avatar image

Bazzalisk asked

Get all objects in triangle (physics triangle cast)

Aug 16, '21 2d-physics·cast·casting

0 Replies

0 Votes

avatar image

kayraucklnc commented

How to cast SerializedProperty back to custom class?

Jun 28, '21 in Help Room

0 Replies

0 Votes

avatar image

Zaine7673 asked

How to get a box cast to fit around the GameObject?

Apr 6, '21 in Help Room

0 Replies

0 Votes

avatar image

andrew-lukasik commented

Cast Vector3[] to float3[]

Mar 4, '21 c#·mesh·vector3·pointer·casting

1 Reply

1 Votes

avatar image

unity_qrj_5UYMolP0jA answered

Casting a GraphView node using GetNodeByGuid() returns null

Feb 22, '21 c#·scripting problem·graph·casting

1 Reply

0 Votes

avatar image

bibbis asked

Warning about "exposing sensitive info during casting/recording".

Feb 19, '21 in Help Room

0 Replies

0 Votes

avatar image

xxmariofer answered

How to boxcast where a dynamic rigidbody2D's box collider will be in the next frame?

Dec 23, '20 c#·unity 2d·rigidbody2d·physics2d·casting

1 Reply

0 Votes

avatar image

ItzChris92 asked

Inheritance and type casting problems

Jul 19, '20 in Help Room

0 Replies

0 Votes

avatar image

lodendsg edited

Trajectory Simulation for Carrom game when stricker collided to slam( Coin/Token )

Feb 13, '20 c#·physics·trajectory·casting·physx

1 Reply

0 Votes

avatar image

BastianUrbach answered

Casting Object to Rigidbody

Nov 30, '19 instantiate·cast·casting

2 Replies

0 Votes

avatar image

lgarczyn answered

How do I do a spherecast/boxcast/whatever but have the radius increase proportionally with distance?

Nov 21, '19 in Help Room

1 Reply

1 Votes

avatar image

RubberDuckSoftware commented

Anyone else having issues with how your game is displayed when using Chromecast?

Oct 18, '19 in Help Room

1 Reply

0 Votes

avatar image

Eco-Editor asked

Is it possible to enable Screen.sleepTimeout to the screen but not the VR view?

Jun 27, '19 vr·screen·disable·projection·casting

0 Replies

0 Votes

avatar image

TreyH edited

BoxCast always hits..?

Jun 6, '19 casting

0 Replies

0 Votes

avatar image

Bunny83 commented

How to cast without using a helper function

May 12, '19 generics·casting

1 Reply

0 Votes

avatar image

Bunny83 converted comment to answer

Get other GameObject's script name

Apr 12, '19 script.·functions·function call·casting

2 Replies

0 Votes

avatar image

Bunny83 answered

normal casting vs Nonalloc casting

Mar 10, '19 physics·casting

1 Reply

0 Votes

avatar image

JestaBROOK commented

Instantiate with and without casting as GameObject

Feb 21, '19 in Help Room

1 Reply

0 Votes

avatar image

SuperMonkey777 commented

How to access derived class members from base class type

Jan 29, '19 scriptableobject·inheritance·casting·polymorphism·derived-class

1 Reply

0 Votes

avatar image

Cornelis-de-Jager asked

Convert MonoScript.GetClass() to MonoBehaviour/Class

Nov 6, '18 casting

0 Replies

0 Votes

avatar image

ARTS_Premium edited

About ChromeCast, where can we find the updated version of ChromeCast Plugin?

Oct 2, '18 in Help Room

0 Replies

0 Votes

avatar image

nico_rawitscher commented

Casting FindGameObjectsByTag to another type

Aug 26, '18 in Help Room

1 Reply

0 Votes

avatar image

Hellium commented

InvalidCastException

Aug 6, '18 scripting problem·casting

0 Replies

0 Votes

avatar image

bennett_apps answered

Unable to create a reference to an instantiated object and alter it?

Aug 2, '18 in Help Room

1 Reply

0 Votes

avatar image

Bunny83 answered

Serialisation: InvalidCastException: Cannot cast from source type to destination type.

Jun 9, '18 c#·error·casting

1 Reply

0 Votes

avatar image

ShadyProductions edited

Upgrading a Custom Class into an Inheriting Class

Jun 4, '18 inheritance·casting·oop

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.

Related Topics

c# cast object javascript inheritance error float instantiate array type unity 5 vector3 int gameobject polymorphism scriptableobject shadows classes collision spell json sprite transform pointer typecasting


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