// ================================================================ // // MonoBehaviour에서 상속. void Awake() { this.balloon = BalloonRoot.get().createBalloon(); this.item_man = ItemManager.getInstance(); this.item_carrier = new ItemCarrier(this); }
protected virtual void Init() { theSpawner = GetComponent<Spawner>(); iapCtrl = GetComponent<IAPCtrl>(); theScoreCounter = GetComponent<ScoreCounter>(); theLevelManager = GameObject.FindWithTag("levelManager").GetComponent<LevelManager>(); theItemCarrier = GameObject.FindWithTag("itemCarrier").GetComponent<ItemCarrier>(); initPlayerHP = maxPlayerHP; if (!Application.isEditor) { CmBillingAndroid.Instance.InitializeApp(); } }