private void Start() { sc_lampM = GetComponent <LampM>(); sc_lampC = GetComponent <LampC>(); }
private void Start() { sc_lampM = lamp.gameObject.GetComponent <LampM>(); }
// Start is called before the first frame update void Start() { sc_lampM = GetComponent <LampM>(); }