AIBehavior.GetBagCounterColor - notruilin/DeceptionGame GitHub Wiki
public int[] GetBagCounterColor();
Returns the color of each counter in the shuttle's bag. 0, 1, 2 correspond to red, yellow and blue counters. -1 if the bag position is empty.
{ -1, 0, -1, -1 } means the second cell of the shuttle holds a red counter.
public class AIAgent : MonoBehaviour
{
public Actions MakeDecision()
{
int[] lastBag = new int[4];
lastBag = GetComponent<AIBehavior>().GetBagCounterColor();
}
}