Scriptable Objects in Unity

  • Create a script called CardView
  • Drag and drop the script into the Cards_panel
  • Inside the script, declare the following
  • Assign each one in the hierarchy
  • Create a script CardModel. This will be the model (template) for all the cards
  • Instead of MonoBehaviour, it will inherit from ScriptableObject

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Believe it or not: GitHub edition

Simplifying Breadth-First Search Algorithm

Bugs in Production — the Dirty Dozen!

Debug Laravel query with parameters

Recall How to Use UNIX/Linux Terminal Tools Using cheat.sh and tldr

A Linux terminal page fetching data from cheat.sh using curl

I ❤ Ember.js — Up and Running

Create a word guessing game in Python

Learning Python From Scratch: Functions

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hernando Nieto Jaramillo

Hernando Nieto Jaramillo

Unity developer

More from Medium

Unity For Beginners

Player Movement in Unity

Switch Statements To The Rescue!

Unity’s Tilemap System