Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #108 from techno-dwarf-works/dev
Browse files Browse the repository at this point in the history
Update package.json
  • Loading branch information
uurha committed Oct 29, 2023
1 parent be0a2d0 commit 1dd8957
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 6 deletions.
28 changes: 24 additions & 4 deletions Samples~/TestSamples/GameObject.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 555756582366403430}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 8935705341680817118}
m_Father: {fileID: 5598361179495029344}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7944178353653924181
MeshFilter:
Expand Down Expand Up @@ -93,9 +93,17 @@ SphereCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 555756582366403430}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 2
serializedVersion: 3
m_Radius: 0.5
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &4405220283297563198
Expand Down Expand Up @@ -124,13 +132,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4405220283297563198}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.691, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7814980256891172290}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &1881000121590094634
MeshFilter:
Expand Down Expand Up @@ -190,8 +198,17 @@ CapsuleCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4405220283297563198}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5
m_Height: 2
m_Direction: 1
Expand Down Expand Up @@ -220,14 +237,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7367716999704132187}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 80, y: 10, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7814980256891172290}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &5304563666400500102
MonoBehaviour:
Expand All @@ -241,3 +258,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 48e1bdd289dc4c29bb25138e2231ffe7, type: 3}
m_Name:
m_EditorClassIdentifier:
sprite: {fileID: 0}
pos: {x: 0, y: 0, z: 0}
rot: {x: 0, y: 0, z: 0, w: 1}
13 changes: 13 additions & 0 deletions Samples~/TestSamples/Scripts/TestInherit.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using System.Collections.Generic;
using Better.Attributes.Runtime.Select;
using Samples.Interfaces;
using UnityEngine;

namespace Samples
{
public class TestInherit : MonoBehaviour
{
[Select(typeof(ISomeInterface))] [SerializeReference]
private List<ISomeInterface> testICollection;
}
}
3 changes: 3 additions & 0 deletions Samples~/TestSamples/Scripts/TestInherit.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Samples~/TestSamples/Scripts/TestInherit1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace Samples
{
public class TestInherit1 : TestInherit
{

}
}
3 changes: 3 additions & 0 deletions Samples~/TestSamples/Scripts/TestInherit1.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "com.uurha.betterattributes",
"displayName": "Better Attributes",
"version": "2.1.44",
"version": "2.1.45",
"unity": "2020.1",
"description": "Unity attributes, allows to serialize interfaces, draw handles for Vector3/Vector2/Quaternion/Bounds, create read only fields.",
"dependencies": {
"com.uurha.bettereditortools" : "1.0.65"
"com.uurha.bettereditortools" : "1.0.67"
},
"author": {
"name": "Better Plugins",
Expand Down

0 comments on commit 1dd8957

Please sign in to comment.