• 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

Pangamini commented

How to get a List of all Variables in a Class

5 days ago list·serialization·variables·class·properties

1 Reply

3 Votes

avatar image

danny_appel commented

Can't access script through collision.

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

2 Replies

0 Votes

avatar image

Mashimaro7 commented

Naming array elements in editor

Dec 17, '20 editor·arrays·class·name·element

3 Replies

0 Votes

avatar image

sacredgeometry edited

The same field name is serialized multiple times in the class or its parent class. This is not supported:

Dec 1, '20 c#·editor-scripting·class·override

1 Reply

0 Votes

avatar image

Llama_w_2Ls answered

Why transform class list give me error?

Nov 27, '20 c#·transform·unity 2d·list·class

1 Reply

0 Votes

avatar image

tXxy asked

Attach a value to an instantiate object and call it in the class of this object

Nov 25, '20 instantiate·variable·class·passing

0 Replies

0 Votes

avatar image

KrishGameHacker published

Assign script into another script in Inspector

Nov 16, '20 editor·inspector·class·serialize·oninspectorgui

2 Replies

0 Votes

avatar image

mbvila asked

Movement Controller or movement function on every gameObject

Nov 15, '20 movement·class·movement script

0 Replies

0 Votes

avatar image

jackmw94 answered

How to run Update() from an abstract class?

Nov 8, '20 class·update function·abstract

1 Reply

0 Votes

avatar image

NoahSmiles22 commented

Can I use a custom C# class as field for a component ? [ECS]

Nov 4, '20 in Help Room

1 Reply

0 Votes

avatar image

corapeca asked

Can i set class vars automatically when calling class constructor with attributes?

Oct 22, '20 c#·class·constructor

0 Replies

0 Votes

avatar image

stella120850 published

how can I make a box with flat cubes(which I want to call a 'tile')? and have each tile detect collision?

Oct 19, '20 object·arrays·class

0 Replies

0 Votes

avatar image

darrelltstevens commented

List of bools with names

Oct 17, '20 list·class·bool

1 Reply

0 Votes

avatar image

ryanjvigus commented

Access the GameObject a class is attached to

Oct 5, '20 c#·gameobject·class·monobehaviour

1 Reply

0 Votes

avatar image

Bunny83 answered

C# cant find a class auto generated by unity

Sep 28, '20 in Help Room

2 Replies

0 Votes

avatar image

unity_Z4478tN91mRAQQ commented

Have create a script named "Screen", now my game won't work, please help Closed

Sep 24, '20 bug·screen·class

1 Reply

1 Votes

avatar image

tonymotion commented

declare classes from another script c#

Sep 13, '20 in Help Room

2 Replies

0 Votes

avatar image

LordOfTheOtters commented

Best way to store RPG job experience?

Aug 31, '20 variables·class·int·values·storage

1 Reply

0 Votes

avatar image

afot2020 commented

Integer List values don't get initialized in Constructor of Class

Aug 19, '20 list·nullreferenceexception·class

2 Replies

0 Votes

avatar image

beastsOnly commented

How to Initialize class without instantiating a Game Object?

Aug 16, '20 networking·class

1 Reply

0 Votes

avatar image

Spip5 edited

Problem with arrays in a list Closed

Aug 15, '20 array·list·arrays·class·lists

1 Reply

0 Votes

avatar image

jmailloux11 answered

Weird Script behaviour

Aug 9, '20 in Help Room

1 Reply

0 Votes

avatar image

haiderInUnity edited

change value of prefab field in a array of prefabs

Jul 31, '20 instantiate·list·prefabs·class·serialize

0 Replies

0 Votes

avatar image

CodesCove answered

How can I use method to return custom classes (Same Class Type),How to return classes in method

Jul 24, '20 class·classes·method·return

1 Reply

0 Votes

avatar image

nitrogames79 answered

Returned class is always null

Jul 23, '20 in Help Room

1 Reply

0 Votes

avatar image

NoScopingDude commented

Can a class array contain subclass items?

Jul 11, '20 in Help Room

1 Reply

2 Votes

avatar image

benyyh commented

Monobehavior class variable become null after assigning value when instantiated Closed

Jul 11, '20 variable·class·monobehaviour

1 Reply

0 Votes

avatar image

tbchicken commented

Add all objects of a type to a list before runtime

Jul 6, '20 scripting problem·list·runtime·class·objects

1 Reply

0 Votes

avatar image

Bowsen published

I can't change an int from an other class

Jul 1, '20 in Help Room

0 Replies

0 Votes

avatar image

ShadyProductions commented

My void Start won't work

Jun 27, '20 class·start·void

1 Reply

0 Votes

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

Followers

avatar image avatar image avatar image avatar image avatar image

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

c# array javascript list variable classes inheritance object gameobject instantiate function inspector static monobehaviour instance editor variables error nullreferenceexception access struct serialization custom scripting problem enum
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges