Compare commits
2 Commits
5e894f79e4
...
5920e63d0c
Author | SHA1 | Date | |
---|---|---|---|
|
5920e63d0c | ||
|
9a2335542d |
16
Assets/Scriptables/HeroClass.asset
generated
Normal file
16
Assets/Scriptables/HeroClass.asset
generated
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: b153bf1124e797a4ca8a1c4acd0e787d, type: 3}
|
||||||
|
m_Name: HeroClass
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
Name:
|
||||||
|
Help:
|
8
Assets/Scriptables/HeroClass.asset.meta
generated
Normal file
8
Assets/Scriptables/HeroClass.asset.meta
generated
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b690599e540c0c442ad13de1827e7cd6
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
8
Assets/Scripts/HeroClassSO.cs
Normal file
8
Assets/Scripts/HeroClassSO.cs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
[CreateAssetMenu(fileName = "HeroClass", menuName = "Hero Class")]
|
||||||
|
public class HeroClassSO : ScriptableObject
|
||||||
|
{
|
||||||
|
[SerializeField] private string Name;
|
||||||
|
[SerializeField] private string Help;
|
||||||
|
}
|
11
Assets/Scripts/HeroClassSO.cs.meta
generated
Normal file
11
Assets/Scripts/HeroClassSO.cs.meta
generated
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b153bf1124e797a4ca8a1c4acd0e787d
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
16
Assets/Scripts/Heroism.cs
Normal file
16
Assets/Scripts/Heroism.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Component that makes a duder a duder.
|
||||||
|
/// Manages class, skills, level, attrs, and AI.
|
||||||
|
/// </summary>
|
||||||
|
public class Heroism : MonoBehaviour
|
||||||
|
{
|
||||||
|
[SerializeField] private string Name;
|
||||||
|
[SerializeField] private HeroClassSO Class;
|
||||||
|
[SerializeField] private long Level;
|
||||||
|
[SerializeField] private long XP;
|
||||||
|
[SerializeField] private HeroAttributesSO Attrs;
|
||||||
|
}
|
11
Assets/Scripts/Heroism.cs.meta
generated
Normal file
11
Assets/Scripts/Heroism.cs.meta
generated
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 583304b24f3e6394f9e4d49747e22193
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Loading…
Reference in New Issue
Block a user