Skip to content

Instantly share code, notes, and snippets.

@NullEntity
Created January 17, 2015 05:27
Show Gist options
  • Save NullEntity/c828fbf6efe4f5825307 to your computer and use it in GitHub Desktop.
Save NullEntity/c828fbf6efe4f5825307 to your computer and use it in GitHub Desktop.
// basic class to hold a publicly accessible GameObject
using UnityEngine;
public class GameManager : MonoBehaviour
{
private GameObject _manager; // static properties can't be modified from the editor
public GameObject manager;
void Start()
{
manager = _manager;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment