2d ray unity
RaycastHit2D hit = Physics2D.Raycast(transform.position, -Vector2.up);
2d ray unity
RaycastHit2D hit = Physics2D.Raycast(transform.position, -Vector2.up);
C# public 2d array
// in namespace, above main form declaration
public class Globals
{
public static string[,] tableArray;
}
//... in main or other method
Globals.tableArray = new string[rowLength,colLength];
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us