Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Update()
- {
- gameObject.transform.localScale = vp1;
- if (checkers == true)
- {
- vp1 = Vector3.Lerp(new Vector3(0.0f, 0.0f, 0.0f), new Vector3(0.0172f, 0.0172f, 0.0172f), 0.1f);
- }
- else
- {
- vp1 = Vector3.Lerp(new Vector3(0.0172f, 0.0172f, 0.0172f), new Vector3(0.0f, 0.0f, 0.0f), 0.1f);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement