// Use this for initialization void Start() { pool = GetComponent("poolScript") as poolScript; main = transform.Find("/gameMain").GetComponent("gameMainScript") as gameMainScript; }
// Use this for initialization void Awake() { instance = this; }