示例#1
0
 /// <summary>
 /// Awake this instance.
 /// </summary>
 void Awake()
 {
     Distance = GetComponent<AllowableDistance>();
 }
 public void OnEnable()
 {
     myDistance = (AllowableDistance)target;
 }