示例#1
0
 // Use this for initialization
 private void Awake()
 {
     bulletseller = new BulletSeller();
     coinbuyer    = new CoinBuyer();
     coinseller   = new CoinSeller();
     fishbuyer    = new FishBuyer();
 }
示例#2
0
    CoinSeller eventExport;  //xã coin

    //khoi tao nguoi choi player 1 co 100 vang va dang dung sung 5
    private void Awake()
    {
        bullet      = new Bullet(15);
        player      = new Player("player", 0, 5);
        fish        = new Fish("CaLaHan", 25);
        eventShoot  = new BulletSeller();
        eventCatch  = new FishBuyer();
        eventImport = new CoinBuyer();
        eventExport = new CoinSeller();
    }