// Use this for initialization void Start() { Instance = this; if (camera == null) { camera = GameObject.Find("EngineCamera"); if (camera == null) { camera = Resources.Load("Prefabs/EngineCamera") as GameObject; } } }
// Use this for initialization void Start() { Instance = this; if (camera == null) { camera = GameObject.Find("EngineCamera"); if (camera == null) { camera = Resources.Load("Prefabs/EngineCamera") as GameObject; } } }