Demo entry 5862231

py

   

Submitted by anonymous on Jul 27, 2016 at 19:41
Language: C#. Code size: 155 Bytes.

function Update () {
//模型x轴,移动一个单位
transform.Translate(1,0,0);
//模型y轴,移动一个单位
transform.Translate(0,1,0);
//模型z轴,移动一个单位
transform.Translate(0,0,1);
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).