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] }; }
public void OnEnable() { m_Target = target as MobileSurfaceView; var fields = CoherentExposeProperties.GetProperties(m_Target); var index = (int)CoherentExposePropertyInfo.FoldoutType.General; var renderingIndex = (int)CoherentExposePropertyInfo.FoldoutType.Rendering; m_Fields = new CoherentFoldout[] { fields[index], fields[renderingIndex] }; }
void Start () { m_View = GetComponent<MobileSurfaceView>(); }
void Start() { m_View = GetComponent <MobileSurfaceView>(); }