Example #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"));
 }
Example #3
0
 protected override bool IsApplicable(IMetadataTypeLite type, IPresentationOptions options,
                                      IUserDataHolder dataHolder)
 {
     return(type.Is("UnityEngine.GameObject"));
 }
Example #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"));
 }
Example #5
0
 protected override bool IsApplicable(IObjectValueRole <TValue> role, IMetadataTypeLite type,
                                      IPresentationOptions options, IUserDataHolder dataHolder)
 {
     return(myUnityOptions.ExtensionsEnabled && type.Is("UnityEditor.SerializedObject"));
 }