Assemblied created

This commit is contained in:
2023-06-02 00:30:58 -04:00
parent 3e1b55b036
commit 63039dbde2
99 changed files with 8302 additions and 1065 deletions

View File

@ -0,0 +1,25 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace Scriptable
{
[CreateAssetMenu(fileName = "GameSettings", menuName = "ScriptableObjects/GameSetting", order = 1)]
public class GameSettings : ScriptableObject
{
private float sensitivity;
private float volume;
public float Sensitivity { get { return this.sensitivity; } set {
OnValueChange.Invoke(SettingModification.Sensitivity,sensitivity);
} }
public float Volume { get { return this.volume; } set
{
OnValueChange.Invoke(SettingModification.Volume,volume);
} }
public enum SettingModification { Sensitivity, Volume};
public UnityEvent<SettingModification,float> OnValueChange;
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7c0595ce0cd1f544184de27d0d35b666
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Scriptable
{
[CreateAssetMenu(fileName = "GameState", menuName = "ScriptableObjects/GameStateManager", order = 1)]
public class GameState : ScriptableObject
{
[HideInInspector]
public bool IsPaused = false;
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 841ad010eae6d844cb8ed5bf788f9cfa
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
{
"name": "Scriptable_Assembly",
"rootNamespace": "Scriptable",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f0bbd04fc036a3046993adc87bbfb698
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: