Example #1
0
 // Use this for initialization
 public void Start()
 {
     meshRenderer = GetComponent <MeshRenderer>();
     initialColor = meshRenderer.material.color;
     myRb         = GetComponent <Rigidbody>();
     strobe       = GetComponent <StrobeSelected>();
     starting_pos = transform.position;
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     myRb   = GetComponent <Rigidbody>();
     strobe = GetComponent <StrobeSelected>();
 }