// Use this for initialization
    void Start()
    {
        slotSystem = gameObjectSlotSystem.GetComponent <SlotSystem>();

        animator = GetComponent <Animator>();
    }
Example #2
0
 private void Awake()
 {
     slotSystem = GameObject.FindGameObjectWithTag("Manager").GetComponent <SlotSystem>();
 }