private void Awake()
{
Instance = this;
}
public class SomeClass : MonoBehaviour
{
private bool _inited = false;
private void MyStart()
{
Transform someTransform = GameController.Instance.SomeTransform;
}
private void Update()
{
if (!_inited)
{
MyStart();
_inited = true;
}
}
}