// Use this for initialization void Start() { slotSystem = gameObjectSlotSystem.GetComponent <SlotSystem>(); animator = GetComponent <Animator>(); }
private void Awake() { slotSystem = GameObject.FindGameObjectWithTag("Manager").GetComponent <SlotSystem>(); }