Unity Tutorial: Scriptable Objects (Unity Basics 2022)

Pubblicato il: 15 luglio 2022
sul canale di: 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


In questa pagina del sito puoi guardare il video online Unity Tutorial: Scriptable Objects (Unity Basics 2022) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Frank The Tank 15 luglio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,287 volte e gli è piaciuto 28 spettatori. Buona visione!