Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.36 KB | None | 0 0
  1.  private void OnTriggerStay2D(Collider2D collision)
  2.     {
  3.         if (collision.tag == "Cypher")
  4.         {
  5.             Debug.Log("I am by the cypher");
  6.             Vector3.SmoothDamp(SmoothFollow.Instance.cameraOffset, SmoothFollow.Instance.cameraOffset - new Vector3(0, 1, 0), ref _cameraSmoothDampVelocity, SmoothFollow.Instance.smoothDampTime);
  7.         }
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement