Last active
June 13, 2024 17:32
-
-
Save ctzcs/0ba948b0e53aa41fe1c87796a401660b to your computer and use it in GitHub Desktop.
DragonEcs Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class $COMPONENT$Template:ComponentTemplate<$COMPONENT$>{} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DCFApixels.DragonECS; | |
namespace $NAMESPACE$ | |
{ | |
public class $ASPECT$:EcsAspect | |
{ | |
$END$ | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DCFApixels.DragonECS; | |
namespace $NAMESPACE$ | |
{ | |
public struct $ECSCOMPONENT$ :IEcsComponent | |
{ | |
$END$ | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DCFApixels.DragonECS; | |
namespace $NAMESPACE$ | |
{ | |
class $ECSMODULE$:IEcsModule | |
{ | |
public void Import(EcsPipeline.Builder b) | |
{ | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DCFApixels.DragonECS; | |
namespace $NAMESPACE$ | |
{ | |
public class $ECSSYSTEM$:IEcsRun | |
{ | |
[EcsInject]EcsDefaultWorld _world; | |
public void Run() | |
{ | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DCFApixels.DragonECS; | |
namespace $NAMESPACE$ | |
{ | |
public struct $ECSTAGCOMPONENT$ :DCFApixels.DragonECS.IEcsTagComponent{} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class $COMPONENTTAG$Template:TagComponentTemplate<$COMPONENTTAG$>{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment