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