Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEditor;
- using UnityEngine;
- namespace Game.Utilities
- {
- public class PropertyLineDrawer : IRectLineDrawer
- {
- private readonly SerializedProperty _property;
- public PropertyLineDrawer(SerializedProperty property) =>
- _property = property;
- public void Draw(Rect position) =>
- EditorGUI.PropertyField(position, _property);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement