My Text Area is not size of (10,14)

Hello,
After following lecture 23 where it talked about Scriptable Object, I was creating a Text Area to add text in the inspecdtor panel.

//state.cs

[CreateAssetMenu(menuName = "State")]
public class states : ScriptableObject {

  [TextArea(14,10)][SerializeField] string storyText;
}

However my TextArea remains the same:
state

There are not compile error. I have tried restarting Unity.
Possible cause is that I am using the latest version of Unity: 2018.1.1f1

I deleted the C# file. Recreated it. Restart Udemy. I must have made some parsing syntax and that compiler missed it.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.