Unity Tutorial: Scriptable Objects (Unity Basics 2022)

Subscribers:
4,660
Published on ● Video Link: https://www.youtube.com/watch?v=rAqKaOcqJsY



Category:
Tutorial
Duration: 5:25
344 views
15


This video is a bit of a departure from some of my previous videos - I wanted to potentially start to cover some basics of game development of there is interest for it. Lemme know in the comments or the discord what you think!

Here are the example scripts covered within the video here:
----
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "GroupName", menuName = "ScriptableObjects/CreateIngredientGroup", order = 1)]
public class CreateIngredientGroup : ScriptableObject {
public string groupName;
public Sprite picture;
public Color groupTint;
}
---
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "IngredientName", menuName = "ScriptableObjects/CreateIngredient", order = 1)]
public class CreateIngredient : ScriptableObject {
public string ingredientName;
public double baseCost;
public Sprite picture;
public CreateIngredientGroup ingredient_Group;
public double appealValue;
public double currentCost;
}
----

https://linktr.ee/FrankTankGaming







Tags:
unity3d
beginner
unity
unity tutorial
unity tutorial for beginners
unity tutorials
game development
scriptable
scriptable objects
scriptable objects unity
unity3d tutorial
unity3d college
unity 3d game tutorial