Ejemplo n.º 1
0
 public override bool IsApplicable(IObjectValueRole <TValue> valueRole,
                                   IMetadataTypeLite instanceType,
                                   IPresentationOptions options,
                                   IUserDataHolder dataHolder)
 {
     return(myUnityOptions.ExtensionsEnabled && instanceType.Is("UnityEditor.SerializedProperty"));
 }
 protected override bool IsApplicable(IMetadataTypeLite type, IPresentationOptions options,
                                      IUserDataHolder dataHolder)
 {
     // Check debugger type proxy settings to avoid recursion while rendering Raw View. See GetChildren
     return(myUnityOptions.ExtensionsEnabled &&
            options.EvaluateDebuggerTypeProxy &&
            type.Is("UnityEditor.SerializedProperty"));
 }
Ejemplo n.º 3
0
 protected override bool IsApplicable(IMetadataTypeLite type, IPresentationOptions options,
                                      IUserDataHolder dataHolder)
 {
     return(type.Is("UnityEngine.GameObject"));
 }
Ejemplo n.º 4
0
 protected override bool IsApplicable(IMetadataTypeLite type, IPresentationOptions options,
                                      IUserDataHolder dataHolder)
 {
     // UnityEngine.SceneManagement.Scene was introduced in Unity 5.3
     return(type.Is("UnityEngine.SceneManagement.Scene"));
 }
Ejemplo n.º 5
0
 protected override bool IsApplicable(IObjectValueRole <TValue> role, IMetadataTypeLite type,
                                      IPresentationOptions options, IUserDataHolder dataHolder)
 {
     return(myUnityOptions.ExtensionsEnabled && type.Is("UnityEditor.SerializedObject"));
 }