// allows all non-static instances to access the same static instance public class NonStaticClass : MonoBehaviour { private static NonStaticClass staticInstance; }