コード例 #1
0
        public void Start()
        {
            Instance = this;

            if (!Initialized)
            {
                CardOffers         = CardOfferParent.GetComponentsInChildren <ShopCardOfferPrefab>().ToList();
                AugmentationOffers = AugmeticsParent.GetComponentsInChildren <ShopAugmentationOfferPrefab>().ToList();

                CancelButton.onClick.AddListener(() =>
                {
                    Hide();
                });
                Initialized = true;
            }
        }
コード例 #2
0
 public override void AwakenOnSceneStart()
 {
     Instance = this;
 }