Initial commit
This commit is contained in:
17
Assets/Darkmatter/Code/Core/Data/Player/PlayerConfigSO.asset
Normal file
17
Assets/Darkmatter/Code/Core/Data/Player/PlayerConfigSO.asset
Normal file
@@ -0,0 +1,17 @@
|
||||
%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: d868e8202f5ceae4ea496e56b0db9db9, type: 3}
|
||||
m_Name: PlayerConfigSO
|
||||
m_EditorClassIdentifier: CoreAssembly::Darkmatter.Core.PlayerConfigSO
|
||||
moveSpeed: 3
|
||||
jumpForce: 5
|
||||
gravity: -15
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 893990031b7e34e48aec7db96883252f
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
12
Assets/Darkmatter/Code/Core/Data/Player/PlayerConfigSO.cs
Normal file
12
Assets/Darkmatter/Code/Core/Data/Player/PlayerConfigSO.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
[CreateAssetMenu(fileName = "PlayerConfigSO", menuName = "Scriptable Objects/PlayerConfigSO")]
|
||||
public class PlayerConfigSO : ScriptableObject
|
||||
{
|
||||
public float moveSpeed = 3.0f;
|
||||
public float jumpForce = 5f;
|
||||
public float gravity = -15f;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d868e8202f5ceae4ea496e56b0db9db9
|
||||
Reference in New Issue
Block a user