Esempio n. 1
0
        private void Awake()
        {
            Instance = this;

            partyBoxObject = Instantiate(partyBoxPrefab, partyBoxPosition.transform.position, Quaternion.identity, transform);
            buttonLeft.onClick.AddListener(OnClickButtonLeft);
            buttonRight.onClick.AddListener(OnClickButtonRight);
        }
Esempio n. 2
0
 private void OnDestroy()
 {
     Instance = null;
 }