Merge commit '3f8716794ad9d685cfb9ed9dd230eb31cd8df10f'
This commit is contained in:
commit
ef700c082c
@ -9,16 +9,9 @@ namespace NanoBrain {
|
||||
|
||||
[CustomEditor(typeof(ClusterPrefab))]
|
||||
public class ClusterInspector : Editor {
|
||||
protected static VisualElement mainContainer;
|
||||
protected static VisualElement inspectorContainer;
|
||||
|
||||
protected bool breakOnWake = false;
|
||||
|
||||
#region Start
|
||||
|
||||
public override VisualElement CreateInspectorGUI() {
|
||||
ClusterPrefab prefab = target as ClusterPrefab;
|
||||
|
||||
if (prefab != null)
|
||||
prefab.EnsureInitialization();
|
||||
|
||||
@ -39,23 +32,22 @@ namespace NanoBrain {
|
||||
|
||||
root.styleSheets.Add(Resources.Load<StyleSheet>("GraphStyles"));
|
||||
|
||||
// does the main container have added value?
|
||||
// is just is like the root
|
||||
mainContainer = new() {
|
||||
VisualElement mainContainer = new() {
|
||||
style = {
|
||||
height = 450,
|
||||
flexDirection = FlexDirection.Row
|
||||
}
|
||||
};
|
||||
GraphView graph = new(cluster);
|
||||
graph.style.flexGrow = 1;
|
||||
|
||||
inspectorContainer = new VisualElement {
|
||||
name = "inspector",
|
||||
VisualElement inspectorContainer = new VisualElement {
|
||||
name = "inspector",
|
||||
style = {
|
||||
width = 300,
|
||||
flexGrow = 0
|
||||
}
|
||||
alignSelf = Align.Stretch,
|
||||
minHeight = 450,
|
||||
width = 300,
|
||||
flexGrow = 0
|
||||
}
|
||||
};
|
||||
|
||||
mainContainer.Add(graph);
|
||||
@ -67,7 +59,6 @@ namespace NanoBrain {
|
||||
return graph;
|
||||
}
|
||||
|
||||
|
||||
public class GraphView : VisualElement {
|
||||
readonly ClusterPrefab prefab;
|
||||
SerializedObject serializedBrain;
|
||||
@ -236,7 +227,6 @@ namespace NanoBrain {
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void OnIMGUI() {
|
||||
if (currentNucleus == null)
|
||||
return;
|
||||
@ -896,20 +886,6 @@ namespace NanoBrain {
|
||||
BuildLayers();
|
||||
}
|
||||
|
||||
// protected void AddSelectorInput(Nucleus nucleus) {
|
||||
// Selector newSelector = new(this.prefab, "New Selector");
|
||||
// newSelector.AddReceiver(nucleus);
|
||||
// this.currentNucleus = newSelector;
|
||||
// BuildLayers();
|
||||
// }
|
||||
|
||||
// protected void AddPulsarInput(Nucleus nucleus) {
|
||||
// Pulsar newPulsar = new(this.prefab, "New Pulsar");
|
||||
// newPulsar.AddReceiver(nucleus);
|
||||
// this.currentNucleus = newPulsar;
|
||||
// BuildLayers();
|
||||
// }
|
||||
|
||||
protected virtual void AddMemoryCellInput(Nucleus nucleus) {
|
||||
MemoryCell newMemory = new(this.prefab, "New memory cell");
|
||||
newMemory.AddReceiver(nucleus);
|
||||
@ -1090,13 +1066,11 @@ namespace NanoBrain {
|
||||
#endregion Synapses
|
||||
}
|
||||
|
||||
#endregion Start
|
||||
|
||||
}
|
||||
|
||||
public class NeuroidLayer {
|
||||
public int ix = 0;
|
||||
public List<Nucleus> neuroids = new();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -25,7 +25,7 @@ class ConfigurationChecker {
|
||||
|
||||
|
||||
public static void GlobalDefine(string name) {
|
||||
UnityEngine.Debug.Log("Define " + name);
|
||||
// UnityEngine.Debug.Log("Define " + name);
|
||||
BuildTargetGroup buildTargetGroup = EditorUserBuildSettings.selectedBuildTargetGroup;
|
||||
NamedBuildTarget namedBuildTarget = UnityEditor.Build.NamedBuildTarget.FromBuildTargetGroup(buildTargetGroup);
|
||||
//string scriptDefines = PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup);
|
||||
@ -39,7 +39,7 @@ class ConfigurationChecker {
|
||||
}
|
||||
|
||||
public static void GlobalUndefine(string name) {
|
||||
UnityEngine.Debug.Log("Undefine " + name);
|
||||
// UnityEngine.Debug.Log("Undefine " + name);
|
||||
BuildTargetGroup buildTargetGroup = EditorUserBuildSettings.selectedBuildTargetGroup;
|
||||
NamedBuildTarget namedBuildTarget = UnityEditor.Build.NamedBuildTarget.FromBuildTargetGroup(buildTargetGroup);
|
||||
// string scriptDefines = PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup);
|
||||
|
||||
@ -6,21 +6,21 @@ using UnityEngine.UIElements;
|
||||
|
||||
namespace NanoBrain {
|
||||
|
||||
[CustomEditor(typeof(NanoBrain))]
|
||||
[CustomEditor(typeof(Brain))]
|
||||
public class NanoBrainComponent_Editor : Editor {
|
||||
protected static VisualElement mainContainer;
|
||||
protected static VisualElement inspectorContainer;
|
||||
|
||||
protected NanoBrain component;
|
||||
protected Brain component;
|
||||
private SerializedProperty brainProp;
|
||||
|
||||
ClusterInspector.GraphView board;
|
||||
//ClusterInspector.GraphView board;
|
||||
|
||||
public void OnEnable() {
|
||||
component = target as NanoBrain;
|
||||
component = target as Brain;
|
||||
|
||||
if (Application.isPlaying == false && serializedObject != null) {
|
||||
string propertyName = nameof(NanoBrain.defaultBrain);
|
||||
string propertyName = nameof(Brain.defaultBrain);
|
||||
brainProp = serializedObject.FindProperty(propertyName);
|
||||
}
|
||||
}
|
||||
@ -35,7 +35,7 @@ namespace NanoBrain {
|
||||
VisualElement root = new();
|
||||
if (Application.isPlaying == false) {
|
||||
PropertyField brainField = new(brainProp) {
|
||||
label = "Nano Brain"
|
||||
label = "Cluster Prefab"
|
||||
};
|
||||
root.Add(brainField);
|
||||
}
|
||||
|
||||
@ -7,7 +7,7 @@ namespace NanoBrain {
|
||||
/// The NanoBrain Unity Componnent
|
||||
/// </summary>
|
||||
/// This implements the top-level NanoBrain Cluster
|
||||
public class NanoBrain : MonoBehaviour {
|
||||
public class Brain : MonoBehaviour {
|
||||
/// <summary>
|
||||
/// The Cluster prefab from which the cluster is created
|
||||
/// </summary>
|
||||
@ -1,8 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 61eea9f818639ec20b7a7bf4e86fff66
|
||||
NativeFormatImporter:
|
||||
guid: b583a04a1d95b8e078089205438fa6fc
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Runtime/Scripts/ScriptableObjects.meta
Normal file
8
Runtime/Scripts/ScriptableObjects.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 269c75a382a564e6f90c5727dbd364ae
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -14,13 +14,23 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::ClusterPrefab
|
||||
nuclei:
|
||||
- rid: 2262690531574022216
|
||||
- rid: 2642584026360840247
|
||||
- rid: 2642584026360840250
|
||||
- rid: 2642584026360840251
|
||||
- rid: 2642584026360840252
|
||||
- rid: 2642584026360840253
|
||||
- rid: 2642584026360840256
|
||||
- rid: 2642584026360840264
|
||||
- rid: 2642584026360840265
|
||||
- rid: 2642584026360840266
|
||||
- rid: 2642584026360840267
|
||||
references:
|
||||
version: 2
|
||||
RefIds:
|
||||
- rid: -2
|
||||
type: {class: , ns: , asm: }
|
||||
- rid: 2262690531574022216
|
||||
type: {class: Neuron, ns: , asm: Assembly-CSharp}
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: Output
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
@ -57,3 +67,736 @@ MonoBehaviour:
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers: []
|
||||
- rid: 2642584026360840247
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses:
|
||||
- neuron:
|
||||
rid: 2642584026360840250
|
||||
weight: 1
|
||||
- neuron:
|
||||
rid: 2642584026360840251
|
||||
weight: 1
|
||||
- neuron:
|
||||
rid: 2642584026360840252
|
||||
weight: 1
|
||||
- neuron:
|
||||
rid: 2642584026360840253
|
||||
weight: 1
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840248
|
||||
- rid: 2642584026360840248
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: Output
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: 2642584026360840249
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses:
|
||||
- neuron:
|
||||
rid: 2642584026360840247
|
||||
weight: 1
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers: []
|
||||
- rid: 2642584026360840249
|
||||
type: {class: Cluster, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: Identity (Instance)
|
||||
clusterPrefab: {fileID: 0}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
prefab: {fileID: 11400000}
|
||||
clusterNuclei:
|
||||
- rid: 2642584026360840248
|
||||
- rid: 2642584026360840250
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840247
|
||||
- rid: 2642584026360840251
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840247
|
||||
- rid: 2642584026360840252
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840247
|
||||
- rid: 2642584026360840253
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840247
|
||||
- rid: 2642584026360840256
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840257
|
||||
- rid: 2642584026360840257
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: Output
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: 2642584026360840258
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses:
|
||||
- neuron:
|
||||
rid: 2642584026360840256
|
||||
weight: 1
|
||||
- neuron:
|
||||
rid: 2642584026360840264
|
||||
weight: 1
|
||||
- neuron:
|
||||
rid: 2642584026360840265
|
||||
weight: 1
|
||||
- neuron:
|
||||
rid: 2642584026360840266
|
||||
weight: 1
|
||||
- neuron:
|
||||
rid: 2642584026360840267
|
||||
weight: 1
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers: []
|
||||
- rid: 2642584026360840258
|
||||
type: {class: Cluster, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: Identity (Instance)
|
||||
clusterPrefab: {fileID: 0}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
prefab: {fileID: 11400000}
|
||||
clusterNuclei:
|
||||
- rid: 2642584026360840257
|
||||
- rid: 2642584026360840259
|
||||
- rid: 2642584026360840260
|
||||
- rid: 2642584026360840261
|
||||
- rid: 2642584026360840262
|
||||
- rid: 2642584026360840263
|
||||
- rid: 2642584026360840259
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: 2642584026360840258
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses:
|
||||
- neuron:
|
||||
rid: 2642584026360840260
|
||||
weight: 1
|
||||
- neuron:
|
||||
rid: 2642584026360840261
|
||||
weight: 1
|
||||
- neuron:
|
||||
rid: 2642584026360840262
|
||||
weight: 1
|
||||
- neuron:
|
||||
rid: 2642584026360840263
|
||||
weight: 1
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers: []
|
||||
- rid: 2642584026360840260
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: 2642584026360840258
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840259
|
||||
- rid: 2642584026360840261
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: 2642584026360840258
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840259
|
||||
- rid: 2642584026360840262
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: 2642584026360840258
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840259
|
||||
- rid: 2642584026360840263
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: 2642584026360840258
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840259
|
||||
- rid: 2642584026360840264
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840257
|
||||
- rid: 2642584026360840265
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840257
|
||||
- rid: 2642584026360840266
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840257
|
||||
- rid: 2642584026360840267
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New neuron
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1000
|
||||
value: 1000
|
||||
inSlope: 1
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2642584026360840257
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -11,18 +11,18 @@ MonoBehaviour:
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 60a957541c24c57e78018c202ebb1d9b, type: 3}
|
||||
m_Name: Velocity
|
||||
m_EditorClassIdentifier: Assembly-CSharp::ClusterPrefab
|
||||
m_EditorClassIdentifier: Assembly-CSharp::NanoBrain.ClusterPrefab
|
||||
nuclei:
|
||||
- rid: 2262690551513219315
|
||||
- rid: 2262690551513219316
|
||||
- rid: 2262690551513219317
|
||||
- rid: 2642584026360840192
|
||||
- rid: 2642584026360840193
|
||||
- rid: 2642584026360840194
|
||||
references:
|
||||
version: 2
|
||||
RefIds:
|
||||
- rid: -2
|
||||
type: {class: , ns: , asm: }
|
||||
- rid: 2262690551513219315
|
||||
type: {class: Neuron, ns: , asm: Assembly-CSharp}
|
||||
- rid: 2642584026360840192
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: Velocity
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
@ -31,12 +31,12 @@ MonoBehaviour:
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses:
|
||||
- nucleus:
|
||||
rid: 2262690551513219316
|
||||
weight: 1
|
||||
- nucleus:
|
||||
rid: 2262690551513219317
|
||||
- neuron:
|
||||
rid: 2642584026360840193
|
||||
weight: 1
|
||||
- neuron:
|
||||
rid: 2642584026360840194
|
||||
weight: -1
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
@ -65,8 +65,8 @@ MonoBehaviour:
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers: []
|
||||
- rid: 2262690551513219316
|
||||
type: {class: Neuron, ns: , asm: Assembly-CSharp}
|
||||
- rid: 2642584026360840193
|
||||
type: {class: Neuron, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: Position
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
@ -103,17 +103,21 @@ MonoBehaviour:
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2262690551513219315
|
||||
- rid: 2262690551513219317
|
||||
type: {class: MemoryCell, ns: , asm: Assembly-CSharp}
|
||||
- rid: 2642584026360840192
|
||||
- rid: 2642584026360840194
|
||||
- rid: 2642584026360840194
|
||||
type: {class: MemoryCell, ns: NanoBrain, asm: Assembly-CSharp}
|
||||
data:
|
||||
name: New memory cell
|
||||
name: Last Position
|
||||
clusterPrefab: {fileID: 11400000}
|
||||
parent:
|
||||
rid: -2
|
||||
trace: 0
|
||||
bias: {x: 0, y: 0, z: 0}
|
||||
_synapses: []
|
||||
_synapses:
|
||||
- neuron:
|
||||
rid: 2642584026360840193
|
||||
weight: 1
|
||||
combinator: 0
|
||||
_curvePreset: 0
|
||||
curve:
|
||||
@ -124,5 +128,5 @@ MonoBehaviour:
|
||||
m_RotationOrder: 4
|
||||
curveMax: 1
|
||||
_receivers:
|
||||
- rid: 2262690551513219315
|
||||
- rid: 2642584026360840192
|
||||
staticMemory: 0
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c61aecac62c26de4aaefb2612bcc9a5d
|
||||
guid: 61354a7773d5f24439c8ab5622728094
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user