コード例 #1
0
    // Update is called once per frame
    void Update()
    {
        float dAngle = Time.deltaTime * rotationSpeed;

        this.transform.rotation = this.transform.rotation * Quaternion.AngleAxis(dAngle, SG_Util.GetAxis(this.moveAround));
    }