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