use ClusterPrefab instead of Cluster
This commit is contained in:
parent
88114cc048
commit
fa78dcddb5
@ -88,6 +88,14 @@ namespace NanoBrain {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Synapse GetSynapse(string senderNeuronName) {
|
||||
Neuron sender = this.parent.GetNeuron(senderNeuronName);
|
||||
if (sender == null)
|
||||
return null;
|
||||
|
||||
return this.GetSynapse(sender);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remove a synapse from a Nucleus
|
||||
/// </summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user