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; }
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); }
public abstract Scenario GetScenario(DanmakuController parent);
public void Init(DanmakuController parent) { _parent = parent; }
public void Init(DanmakuController danmakuController) { _parent = danmakuController; }