using System;
using UnityEngine;

// Token: 0x020000E9 RID: 233
public class meanPos : MonoBehaviour
{
	// Token: 0x0600151A RID: 5402 RVA: 0x00197764 File Offset: 0x00195964
	private void Update()
	{
		this.posSum = Vector3.zero;
		foreach (GameObject gameObject in this.objects)
		{
			this.posSum += gameObject.transform.position;
		}
		base.transform.position = this.posSum / (float)this.objects.Length;
	}

	// Token: 0x040024F9 RID: 9465
	public GameObject[] objects;

	// Token: 0x040024FA RID: 9466
	private Vector3 posSum;
}
