コード例 #1
0
    public void OnEnable()
    {
        m_Target = target as MobileSurfaceView;
        var fields = CoherentExposeProperties.GetProperties(m_Target);
        var index  = (int)CoherentExposePropertyInfo.FoldoutType.General;

        m_Fields = new CoherentFoldout[] { fields[index] };
    }
コード例 #2
0
 public void OnEnable()
 {
     m_Target = target as CoherentUIView;
     m_Fields = CoherentExposeProperties.GetProperties(m_Target);
 }