title: I've an List<Transform> but i cannot access from another class. What can i do?
body: <p><strong>On RevisedBasicProject4</strong></p>
  <pre><code>public class RevisedBasicProject4 : MonoBehaviour
  {
      public List&lt;Transform&gt; locationsOfObjects4 = new List&lt;Transform&gt;();
  
      private void Start()
      {
          Objects4 = GetComponentsInChildren&lt;Transform&gt;();
          foreach (var component in Objects4)
          {
              var item = (Transform) component;
              locationsOfObjects4.Add(item); 
          }
          Debug.Log(locationsOfObjects4.Count) //when i debug here,i can see results.
      }
  
  
  }
  </code></pre>
  <p><strong>On RevisedBasicProject</strong></p>
  <pre><code>public class RevisedBasicProject : MonoBehaviour
  {
      private void Start()
      {
          RevisedBasicProject4 revisedBasicProject4 = FindObjectOfType&lt;RevisedBasicProject4&gt;();
          Debug.Log(revisedBasicProject4.locationsOfObjects4.Count); 
          //When i debug here i cannot see results
      }
  </code></pre>
  <p>Is &quot;FindObjectOfType&quot; wrong way? why i cannot access it? Thank you for your time.</p>