Exemplo n.º 1
0
 protected override void OnInit()
 {
     base.OnInit();
     this.BoxEnable(false);
     this.mCondition1 = AIMoveBase.GetConditionTime(this.DelayTimeEnable);
     this.mCondition2 = AIMoveBase.GetConditionTime(this.DelayTimeEnable + 100);
 }
Exemplo n.º 2
0
 protected override void ParabolaOver()
 {
     base.mTransform.rotation = Quaternion.identity;
     base.bMoveEnable         = false;
     base.BulletModelShow(false);
     this.fire.SetActive(true);
     this.BoxEnable(true);
     TweenSettingsExtensions.AppendCallback(TweenSettingsExtensions.AppendInterval(base.mSeqPool.Get(), base.m_Data.AliveTime - 0.4f), new TweenCallback(this, this.< ParabolaOver > m__0));
     base.mCondition = AIMoveBase.GetConditionTime(base.m_Data.AliveTime);
 }
Exemplo n.º 3
0
    protected override void OnInitBase()
    {
        this.target    = GameLogic.Self;
        this.findDelay = 0.4f;
        this.Find();
        this.findTime = Updater.AliveTime;
        this.AIMoveStart();
        ConditionBase conditionRandomTime = AIMoveBase.GetConditionRandomTime(this.min, this.max);

        base.ConditionUpdate = new Func <bool>(conditionRandomTime.IsEnd);
    }
Exemplo n.º 4
0
 protected override void OnInitBase()
 {
     this.SetHatred();
     if (this.CheckEnd())
     {
         base.End();
     }
     else
     {
         this.Move2Player();
         this.AIMoveStart();
         ConditionBase conditionRandomTime = AIMoveBase.GetConditionRandomTime(this.min, this.max);
         base.ConditionUpdate = new Func <bool>(conditionRandomTime.IsEnd);
     }
 }