duck

duck

Sep 22nd, 2010
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1. using UnityEngine;
  2.  
  3. public class ArrayHelper : MonoBehaviour {
  4.  
  5.     public static int[,] NewInt2D (int a, int n)
  6.     {
  7.         return new int[a, b];
  8.     }
  9.    
  10.     public static int[,] NewInt3D (int a, int b, int c)
  11.     {
  12.         return new int[a, b, c];
  13.     }
  14.    
  15. }
Advertisement
Add Comment
Please, Sign In to add comment