Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

show private fields in inspecotr unity

// You Can as well do this with "ScrpitableObject"s
public class MyClass : MonoBehaviour { 
	// Make sure that your field type is actually displayable on the inspector
	[SerializeField] var myPrivateField  
{
 
PREVIOUS NEXT
Tagged: #show #private #fields #inspecotr #unity
ADD COMMENT
Topic
Name
3+9 =