• 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

Class

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

dcmrobin asked

How to reference to a local variable from a struct

yesterday in Help Room

0 Replies

0 Votes

avatar image

Colin_Brilliant_Labs asked

How to override constructor when creating a new element in a list from the inspector.

3 days ago in Help Room

0 Replies

0 Votes

avatar image

Marou1 edited

Bolt / Visual scripting - Missing class (PrefabUtility)

May 22, '22 in Help Room

0 Replies

0 Votes

avatar image

ronniechoyyy edited

Is it possible to Change mesh also multi materials by a button or a key

Apr 27, '22 mesh·array·material·class·struct

0 Replies

0 Votes

avatar image

Bonfire-Boy edited

GameObject not following its Transform's Vector

Mar 29, '22 transform·transform.position·class·drag-and-drop·class object

1 Reply

0 Votes

avatar image

rh_galaxy answered

How to implement custom using directives?

Mar 25, '22 class·classes·namespace·method·using

1 Reply

0 Votes

avatar image

triangle4studios commented

Inspector button for custom class

Mar 11, '22 editor·button·inspector·class·custom

1 Reply

0 Votes

avatar image

TheTechn0mancer commented

Using constructors in Unity (C#)

Feb 24, '22 in Help Room

8 Replies

17 Votes

avatar image

AppliedEngineering published

Problem building for Android "Duplicate class.."

Feb 15, '22 android·build-error·class·duplicate

0 Replies

0 Votes

avatar image

notveryobservant commented

What are the conventions for overloading classes?

Jan 2, '22 editor·class·overload

1 Reply

0 Votes

avatar image

amitDklein answered

How can I instantiate a object with a constructor?

Dec 10, '21 instantiate·array·class·constructor

3 Replies

0 Votes

avatar image

rickymanalo commented

How to make an abstract class with a constructor that needs a List of custom objects?

Nov 23, '21 class·lists·abstract

1 Reply

1 Votes

avatar image

thijsdekkertje commented

How to properly change variables of a sub class

Nov 2, '21 variables·class·classes

0 Replies

0 Votes

avatar image

Glass_Egg_02 answered

The type or namespace name 'StateMachine' could not be found (are you missing a using directive or an assembly reference?)

Oct 29, '21 c#·scripting problem·error·class·namespace

1 Reply

0 Votes

avatar image

DevDustyPlayer commented

How to get a List of all Variables in a Class

Sep 25, '21 list·serialization·variables·class·properties

1 Reply

3 Votes

avatar image

Genetix answered

Unity value assignment help

Aug 4, '21 variables·class·struct·assign-variable·assignment

0 Replies

0 Votes

avatar image

CodesCove commented

Splitting with Partial Classes

Jul 27, '21 class·objects·files·splitting

0 Replies

0 Votes

avatar image

rage_co answered

organize unity inspector with collapsable sections without using classes Closed

Jul 13, '21 c#·inspector·class·organization

1 Reply

0 Votes

avatar image

Hellium answered

Can I choose what to pass into .getcomponent<{VARIABLE}>();

Jun 3, '21 c#·variable·variables·class·classes

1 Reply

0 Votes

avatar image

diegoadum asked

The script don't inherit a native class that can manage a script.

Jun 1, '21 in Help Room

0 Replies

0 Votes

avatar image

recaigeciken14 answered

Custom class list seen as "none" in inspector.

May 4, '21 in Help Room

1 Reply

0 Votes

avatar image

sleepy_coder answered

How to use non-MonoBehaviour class in a unity Script

Apr 16, '21 class·monobehaviour

2 Replies

0 Votes

avatar image

GameDeveloperAf edited

[SOLVED] Increase and Decrease size of Class Array in Unity C#

Apr 4, '21 in Help Room

1 Reply

0 Votes

avatar image

Llama_w_2Ls commented

How do i edit a constructor array in the inspector?

Apr 4, '21 arrays·class·constructor

1 Reply

0 Votes

avatar image

Timebreaker900 published

Unity Custom Class in Editor

Mar 15, '21 class·custom editor

1 Reply

0 Votes

avatar image

RodrigoAbreu commented

I have a class of a class, but the first class isn't updating

Feb 8, '21 class

1 Reply

0 Votes

avatar image

GiacomInox edited

Set default length for an array of elements of a custom class in inspector

Feb 6, '21 c#·scripting problem·array·class·scriptableobject

0 Replies

0 Votes

avatar image

Spydrouge edited

Constructor called multiple times on Class

Jan 29, '21 object·programming·class

1 Reply

0 Votes

avatar image

Fa6ex commented

Abstract classes in a ScriptableObject

Jan 25, '21 serialization·save·class·scriptableobject·abstract

1 Reply

0 Votes

avatar image

danny_appel commented

Can't access script through collision.

Jan 16, '21 collision·script.·class·null·access

2 Replies

0 Votes

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

Followers

avatar image avatar image avatar image avatar image avatar image avatar image

Related Topics

c# array list javascript variable classes inheritance object inspector gameobject instantiate static function monobehaviour instance variables nullreferenceexception editor struct scripting problem error access method custom serialization


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