static void LogSelectedGameObjectInfo() { var go = Selection.activeGameObject; if (go == null) { Debug.Log("Please select a GameObject"); return; } GameObjectTypeLogging.LogStageInformation(go); }
static public void PrintPrefabInfo() { var go = Selection.activeGameObject; if (go == null) { Debug.Log("Please select a GameObject"); return; } GameObjectTypeLogging.LogPrefabInformation(go); }
private void Awake() { Debug.Log("Awake"); GameObjectTypeLogging.LogStageInformation(gameObject); //GameObjectTypeLogging.LogPrefabInfo(gameObject); }
private void OnValidate() { Debug.Log("OnValidate"); GameObjectTypeLogging.LogStageInformation(gameObject); //GameObjectTypeLogging.LogPrefabInfo(gameObject); }