Zfx
❔ Out of bound error
I get this error :
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <f3aec01a34d14c7080754e28743c8472>:0)
Tore.GénérerBordures () (at Assets/Scripts/Tore.cs:82)
Tore.Awake () (at Assets/Scripts/Tore.cs:40)
and I don't really understand why it does that ngl. Here's the code for the 'tore' class (which basically creates a torus)
51 replies