コード例 #1
0
    static void LogSelectedGameObjectInfo()
    {
        var go = Selection.activeGameObject;

        if (go == null)
        {
            Debug.Log("Please select a GameObject");
            return;
        }

        GameObjectTypeLogging.LogStageInformation(go);
    }
コード例 #2
0
ファイル: PrefabInfo.cs プロジェクト: jeffhong21/ProjectBANG
    static public void PrintPrefabInfo()
    {
        var go = Selection.activeGameObject;

        if (go == null)
        {
            Debug.Log("Please select a GameObject");
            return;
        }

        GameObjectTypeLogging.LogPrefabInformation(go);
    }
コード例 #3
0
 private void Awake()
 {
     Debug.Log("Awake");
     GameObjectTypeLogging.LogStageInformation(gameObject);
     //GameObjectTypeLogging.LogPrefabInfo(gameObject);
 }
コード例 #4
0
 private void OnValidate()
 {
     Debug.Log("OnValidate");
     GameObjectTypeLogging.LogStageInformation(gameObject);
     //GameObjectTypeLogging.LogPrefabInfo(gameObject);
 }