Beispiel #1
0
    // ================================================================ //
    // MonoBehaviour에서 상속.

    void    Awake()
    {
        this.balloon = BalloonRoot.get().createBalloon();

        this.item_man = ItemManager.getInstance();

        this.item_carrier = new ItemCarrier(this);
    }
Beispiel #2
0
 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();
     }
 }