コード例 #1
0
        #pragma warning restore 0414

        void Start()
        {
            DontDestroyOnLoad(gameObject);
            Application.targetFrameRate = 60;

            PSVitaVideoPlayer.TransferMemToMonoHeap();

            #if !UNITY_EDITOR
            Main.OnNPInitialized += OnInitializedNP;
            Main.Initialize(Main.kNpToolkitCreate_DoNotInitializeTrophies | Main.kNpToolkitCreate_NoRanking);
            Main.RegisterCommsID(NpServiceType.Trophy, npCommunicationID, npCommunicationPassphrase, npCommunicationSignature);

            StartSaveLoad();
            StartTrophy();
            StartDialog();
            #endif
        }