26 lines
759 B
C#
26 lines
759 B
C#
using UnityEngine;
|
|
|
|
namespace NanoBrain.Unity {
|
|
|
|
/// <summary>
|
|
/// The Unity ScriptableObject to implement re-usable Cluster Prefabs
|
|
/// </summary>
|
|
[CreateAssetMenu(menuName = "Passer/Cluster")]
|
|
[HelpURL("https://passer.life/documentation/nanobrain/Documentation/html/class_nano_brain_1_1_unity_1_1_cluster_prefab.html")]
|
|
public class ClusterPrefab : ScriptableObject {
|
|
|
|
/// <summary>
|
|
/// The cluster data
|
|
/// </summary>
|
|
public Cluster cluster;
|
|
|
|
/// <summary>
|
|
/// The version number of this Prefab
|
|
/// </summary>
|
|
/// This is used to detect changes in the prefab which require Cluster instances to be updated
|
|
public int version;
|
|
|
|
}
|
|
|
|
}
|