Skip to content

Instantly share code, notes, and snippets.

View bddckr's full-sized avatar

Christopher-Marcel Esser bddckr

View GitHub Profile
@bddckr
bddckr / CleanUpGameObjectSystem.cs
Last active July 14, 2021 07:55
A small example on how to use the same kind of system for multiple contexts in Entitas 0.37.0(+) while making usage of a shared component.
using System.Collections.Generic;
using Components.GameObjects;
using Components.Miscellaneous;
using Entitas;
using Entitas.Unity.VisualDebugging;
using EntitasHelpers;
using JetBrains.Annotations;
public sealed class CleanUpGameObjectSystem<TEntity> : ReactiveSystem<TEntity> where TEntity : class, IEntity, new()
{

Using VRTK as a submodule works just fine! Steps:

Set up symlinks for git on Windows:

To allow symlinks you need to use Windows Vista or later, have admin rights or a specific privilege and use NTFS: https://github.com/git-for-windows/git/wiki/Symbolic-Links Install the latest git via https://git-scm.com/downloads and make sure to use the installer. Make sure to at least use "Use Git from the Windows Command Prompt" and at the last step make sure to tick the checkbox "Enable symbolic links".