Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

2D Array Woes

$
0
0
Alright. So I'm trying to use a 2D array to simplify determining a modifier for an equation that I use to determine damage. My code (for the array and the methods (that determine the modifier, which is a float) is below. ...just a heads up it's a very long code, but that's because the array is a 19,19.

  1. using UnityEngine;
  2. using System.Collections;
  3. public class Types {
  4. public static float[,]...

2D Array Woes

Viewing all articles
Browse latest Browse all 1466670

Trending Articles