csharp 需要更多Unity5.6.0b4

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了csharp 需要更多Unity5.6.0b4相关的知识,希望对你有一定的参考价值。

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditor.SceneManagement;

[InitializeOnLoad]
public static class SceneEventCallback
{
    static SceneEventCallback ()
    {
        // 新規シーン作成時Callback
        EditorSceneManager.newSceneCreated += (scene, setup, mode) => {
            Debug.Log ("newSceneCreated : " + scene + " / " + setup + " / " + mode);
        };
        // Unload or Remove完了
        EditorSceneManager.sceneClosed += (scene) => {
            Debug.Log ("sceneClosed : " + scene);
        };
        // Unload or Remove中
        EditorSceneManager.sceneClosing += (scene, removingScene) => {
            Debug.Log ("sceneClosing : " + scene + " / " + removingScene);
        };
        // シーンを開いた
        EditorSceneManager.sceneOpened += (scene, mode) => {
            Debug.Log ("sceneOpened : " + scene + " / " + mode);
        };
        // シーンを開き中
        EditorSceneManager.sceneOpening += (path, mode) => {
            Debug.Log ("sceneOpening : " + path + " / " + mode);
        };
        // シーン保存完了
        EditorSceneManager.sceneSaved += (scene) => {
            Debug.Log ("sceneSaved : " + scene);
        };
        // シーン保存中
        EditorSceneManager.sceneSaving += (scene, path) => {
            Debug.Log ("sceneSaving : " + scene + " / " + path);
        };
    }
}

以上是关于csharp 需要更多Unity5.6.0b4的主要内容,如果未能解决你的问题,请参考以下文章

csharp 536E8763-3198-483B-8EDE-991EB783B4C2

csharp F62D97C1-E7CD-4E09-AA84-D3DCC7525B4F

csharp 更多信息请查看更多信息

csharp 更多信息,请访问

AppLovin接入笔记

使用新的 Unity VideoPlayer 和 VideoClip API 播放视频