1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- //------------------------------------------------------------
- // Game Framework
- // Copyright © 2013-2021 loyalsoft. All rights reserved.
- // Homepage: http://www.game7000.com/
- // Feedback: http://www.game7000.com/
- //------------------------------------------------------------
- using System;
- using UnityEngine;
- namespace UnityGameFramework.Runtime
- {
- public sealed partial class EntityComponent : GameFrameworkComponent
- {
- [Serializable]
- private sealed class EntityGroup
- {
- [SerializeField]
- private string m_Name = null;
- [SerializeField]
- private float m_InstanceAutoReleaseInterval = 60f;
- [SerializeField]
- private int m_InstanceCapacity = 16;
- [SerializeField]
- private float m_InstanceExpireTime = 60f;
- [SerializeField]
- private int m_InstancePriority = 0;
- public string Name
- {
- get
- {
- return m_Name;
- }
- }
- public float InstanceAutoReleaseInterval
- {
- get
- {
- return m_InstanceAutoReleaseInterval;
- }
- }
- public int InstanceCapacity
- {
- get
- {
- return m_InstanceCapacity;
- }
- }
- public float InstanceExpireTime
- {
- get
- {
- return m_InstanceExpireTime;
- }
- }
- public int InstancePriority
- {
- get
- {
- return m_InstancePriority;
- }
- }
- }
- }
- }
|