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

I need help with a code (Error code/message)

$
0
0
Hello i need your help. Do you know how can i fix this error: Video(please watch the video, i show the error.): https://www.youtube.com/watch?v=JY2WbA-rm78 Here are the code: UnityEngineInternal.APIUpdaterRuntimeServices.AddComponent (obj, "Assets/RoyalDio/Scripts/GamePlay/Quest/Base/PlayerQuestManager.cs (46,5)", questList [i]); I hope you can help me. Thanks in advance Florian And here are the full codes: /// /// Quest manager. Add into Player Character this class Contain a Quest management function such as AddQuest , RemoveQuest , Checking or etc.. /// using UnityEngine; using System.Collections; using System.Collections.Generic; public class PlayerQuestManager : MonoBehaviour { public GUISkin skin; public GameObject TextFloating; public List Quests = new List (); public PlayerManager Player; void Start () { StyleManager StyleManage = (StyleManager)GameObject.FindObjectOfType (typeof(StyleManager)); if (StyleManage) { skin = StyleManage.GetSkin (0); } } public void SaveQuests (string name) { string quest_list = ""; for (int i=0; i()); } } for (int i=0; i ().Text = text; } } void OnGUI () { if (skin) GUI.skin = skin; } public void DrawQuestList () { if (Quests.Count > 0) { GUI.skin.label.fontSize = 16; GUI.skin.label.normal.textColor = Color.white; GUI.skin.label.alignment = TextAnchor.UpperRight; GUI.Label (new Rect (Screen.width - 350, 110, 300, 30), "Quests"); } for (int i=0; i

Viewing all articles
Browse latest Browse all 2891

Trending Articles



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