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