【发布时间】:2016-12-16 08:05:56
【问题描述】:
大家好,我是 Unity 脚本的新手,我无法解决这个问题,请有人帮助我
代码如下:
using UnityEngine;
using System.Collections;
public class testScript : MonoBehaviour
{
int i = 1;
// Use this for initialization
void Start()
{
for (i = 1; i > 6; i++)
{
Debug.Log("value of i = " + i);
}
Debug.Log("i'm out of the loop");
} //the problem is cs1513 c# expected unity here(21.line)
// Update is called once per frame
void Update()
{
}
我正在使用 Microsoft Visual Studio 的程序
提前致谢!!!
【问题讨论】: