예제 #1
0
 public override void tick()
 {
     if (Time.realtimeSinceStartup - this.startedUse > Viewmodel.model.animation["use"].length && !this.done)
     {
         this.done = true;
         if (this.target != null)
         {
             InteractionInterface.sendFertilize(this.target.transform.parent.position);
         }
         Equipment.use();
     }
 }