Hello. I have a class called Presets and it stores 4 GameObjects in an array. However, I’m not sure how to go about saving the position of each of GameObject. I attempted to write a for-loop but got a few errors. I’d appreciate it someone could point me in the right direction!
using UnityEngine;
[System.Serializable]
public class Presets
{
public string name;
public GameObject[] Prest = new GameObject[4];
}