コード例 #1
0
#pragma warning restore 0169

        protected override void OnUpdate()
        {
            PlayerSystem.Sync();
            var            spawner = ECSSightManager.GetSightSpawnDataQueue();
            SightSpawnData data;

            while (spawner.TryDequeue(out data))
            {
                ECSSightManager.spawn(PostUpdateCommands,
                                      Time.GetCurrent(),
                                      ref data);
            }
        }