Answers for "difference between public and serializefield unity"

C#
3

difference between public and serializefield unity

•Serialisable fields show up in the inspector. 

Here are the four different possible combinations:

public 				//Show up in inspector and accessible by other scripts
[SerialiseField] 	//Show up in inspector, not accessible by other scripts
[HideInInspector]	//Doesn't show in inspector, accessible by other scripts
private  			//Doesn't show in inspector, not accessible by other scripts
Posted by: Guest on February-13-2021

Code answers related to "difference between public and serializefield unity"

C# Answers by Framework

Browse Popular Code Answers by Language