Created
July 31, 2017 10:19
-
-
Save joobei/c8aa670e73cc8a7311b9cce217adfb77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class Util | |
{ | |
public static Vector3[,] generatePositions(List<int> angles, List<float> depths) | |
{ | |
Vector3[,] positions = new Vector3[angles.Count,depths.Count]; | |
^ ^ | |
NullReferenceException: Object reference not set to an instance of an object | |
Util.generatePositions (System.Collections.Generic.List`1 angles, System.Collections.Generic.List`1 depths) (at Assets/Scripts/Util.cs:29) | |
DockingState..ctor () (at Assets/Scripts/States/DockingState.cs:32) | |
//do stuff | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment