15 lines
294 B
C#

using System;
using UnityEngine;
[Serializable]
public class Synapse {
[SerializeReference]
public Nucleus nucleus;
public float weight;
public Synapse(Nucleus nucleus, float weight = 1.0f) {
this.nucleus = nucleus;
this.weight = weight;
}
}