예제 #1
0
    // Use this for initialization
    void Start()
    {
        slotSystem = gameObjectSlotSystem.GetComponent <SlotSystem>();

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