/// <summary> /// セットアップ /// </summary> public void Setup( bool isFvAttack, uint power, uint fvRate, Master.BulletData bulletData, SkillGroupManager skill) { this.power = power; this.fvRate = fvRate; this.isFvAttack = isFvAttack; this.bulletData = bulletData; this.skill = skill; }
/// <summary> /// セットアップ /// </summary> public void Setup( bool isFvAttack, uint power, uint fvRate, Master.BulletData bulletData, SkillGroupManager skill, uint speed, Fish targetFish = null) { base.Setup(isFvAttack, power, fvRate, bulletData, skill); this.bulletBase.movement.speed = speed; this.targetFish = targetFish; }
/// <summary> /// セットアップ /// </summary> public void Setup( bool isFvAttack, uint power, uint fvRate, Master.BulletData bulletData, SkillGroupManager skill, uint speed, float duration) { base.Setup(isFvAttack, power, fvRate, bulletData, skill); this.bulletBase.movement.speed = speed; this.duration = duration; }
/// <summary> /// セットアップ /// </summary> public void Setup( bool isFvAttack, uint power, uint fvRate, Master.BulletData bulletData, SkillGroupManager skill, Turret turret) { base.Setup(isFvAttack, power, fvRate, bulletData, skill); //タイムスタンプ取得 this.timeStamp = BattleGlobal.GetTimeStamp(); //制御開始 this.controller.Start(turret, this.bulletBase, this.OnHit, this.OnFinished); }
/// <summary> /// セットアップ /// </summary> public void Setup( bool isFvAttack, uint power, uint fvRate, Master.BulletData bulletData, SkillGroupManager skill, Turret turret, Vector2 dropPosition) { base.Setup(isFvAttack, power, fvRate, bulletData, skill); this.timeStamp = BattleGlobal.GetTimeStamp(); this.dropPosition = dropPosition; //制御開始 this.controller.Start(turret, this.bulletBase, dropPosition, this, this.OnFinished); }