rotation around own axis in unity
transform.RotateAround(transform.position, transform.up, Time.deltaTime * 90f);
Are there any code examples left?
New code examples in category C#
transform.RotateAround(transform.position, transform.up, Time.deltaTime * 90f);