Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void OnTriggerStay2D(Collider2D collision)
- {
- if (collision.tag == "Cypher")
- {
- Debug.Log("I am by the cypher");
- Vector3.SmoothDamp(SmoothFollow.Instance.cameraOffset, SmoothFollow.Instance.cameraOffset - new Vector3(0, 1, 0), ref _cameraSmoothDampVelocity, SmoothFollow.Instance.smoothDampTime);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement