初始化仓库

This commit is contained in:
SepComet
2026-02-07 19:38:49 +08:00
commit 88641dae11
1540 changed files with 371772 additions and 0 deletions
@@ -0,0 +1,74 @@
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
using System;
using UnityEngine;
namespace UnityGameFramework.Runtime
{
public sealed partial class SoundComponent : GameFrameworkComponent
{
[Serializable]
private sealed class SoundGroup
{
[SerializeField]
private string m_Name = null;
[SerializeField]
private bool m_AvoidBeingReplacedBySamePriority = false;
[SerializeField]
private bool m_Mute = false;
[SerializeField, Range(0f, 1f)]
private float m_Volume = 1f;
[SerializeField]
private int m_AgentHelperCount = 1;
public string Name
{
get
{
return m_Name;
}
}
public bool AvoidBeingReplacedBySamePriority
{
get
{
return m_AvoidBeingReplacedBySamePriority;
}
}
public bool Mute
{
get
{
return m_Mute;
}
}
public float Volume
{
get
{
return m_Volume;
}
}
public int AgentHelperCount
{
get
{
return m_AgentHelperCount;
}
}
}
}
}