Exemple #1
0
    void Init()
    {
        string     strPrefab = "Common/Prefab/ScreenShot/UIScreenShotController";
        GameObject obj       = PrefabCache.main.Load(strPrefab);

        uiPrefab = obj.GetComponent <UIScreenShotController>();
    }
Exemple #2
0
    void Init()
    {
        int v = Common.Bool2Int(false);

        PlayerPrefs.SetInt(AppVersion.STRING_KEY_APP_CHECK_FINISHED, v);
        AppCommon.USER_COMMENT_DAY_STEP = 100000;

        string     strPrefab = "Common/Prefab/ScreenShot/UIScreenShotController";
        GameObject obj       = PrefabCache.main.Load(strPrefab);

        uiPrefab = obj.GetComponent <UIScreenShotController>();
    }
Exemple #3
0
 public void CreateUI()
 {
     ui = (UIScreenShotController)GameObject.Instantiate(uiPrefab);
     ui.SetController(this);
     ViewControllerManager.ClonePrefabRectTransform(uiPrefab.gameObject, ui.gameObject);
 }