Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

error cs0101

$
0
0
so i'm working on a game but i have this error with the respawn scripts, i have the script kill player for the death zone: `using UnityEngine; using System.Collections; public class LevelManager : MonoBehaviour { public LevelManager levelManager; // Use this for initialization void Start () { levelManager = FindObjectsOfType (); } // Update is called once per frame void Update () { } void OnTriggerEnter2D(Collider2D other) { if (other.name == "Player") { levelManager.RespawnPlayer (); } } }` and i have level manager: `using UnityEngine; using System.Collections; public class LevelManager : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void RespawnPlayer() { Debug.Log ("Player Respawn"); } }` so i don't known anything of c#, just very basic batch file, i'm learning

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>