using System; using UnityEngine; // ReSharper disable once CheckNamespace namespace BlueWaterProject { public class Table : MonoBehaviour { public Seat[] SeatPoints; private void Awake() { SeatPoints = transform.Find("SeatPoints").GetComponentsInChildren(); } } }