_xiaofang/xiaofang/Assets/Obi/Scripts/Common/Blueprints/ObiParticleGroup.cs
杨号敬 bcc74f0465 add
2024-12-18 02:18:45 +08:00

35 lines
765 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Obi
{
[Serializable]
public class ObiParticleGroup : ScriptableObject
{
public List<int> particleIndices = new List<int>() { };
public ObiActorBlueprint m_Blueprint = null;
public ObiActorBlueprint blueprint
{
get { return m_Blueprint; }
}
public void SetSourceBlueprint(ObiActorBlueprint blueprint)
{
this.m_Blueprint = blueprint;
}
public int Count
{
get { return particleIndices.Count; }
}
public bool ContainsParticle(int index)
{
return particleIndices.Contains(index);
}
}
}