public virtual void DrawObjectFunctionsContent(ICECreatureLadder _target) { //_target.AttachedCollider = (Collider)EditorGUILayout.ObjectField( "Collider", _target.AttachedCollider, typeof(Collider), true ); _target.ClimbingOffset = ICEEditorLayout.Vector3Field("", "", _target.ClimbingOffset); AddComponentButton <BoxCollider>(_target.gameObject, "Box Collider", ""); }
public override void OnInspectorGUI() { ICECreatureLadder _target = DrawEntityHeader <ICECreatureLadder>(); DrawObjectFunctionsContent(_target); DrawFooter(_target); }