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

Can you please help me with these errors,Can you please help me with these error codes,Can you please help me with my code and 5 error codes

$
0
0
Hi, can I have a hand with this script i'm new to coding and I'm trying to make a game for my Gaming class but I have error codes such as; Assertion failed: Assertion failed on expression; 'm_CurrentEntriesPtr != NULL && m_IsGettingEntries' (I got that three times). And I got another error code of; Assets/Enemy's/Script/EnemyBasicAI.cs(29,9): Error CS1002; expected And this is my code; using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyAIScriptMovment : MonoBehaviour { public GameObject Enemy; public GameObject Player; public float Speed; // Update is called once per frame void Update() { transform.postion = Vector3.MoveTowards(transform.position, Player.transform.postion * Speed * Time.deltaTime); } void OnTriggerEnter(Collider Coll) { if (Coll.gameObject.tag == "Looking") { Speed = 0f; } } void OnTriggerExit(Collider Coll) { if (Coll.gameObject.tag == "Looking") { Speed = 5f } } } If you could please help me that would be super helpful and sorry for the messy setup. Thanks again :)

Viewing all articles
Browse latest Browse all 2891

Trending Articles