Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- public class ArrayHelper : MonoBehaviour {
- public static int[,] NewInt2D (int a, int n)
- {
- return new int[a, b];
- }
- public static int[,] NewInt3D (int a, int b, int c)
- {
- return new int[a, b, c];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment