Skip to content

Instantly share code, notes, and snippets.

View dangreene0's full-sized avatar
🤡
there are 1,000 gigglebytes in a ticklebyte.

dani dangreene0

🤡
there are 1,000 gigglebytes in a ticklebyte.
View GitHub Profile
@dangreene0
dangreene0 / ReadMe.md
Created February 17, 2024 16:26
Read Only Inspector Decorator

Read Only Inspector Decorator

Allows you to view data or GameObjects in the editor.

It's best practice to place it in it's folder, I.e. Utilities.

# Uses
[ReadOnlyInspector] public GameObject currentSoldier;
[ReadOnlyInspector] [SerializeField] MeshFilter currentModel, assembledModel;