Horje
how to change rotate with script unity Code Example
how to change rotate with script unity
var rotationVector = transform.rotation.eulerAngles;
rotationVector.z = 0;  //this number is the degree of rotation around Z Axis
transform.rotation = Quaternion.Euler(rotationVector);
//if you put this in a coroutine and yielding for some amount of time 
//you can have something like a rotating loading icon




Csharp

Related
pass parameter to thread c# Code Example pass parameter to thread c# Code Example
unity json save array Code Example unity json save array Code Example
c# random generator Code Example c# random generator Code Example
c# get distance Code Example c# get distance Code Example
c# socket bind to localhost Code Example c# socket bind to localhost Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12