init
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using Sirenix.OdinInspector;
|
||||
using TheVVaS.CustomSettings.Runtime;
|
||||
using UnityEngine;
|
||||
using VOID.Generic.Objects.Unit.Animations;
|
||||
using VOID.ScriptableObjects.Animations;
|
||||
|
||||
namespace VOID.Generic.Settings
|
||||
{
|
||||
[CustomSettings("99 - Settings/Animations", "Humanoid Animations", "VOID RPG Settings")]
|
||||
public class HumanoidAnimationSettings : SerializedScriptableObject
|
||||
{
|
||||
[Title("Animator Controller")]
|
||||
public RuntimeAnimatorController animatorController;
|
||||
|
||||
[Title("Avatars")]
|
||||
public Avatar femaleAvatar;
|
||||
public Avatar maleAvatar;
|
||||
|
||||
[Title("Base animation clips for override")]
|
||||
[InfoBox("Base animation clips used by animator that will be overridden with final animations")]
|
||||
public ActionLoopAnimation baseCastingLoop;
|
||||
public ActionAnimation baseAbility;
|
||||
public ActionLoopAnimation baseAbilityLoop;
|
||||
public ActionLoopAnimation baseTraverseLoop;
|
||||
public ActionLoopAnimation baseDeath;
|
||||
|
||||
[Title("Action Animations")]
|
||||
[InfoBox("Ability and Casting animations are defined by abilities.")]
|
||||
public ActionLoopAnimationList defaultLadderUpAnimation;
|
||||
public ActionLoopAnimationList defaultLadderDownAnimation;
|
||||
public ActionLoopAnimationList defaultDeathAnimation;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 75bbb174901947faba4b8d2622296285
|
||||
timeCreated: 1739272845
|
||||
@@ -0,0 +1,19 @@
|
||||
using Sirenix.OdinInspector;
|
||||
using UnityEngine;
|
||||
|
||||
namespace VOID.Generic.Settings
|
||||
{
|
||||
[DefaultExecutionOrder(-100)]
|
||||
public class SettingsManager : MonoBehaviour
|
||||
{
|
||||
private static SettingsManager current { get; set; }
|
||||
|
||||
[SerializeField, Required] private HumanoidAnimationSettings _humanoidAnimationSettings;
|
||||
public static HumanoidAnimationSettings humanoidAnimation => current._humanoidAnimationSettings;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
current = this;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ff90ba4e02464665b00792e40c004b27
|
||||
timeCreated: 1739288762
|
||||
Reference in New Issue
Block a user