• 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

Struct

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

wolfenswan published

Why is my serialized custom class/struct not properly instantiated (values return null/default) ?

Dec 2, '20 in Help Room

0 Replies

0 Votes

avatar image

Mac51 published

Copying references via Compute Buffers to shaders

Dec 2, '20 compute shader·struct·buffer

0 Replies

0 Votes

avatar image

andrew-lukasik edited

[Resolved] Native Array of struct containing different types. Error InvalidOperationException

Oct 18, '20 in Help Room

3 Replies

0 Votes

avatar image

jellevda commented

Help with Structs and Custom Inspector

Sep 30, '20 inspector·struct

2 Replies

0 Votes

avatar image

dama1994 asked

Individualize variables in elements on list.

Sep 28, '20 c#·list·struct

0 Replies

0 Votes

avatar image

FIFTYTWO commented

Structs passed by ref = better performance?

Sep 13, '20 struct·ref

2 Replies

0 Votes

avatar image

Benjames asked

How to save ComputeBuffer?

Sep 9, '20 serialization·save data·compute shader·struct·buffer

0 Replies

0 Votes

avatar image

madscience2728 edited

Would using a static class inside a job system be safe in this context, where it is built-in to the execute struct?

Sep 9, '20 static·system·struct·collections·execute

0 Replies

0 Votes

avatar image

Zack-Londres commented

custom struct not showing up in inspector?

Aug 4, '20 javascript·inspector·struct

2 Replies

0 Votes

avatar image

Tenhitcombo commented

Is it possible to update a struct at runtime?

Aug 3, '20 c#·variables·struct

1 Reply

0 Votes

avatar image

SiegeMinion commented

Passing local variables to struct

May 9, '20 in Help Room

1 Reply

0 Votes

avatar image

FlaSh-G answered

Changing one array element changes the rest

May 6, '20 array·array of gameobjects·struct

1 Reply

0 Votes

avatar image

ShwPrgmmr asked

Custom Editor: Array of Structs with elements hidden by toggles

Apr 24, '20 in Help Room

0 Replies

0 Votes

avatar image

unity_sZSOKfh_MmAJww commented

Is putting a struct within a class going to affect performance?

Mar 28, '20 in Help Room

1 Reply

0 Votes

avatar image

Bunny83 edited

Where to use Structs and classes?

Mar 9, '20 c#·javascript·classes·struct

5 Replies

4 Votes

avatar image

panim0_unity answered

the object of type rigidbody has been destroyed

Mar 9, '20 c#·unity 5·error·rigidbody·struct

3 Replies

0 Votes

avatar image

Bunny83 commented

struct returning 0 even though that value can never be there

Mar 7, '20 in Help Room

0 Replies

0 Votes

avatar image

lagzilajcsi edited

struct and stepping? (quest line)

Feb 16, '20 in Help Room

1 Reply

0 Votes

avatar image

logicandchaos commented

How to store a Transform[,] grid in an ArrayList?

Feb 3, '20 2d·scripting problem·error·struct·datastructure

2 Replies

0 Votes

avatar image

anjum8 edited

Struct Error CS0122 Wiki

Feb 3, '20 c#·error·compiler·struct

1 Reply

0 Votes

avatar image

lgarczyn commented

Help with using 3D code for a 2D game.(It's probably an easy fix)

Dec 26, '19 in Help Room

1 Reply

0 Votes

avatar image

LiamMitchell edited

ICustomMarshaler can someone give me an example that does not crash?

Dec 16, '19 file·struct

0 Replies

0 Votes

avatar image

FargleBargle edited

How to use structs in queues in C#? Closed

Dec 4, '19 in Help Room

1 Reply

0 Votes

avatar image

Larry-Dietz answered

How do I delete or empty an array of custom structs during edit mode?

Dec 1, '19 c#·editor·array·struct

1 Reply

0 Votes

avatar image

Hellium commented

detects every object in range but execute script only if one specific object is in range?

Nov 26, '19 script.·bug·for-loop·struct

1 Reply

0 Votes

avatar image

Namey5 answered

Using Array of Structs in Shader

Sep 24, '19 shader·array·struct

1 Reply

0 Votes

avatar image

Trey1232 edited

Show struct fields in custom editor

Sep 19, '19 in Help Room

1 Reply

1 Votes

avatar image

Bunny83 commented

Linking array of sets of vector3's together

Aug 26, '19 array·vector3·struct·match

1 Reply

2 Votes

avatar image

PrimeSoul commented

Advanced Progressive difficulty monster spawner

Aug 3, '19 c#·unity 5·math·struct

1 Reply

0 Votes

avatar image

juliacs asked

What's the best way to reference a list of structs?

Apr 17, '19 in Help Room

0 Replies

0 Votes

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

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# class array list inspector variable editor data vector3 error component gameobject scripting problem networking shader enum arrays variables classes serialization dictionary instantiate javascript memory file
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges