// Token: 0x06000765 RID: 1893 RVA: 0x00031748 File Offset: 0x0002FB48
 private void Update()
 {
     if (this.d > 0f)
     {
         this.d -= Time.deltaTime;
         if (this.d <= 0f)
         {
             base.GetComponent <ParticleSystem>().Stop(true);
             CFX3_Demo_Translate component = base.gameObject.GetComponent <CFX3_Demo_Translate>();
             if (component != null)
             {
                 component.enabled = false;
             }
         }
     }
 }
示例#2
0
    private void Update()
    {
        if (d > 0)
        {
            d -= Time.deltaTime;
            if (d <= 0)
            {
                this.GetComponent <ParticleSystem>().Stop(true);

                CFX3_Demo_Translate translation = this.gameObject.GetComponent <CFX3_Demo_Translate>();
                if (translation != null)
                {
                    translation.enabled = false;
                }
            }
        }
    }