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

The name 'Entities' does not exist in the current context

$
0
0
using System.Collections; using System.Collections.Generic; using UnityEngine; using Unity.Entities; public class AttributesGenerationSystem : ComponentSystem { private static EntityManager entityManager; [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] public static void Initialize() { entityManager = World.Active.GetOrCreateManager(); } protected override void OnUpdate() { Entities.ForEach(); } } I know I haven't entered parameters yet for Entities.ForEach(); — that’s not my issue. I get the error message; > "The name 'Entities' does not exist in> the current context" Am I doing something wrong here?

Viewing all articles
Browse latest Browse all 2891

Trending Articles



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