Assed SensoryNeuroid
This commit is contained in:
parent
d91057cf97
commit
cb04a7645b
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,4 +8,3 @@ Assets/DefaultVolumeProfile.asset
|
||||
Assets/DefaultVolumeProfile.asset.meta
|
||||
Assets/UniversalRenderPipelineGlobalSettings.asset
|
||||
Assets/UniversalRenderPipelineGlobalSettings.asset.meta
|
||||
NanoBrain-Unity.slnx
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
19
Assets/NanoBrain/SensoryNeuroid.cs
Normal file
19
Assets/NanoBrain/SensoryNeuroid.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using UnityEngine;
|
||||
|
||||
class Receptor {
|
||||
public SensoryNeuroid neuroid;
|
||||
public void SetValue(Vector3 value) {
|
||||
if (neuroid != null) {
|
||||
neuroid.SetInput(neuroid.id, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class SensoryNeuroid : Neuroid {
|
||||
public Receptor receptor;
|
||||
|
||||
public SensoryNeuroid(NeuroidNetwork id) : base(id) {
|
||||
}
|
||||
|
||||
}
|
||||
2
Assets/NanoBrain/SensoryNeuroid.cs.meta
Normal file
2
Assets/NanoBrain/SensoryNeuroid.cs.meta
Normal file
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9e34db6b23aa12477a2f98b9eb0cbbe2
|
||||
@ -58,7 +58,7 @@ GraphicsSettings:
|
||||
m_FogKeepExp2: 1
|
||||
m_AlbedoSwatchInfos: []
|
||||
m_RenderPipelineGlobalSettingsMap:
|
||||
UnityEngine.Rendering.Universal.UniversalRenderPipeline: {fileID: 11400000, guid: 3064fa2f5c54792e9ad65c7efc82c18d, type: 2}
|
||||
UnityEngine.Rendering.Universal.UniversalRenderPipeline: {fileID: 11400000, guid: 370d27fa5af5291e18529fa336759ac9, type: 2}
|
||||
m_LightsUseLinearIntensity: 1
|
||||
m_LightsUseColorTemperature: 1
|
||||
m_LogWhenShaderIsCompiled: 0
|
||||
|
||||
@ -70,6 +70,7 @@ PlayerSettings:
|
||||
androidStartInFullscreen: 1
|
||||
androidRenderOutsideSafeArea: 1
|
||||
androidUseSwappy: 0
|
||||
androidDisplayOptions: 1
|
||||
androidBlitType: 0
|
||||
androidResizeableActivity: 1
|
||||
androidDefaultWindowWidth: 1920
|
||||
@ -840,7 +841,7 @@ PlayerSettings:
|
||||
gcIncremental: 1
|
||||
gcWBarrierValidation: 0
|
||||
apiCompatibilityLevelPerPlatform: {}
|
||||
editorAssembliesCompatibilityLevel: 1
|
||||
editorAssembliesCompatibilityLevel: 2
|
||||
m_RenderingPath: 1
|
||||
m_MobileRenderingPath: 1
|
||||
metroPackageName: NanoBrain
|
||||
@ -917,7 +918,7 @@ PlayerSettings:
|
||||
hmiCpuConfiguration:
|
||||
hmiLogStartupTiming: 0
|
||||
qnxGraphicConfPath:
|
||||
apiCompatibilityLevel: 6
|
||||
apiCompatibilityLevel: 3
|
||||
captureStartupLogs: {}
|
||||
activeInputHandler: 1
|
||||
windowsGamepadBackendHint: 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user