Exemplo n.º 1
0
        protected override void OnCreate()
        {
            base.OnCreate();

            updateSystem = World.GetExistingSystem <ComponentUpdateSystem>();
            workerSystem = World.GetExistingSystem <WorkerSystem>();

            ColorTranslationUtil.PopulateMaterialPropertyBlockMap(out materialPropertyBlocks);
        }
 protected override void OnCreateManager(int capacity)
 {
     base.OnCreateManager(capacity);
     ColorTranslationUtil.PopulateMaterialPropertyBlockMap(out materialPropertyBlocks);
 }