• 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

Typeof

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

dk404 edited

Using reflection to check if a method fits a template, problem with string reference

Jan 30, '23 c#·reflection·parameter·typeof

1 Reply

0 Votes

avatar image

Serge144 commented

Use Single Editor Script on Multiple Script Types

Aug 31, '20 editor·editor-scripting·multiple·type·typeof

0 Replies

1 Votes

avatar image

deathstrokez117 asked

i want to make a board game type of game but im not sure what type it is 2d 3d or universal render pipeline need help

May 30, '20 in Help Room

0 Replies

0 Votes

avatar image

georgebutchers edited

Using the 'is' operator versus an abstract enum in identifying a child class.

Mar 2, '20 in Help Room

0 Replies

0 Votes

avatar image

darkal edited

Restrict Object variable to only Scene assets

Sep 28, '19 object·scene·assetbundle·typeof

0 Replies

0 Votes

avatar image

Rafarel commented

RequireComponent (typeof) not adding in component

Apr 14, '19 in Help Room

2 Replies

3 Votes

avatar image

PizzaPie edited

Serialize a Dictionary

Oct 7, '18 serialization·dictionary·serialize·binaryformatter·typeof

1 Reply

1 Votes

avatar image

spoonshoe asked

Pass Class as a generic type using string

Jun 3, '18 scripting problem·class·generics·typeof

0 Replies

0 Votes

avatar image

Gaffail edited

Can't destroy script attached to GameObject, incomprehensible type error

Aug 8, '16 scripting problem·standard assets·types·typeof

3 Replies

1 Votes

avatar image

instruct9r commented

Why woud i use var in C# ?

Oct 24, '15 in Help Room

1 Reply

14 Votes

avatar image

AngryCSharpNerd commented

Get Superclass of Subclass in Unityscript

Jan 18, '14 class·classes·type·typeof

2 Replies

0 Votes

avatar image

Gruffy commented

What's faster to compare, strings or typeof(s) ?

Jan 6, '14 string·compare·fast·typeof

0 Replies

0 Votes

avatar image

SinisterRainbow commented

Easy? Convert System.Type to UnityEngine.Component

Oct 24, '13 component·convert·type·conversion·typeof

3 Replies

0 Votes

avatar image

bushdiver commented

Decipher 2 lines of code please

May 5, '13 c#·terrain·typeof

1 Reply

0 Votes

avatar image

Steffen Franz asked

JS typeof() as System.Type, not a literal string

Jan 14, '13 system.type·typeof

0 Replies

0 Votes

avatar image

noflyzone 3 asked

UnityEngine.BoxCollider != typeof(UnityEngine.BoxCollider) Why?

Feb 8, '11 cs0119·cs1503·typeof

2 Replies

0 Votes

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# type resources scripting problem getcomponentsinchildren reflection parameter resources.loadall class object requirecomponent serialization conversion enum skills serialize convert inheritance cs0119 dictionary string reference addcomponent cs1503 binaryformatter


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