//private float m_range; // backup the range, because it will be set to 0 if off, and to this range if on void Start() { m_light = GetComponent <Light>(); m_lightOne = FlashLight.GetInstanceOne().GetComponent <Light>(); // m_range = m_light.range; // make a backup of the starting range // m_light.range = 0.0f; // set light range on start to 0.0f }