Assets / Resources / Game / Game.cs(15,53):错误CS0234:类型或命名空间名称Load' does not exist in the namespace
资源'。你错过了装配参考吗?
using UnityEngine;
using System.Collections;
using InControl;
public class Game : MonoBehaviour {
private float _originalTimeScale;
private float _slowMoTimeScale; //slow motion time scale
private float _fastMoTimeScale; //fast motion time scale
private float factor = 4f; //factor to increase or decrease the timescale by
// Use this for initialization
void Start () {
GameObject playerPreFab = Resources.Load("Ethan", GameObject);
...
答案 0 :(得分:1)
您缺少一些Resources.Load语法。它应该是:
memory_limit
在你的情况下。