Exemplo n.º 1
0
    void OnTrackableStatusInfoChanged(TrackableBehaviour.StatusInfoChangeResult statusInfoChangeResult)
    {
        m_PreviousStatusInfo = statusInfoChangeResult.PreviousStatusInfo;
        m_NewStatusInfo      = statusInfoChangeResult.NewStatusInfo;

        HandleTrackableStatusInfoChanged();
    }
    void OnTrackableStatusInfoChanged(TrackableBehaviour.StatusInfoChangeResult statusInfoChangeResult)
    {
        this.m_PreviousStatusInfo = statusInfoChangeResult.PreviousStatusInfo;
        this.m_NewStatusInfo      = statusInfoChangeResult.NewStatusInfo;

        Debug.LogFormat("Trackable {0} {1} -- {2}",
                        mTrackableBehaviour.TrackableName,
                        mTrackableBehaviour.CurrentStatus,
                        mTrackableBehaviour.CurrentStatusInfo);

        HandleTrackableStatusChanged();
    }