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); }
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"); }