use ClusterPrefab instead of Cluster
This commit is contained in:
parent
88114cc048
commit
fa78dcddb5
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user