22 lines
463 B
C#
22 lines
463 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public class Synapse {
|
|
// Support access to cluster of basic nucleus
|
|
//public IReceptor nucleus => basicNucleus;
|
|
|
|
|
|
//[SerializeReference]
|
|
//public Cluster cluster;
|
|
|
|
[SerializeReference]
|
|
public IReceptor nucleus;
|
|
|
|
public float weight;
|
|
|
|
public Synapse(IReceptor nucleus, float weight = 1.0f) {
|
|
this.nucleus = nucleus;
|
|
this.weight = weight;
|
|
}
|
|
} |