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
// Managed IComponent | |
public class InputActionSingleton : IComponentData | |
{ | |
// InputSystem actions asset wrapper which is auto generated by the asset. | |
// Has accessors for your Actions created in the asset. | |
public InputActions InputActions; | |
public InputActionSingleton() | |
{ | |
InputActions = new InputActions(); |
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
public class TilemapData : IComponentData | |
{ | |
public Grid Grid; | |
public Tilemap CollisionMap; | |
} | |
public struct TilemapData_TAG : IComponentData {} |
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
// CollisionResponse option on PhysicsShape must be set to CollideRaiseCollisionEvents. | |
[UpdateInGroup(typeof(PhysicsSystemGroup))] | |
[UpdateAfter(typeof(PhysicsSimulationGroup))] | |
public partial struct CalculateDetailsTest_PhysicsEventSystem : ISystem | |
{ | |
[BurstCompile] | |
public void OnCreate(ref SystemState state) | |
{ |