FixedJointInspector.cs 770 B

1234567891011121314151617181920212223242526
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. using bs;
  4. namespace bs.Editor
  5. {
  6. /** @addtogroup Inspectors
  7. * @{
  8. */
  9. /// <summary>
  10. /// Renders an inspector for the <see cref="FixedJoint"/> component.
  11. /// </summary>
  12. [CustomInspector(typeof(FixedJoint))]
  13. internal class FixedJointInspector : JointInspector
  14. {
  15. /// <inheritdoc/>
  16. protected internal override void Initialize()
  17. {
  18. FixedJoint joint = (FixedJoint) InspectedObject;
  19. BuildGUI(joint, false);
  20. }
  21. }
  22. /** @} */
  23. }