Ejemplo n.º 1
0
    protected override void OnCreate()
    {
        // Create input
        tankControls = new TanksControls();
        tankControls.InGame.SetCallbacks(this);

        // Query
        playersQuery = GetEntityQuery(new EntityQueryDesc
        {
            All = new[] { ComponentType.ReadOnly <TankPlayer>() }
        });
    }
Ejemplo n.º 2
0
 public UIActions(TanksControls wrapper)
 {
     m_Wrapper = wrapper;
 }
Ejemplo n.º 3
0
 public InGameActions(TanksControls wrapper)
 {
     m_Wrapper = wrapper;
 }