Unity logo
Cancel
장바구니
애플리케이션
Sell Assets

평점 만점의 리뷰가 11,000개 이상

8만 5천명 이상의 리뷰

10만명 이상의 포럼 멤버가 선호하는 에셋

유니티에서 모더레이팅하는 모든 에셋

도구
유틸리티
1/6
Reference and serialize Unity Objects with a specified interface
설명

Why?
SerializeReference from Unity already allows you to store plain structs and objects with the specified interface, but not Unity Objects. "Serialize References!" is here to solve this problem.

What does it do?
This is for the coders. Quickly serialize references to Unity Objects like MonoBehaviour, ScriptableObject and more, that implement the specified interface. It's super easy and works out-of-the-box with a custom object picker that filters your project and hierarchy in a smart way. You can pick between the class to serialize it or an attribute to decorate the field with the required validation. I'ts free, lightweight and open source. Give it a try!
How does it help me?
For one, you can finally use interfaces on your MonoBehaviours. Another big benefit is that it allows you to rethink how you architect your game: You can reference either a MonoBehaviour or Scriptable Object that implement the given interface. This allows you to either reference a scene component or a project asset, while still expecting a specified functionality/interface. This opens up new ways to think about code and project architecture.

Technical details

- Reference and serialize UnityEngine.Objects that implement a given interface

- Drag and drop in the inspector

- Inspector Validation

- Custom Object Selector that scans for interfaces in your project and scene

- Works with List<> and Array

Serialize Interfaces!

(25개)
124 users have favourite this asset
(124)
FREE
라이선스
파일 크기
31.0 KB
최신 버전
1.1.4
최신 릴리스 날짜
2022년 8월 16일
원본 Unity 버전
2020.1.17
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
언어
어필리에이트 프로그램
멤버십링크 생성기어필리에이트 ID
Feedback
파트너 프로그램
협력사
USD
EUR
Copyright © 2025 Unity Technologies
모든 가격은 부가가치세를 제외한 금액입니다.
USD
EUR