using UnityEngine; using System.Collections.Generic; [System.Serializable] public class Hrac { public int necoInt; public GameObject hracObjekt; public Transform hracTransform; } [System.Serializable] public class Oponent { public int necoInt; public GameObject hracObjekt; public Transform hracTransform; } public class serializable : MonoBehaviour { public ListjaHrac; public Oponent[] jinyHrac; }