예제 #1
0
    void Start()
    {
        GameObject           parentGameObject = gameObject.transform.parent != null ? gameObject.transform.parent.gameObject : null;
        ReViewDebugComponent parent           = parentGameObject != null?parentGameObject.GetComponent <ReViewDebugComponent>() : null;

        ReViewDebugObject = new ReViewDebugObject(parent != null ? parent.ReViewDebugObject : null, name, ReViewDebugObject.EDebugType.Track);

        ReViewDebugObject.Log("Added debug component " + name + " for gameobject " + gameObject.name);
    }
예제 #2
0
 public ReViewDebugObject(ReViewDebugObject inParentDebugObject, string inDebugName, EDebugType inType) : base(inParentDebugObject, inDebugName, ReViewManager.Now, inType)
 {
 }