Inheritance: UnityEngine.MonoBehaviour
Example #1
0
 void OnValidate()
 {
     if (model == null)
     {
         model = GetComponent <SpineboyBeginnerModel>();
     }
 }
Example #2
0
 private void OnValidate()
 {
     if (this.model == null)
     {
         this.model = base.GetComponent <SpineboyBeginnerModel>();
     }
 }
		void OnValidate () {
			if (model == null)
				model = GetComponent<SpineboyBeginnerModel>();
		}