Ejemplo n.º 1
0
        public static KickerAuthoring SetupGameObject(this Engine.VPT.Kicker.Kicker kicker, GameObject obj, RenderObjectGroup rog)
        {
            var ic = obj.AddComponent <KickerAuthoring>().SetItem(kicker);

            obj.AddComponent <ConvertToEntity>();
            return(ic as KickerAuthoring);
        }
Ejemplo n.º 2
0
 public SurfacePhysicsTests()
 {
     _table  = Engine.VPT.Table.Table.Load(VpxPath.Flipper);
     _kicker = _table.Kickers["BallRelease"];
 }
 public SurfacePhysicsTests()
 {
     _tc     = FileTableContainer.Load(VpxPath.Flipper);
     _kicker = _tc.Kicker("BallRelease");
 }