コード例 #1
0
 // Token: 0x060030AA RID: 12458 RVA: 0x000D19C8 File Offset: 0x000CFBC8
 public override void FixedUpdate()
 {
     base.FixedUpdate();
     if (base.isAuthority)
     {
         EntityState entityState = null;
         if (!base.projectileStickOnImpact.stuck)
         {
             entityState = new WaitForStick();
         }
         else if (base.projectileTargetComponent.target)
         {
             if (this.duration <= base.fixedAge)
             {
                 this.FindBetterTarget(base.projectileTargetComponent.target);
                 entityState = new ChaseTarget();
             }
         }
         else
         {
             entityState = new Burrow();
         }
         if (entityState != null)
         {
             this.outer.SetNextState(entityState);
         }
     }
 }
コード例 #2
0
 // Token: 0x060030A5 RID: 12453 RVA: 0x000D190C File Offset: 0x000CFB0C
 public override void FixedUpdate()
 {
     base.FixedUpdate();
     if (base.isAuthority)
     {
         EntityState entityState = null;
         if (!base.projectileStickOnImpact.stuck)
         {
             entityState = new WaitForStick();
         }
         else if (base.projectileTargetComponent.target)
         {
             entityState = new Unburrow();
         }
         if (entityState != null)
         {
             this.outer.SetNextState(entityState);
         }
     }
 }