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