I want to be able to define a reference in the inspector, but only get that reference in the code—not set it.
I was thinking this would work
[SerializeField]
public SomeClass SomeClass { get; }
I've looked through other Unit Answers threads to no avail, probably due to my own lack of Google Fu. Thanks in advance.
↧