public float GetRespawnProgress() { if (!this.m_GrownPlant) { return(0f); } AcreRespawnFruits component = this.m_GrownPlant.GetComponent <AcreRespawnFruits>(); if (!component) { return(0f); } return(component.GetRespawnProgress()); }