public static void PushBackground(UIBackgroundController controller) { if (navigationController != null) { navigationController.pushBackground(controller); } }
void Start() { mStarted = true; if (navigationController == null) { navigationController = UINavigationController.navigationController; } if (backgroundControllerInstance == null) { backgroundControllerInstance = gameObject.GetComponent <UIBackgroundController>(); } }
void Start() { mStarted = true; if (navigationController == null) { navigationController = UINavigationController.navigationController; } if (backgroundInstance == null) { backgroundInstance = this.gameObject.GetComponent<UIBackgroundController>(); } }