private void Awake() { parentPanel = GetComponentInParent <CreateCustomGamePanel>(); }
// Use this for initialization void Start() { createCustomGamePanel = GetComponentInParent <CreateCustomGamePanel>(); }