Made gameObject array work