예제 #1
0
 public void Init(DanmakuController danmakuController)
 {
     _danmakuController    = danmakuController;
     _bulletParticlePrefab = Resources.Load("_En_Bullet_Particle") as GameObject;
     _bulletHollowPrefab   = Resources.Load <GameObject>("_En_Bullet_Hollow");
     _flyObjectsController = _danmakuController.FlyObjectsController;
 }
예제 #2
0
        private void Awake()
        {
            Instance = this;
//            _uiManager = new UIManager();
            _needInternalTimer = Utils.CheckNeedInternalTimer();

            _lastFrameTime = GetTimeSinceStartup();

            // init all controllers at start up
            FlyObjectsController.Init(this);
            ShooterController.Init(this);
        }
예제 #3
0
 public abstract Scenario GetScenario(DanmakuController parent);
예제 #4
0
 public void Init(DanmakuController parent)
 {
     _parent = parent;
 }
예제 #5
0
 public void Init(DanmakuController danmakuController)
 {
     _parent = danmakuController;
 }