Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to move the camera rotation in phone in c# by touch

void Awake() {
         target = GameObject.FindGameObjectWithTag("Player").transform;
     }
     void Update () {
         transform.position = target.position + offset;

     }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #move #camera #rotation #phone #touch
ADD COMMENT
Topic
Name
1+6 =