Unity Tutorial: Scriptable Objects (Unity Basics 2022)

Publié le: 15 juillet 2022
sur la chaîne: Frank The Tank
1,287
28

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Unity Tutorial: Scriptable Objects (Unity Basics 2022) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Frank The Tank 15 juillet 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,287 fois et il a aimé 28 téléspectateurs. Bon visionnage!