private void Start()
 {
     if (Application.isPlaying)
     {
         TriggerZone component = base.GetComponent <TriggerZone>();
         if (component)
         {
             this.m_RangeMultiplier = Mathf.Max(1f, component.rangeMultiplier);
         }
     }
 }
Ejemplo n.º 2
0
        private void Start()
        {
            if (!Application.get_isPlaying())
            {
                return;
            }
            TriggerZone component = (TriggerZone)((Component)this).GetComponent <TriggerZone>();

            if (!Object.op_Implicit((Object)component))
            {
                return;
            }
            this.m_RangeMultiplier = Mathf.Max(1f, component.rangeMultiplier);
        }