use ClusterPrefab instead of Cluster

This commit is contained in:
Pascal Serrarens 2026-07-06 15:39:05 +02:00
parent 88114cc048
commit fa78dcddb5

View File

@ -88,6 +88,14 @@ namespace NanoBrain {
return null; return null;
} }
public Synapse GetSynapse(string senderNeuronName) {
Neuron sender = this.parent.GetNeuron(senderNeuronName);
if (sender == null)
return null;
return this.GetSynapse(sender);
}
/// <summary> /// <summary>
/// Remove a synapse from a Nucleus /// Remove a synapse from a Nucleus
/// </summary> /// </summary>