wtf is going on with mulitbar
This commit is contained in:
1 parent
021f0b9f54
commit
90142b82a3
22 files changed
+10497
-2323
No files matched your search
@@ -1,46 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class BarSpectrum : TripsitterAve
|
|
||||||
{
|
|
||||||
private GameObject[] _spectrumBars;
|
|
||||||
private Vector3[] _originalPositions;
|
|
||||||
private Vector3 _originalScale;
|
|
||||||
|
|
||||||
public GameObject Prefab;
|
|
||||||
public float AudioScale;
|
|
||||||
public float Power;
|
|
||||||
|
|
||||||
public void Start()
|
|
||||||
{
|
|
||||||
_spectrumBars = new GameObject[SpectrumSize];
|
|
||||||
_originalPositions = new Vector3[SpectrumSize];
|
|
||||||
_originalScale = Prefab.transform.localScale;
|
|
||||||
|
|
||||||
var width = Prefab.transform.localScale.x;
|
|
||||||
|
|
||||||
for (var i = 0; i < SpectrumSize; i++)
|
|
||||||
{
|
|
||||||
var spectrumBar = GameObject.Instantiate(Prefab);
|
|
||||||
spectrumBar.transform.parent = transform;
|
|
||||||
spectrumBar.transform.localPosition = new Vector3(width * i, 0.0f, 0.0f);
|
|
||||||
_spectrumBars[i] = spectrumBar;
|
|
||||||
_originalPositions[i] = spectrumBar.transform.localPosition;
|
|
||||||
}
|
|
||||||
|
|
||||||
Prefab.SetActive(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Update()
|
|
||||||
{
|
|
||||||
var spectrumData = GetSpectrumData();
|
|
||||||
|
|
||||||
for (var i = 0; i < SpectrumSize; i++)
|
|
||||||
{
|
|
||||||
var audioScale = Mathf.Pow(spectrumData[i] * AudioScale, Power);
|
|
||||||
var newScale = new Vector3(_originalScale.x, _originalScale.y + audioScale, _originalScale.z);
|
|
||||||
var halfScale = newScale / 2.0f;
|
|
||||||
_spectrumBars[i].transform.localPosition = new Vector3(_originalPositions[i].x + halfScale.x, _originalPositions[i].y + halfScale.y, _originalPositions[i].z + halfScale.z);
|
|
||||||
_spectrumBars[i].transform.localScale = newScale;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: dffea8f4020f55c4c8b1165de223ff31
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using Cinemachine;
|
||||||
|
|
||||||
|
public class CameraController : MonoBehaviour {
|
||||||
|
private Vector2 mousePos;
|
||||||
|
|
||||||
|
private Vector2 worldSize;
|
||||||
|
private float mouseSens = 200f;
|
||||||
|
private float moveSpeed = 100f;
|
||||||
|
|
||||||
|
void Start() {
|
||||||
|
mousePos = Input.mousePosition;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Update() {
|
||||||
|
|
||||||
|
// Camera Rotation
|
||||||
|
if (Input.GetMouseButton(0)) {
|
||||||
|
float yawDelta = mouseSens * Time.deltaTime * Input.GetAxis("Mouse X");
|
||||||
|
float pitchDelta = mouseSens * Time.deltaTime * Input.GetAxis("Mouse Y");
|
||||||
|
pitchDelta = Mathf.Clamp(pitchDelta, -90f, 90f);
|
||||||
|
|
||||||
|
transform.Rotate(Vector3.up * yawDelta, Space.World);
|
||||||
|
transform.Rotate(Vector3.left * pitchDelta);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Camera Movement
|
||||||
|
if (Input.GetMouseButton(1)) {
|
||||||
|
Vector2 delta = new Vector2(
|
||||||
|
(Input.mousePosition.x - mousePos.x) * moveSpeed * Time.deltaTime,
|
||||||
|
(Input.mousePosition.y - mousePos.y) * moveSpeed * Time.deltaTime
|
||||||
|
) * -1;
|
||||||
|
transform.position += new Vector3(delta.x, delta.y, 0.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
mousePos = Input.mousePosition;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 3e141da9e070ef843b956c27c9e9f8f4
|
guid: b66daeed0d3076d4d9493a0f8cd2e550
|
||||||
MonoImporter:
|
MonoImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
@@ -1,196 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1 &3951425291114222009
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 3951425291114222005}
|
|
||||||
- component: {fileID: 3951425291114222006}
|
|
||||||
- component: {fileID: 7554796985381095928}
|
|
||||||
- component: {fileID: 3951425291114222007}
|
|
||||||
- component: {fileID: 3951425291114222008}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Cube
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &3951425291114222005
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3951425291114222009}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 15.407915, y: 4.7623067, z: 1.3299046}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!33 &3951425291114222006
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3951425291114222009}
|
|
||||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!120 &7554796985381095928
|
|
||||||
LineRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3951425291114222009}
|
|
||||||
m_Enabled: 0
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_DynamicOccludee: 1
|
|
||||||
m_MotionVectors: 0
|
|
||||||
m_LightProbeUsage: 0
|
|
||||||
m_ReflectionProbeUsage: 0
|
|
||||||
m_RayTracingMode: 0
|
|
||||||
m_RayTraceProcedural: 0
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 0}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 3
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_Positions:
|
|
||||||
- {x: 0, y: 0, z: 0}
|
|
||||||
- {x: 0, y: 0, z: 1}
|
|
||||||
m_Parameters:
|
|
||||||
serializedVersion: 3
|
|
||||||
widthMultiplier: 1
|
|
||||||
widthCurve:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Curve:
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 0
|
|
||||||
value: 1
|
|
||||||
inSlope: 0
|
|
||||||
outSlope: 0
|
|
||||||
tangentMode: 0
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0.33333334
|
|
||||||
outWeight: 0.33333334
|
|
||||||
m_PreInfinity: 2
|
|
||||||
m_PostInfinity: 2
|
|
||||||
m_RotationOrder: 4
|
|
||||||
colorGradient:
|
|
||||||
serializedVersion: 2
|
|
||||||
key0: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
key1: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
ctime0: 0
|
|
||||||
ctime1: 65535
|
|
||||||
ctime2: 0
|
|
||||||
ctime3: 0
|
|
||||||
ctime4: 0
|
|
||||||
ctime5: 0
|
|
||||||
ctime6: 0
|
|
||||||
ctime7: 0
|
|
||||||
atime0: 0
|
|
||||||
atime1: 65535
|
|
||||||
atime2: 0
|
|
||||||
atime3: 0
|
|
||||||
atime4: 0
|
|
||||||
atime5: 0
|
|
||||||
atime6: 0
|
|
||||||
atime7: 0
|
|
||||||
m_Mode: 0
|
|
||||||
m_NumColorKeys: 2
|
|
||||||
m_NumAlphaKeys: 2
|
|
||||||
numCornerVertices: 6
|
|
||||||
numCapVertices: 0
|
|
||||||
alignment: 0
|
|
||||||
textureMode: 0
|
|
||||||
shadowBias: 0.5
|
|
||||||
generateLightingData: 0
|
|
||||||
m_UseWorldSpace: 1
|
|
||||||
m_Loop: 0
|
|
||||||
--- !u!23 &3951425291114222007
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3951425291114222009}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_DynamicOccludee: 1
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_RayTracingMode: 2
|
|
||||||
m_RayTraceProcedural: 0
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 2100000, guid: 3c783b043774015408f04c74b4f8559d, type: 2}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 3
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_AdditionalVertexStreams: {fileID: 0}
|
|
||||||
--- !u!65 &3951425291114222008
|
|
||||||
BoxCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3951425291114222009}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Size: {x: 1, y: 1, z: 1}
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
@@ -1,131 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1 &6999516977619513531
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 6999516977619513530}
|
|
||||||
- component: {fileID: 6999516977619513529}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: LineBar
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &6999516977619513530
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 6999516977619513531}
|
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
||||||
m_LocalPosition: {x: 19.620941, y: 2.0662532, z: -368.22906}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!120 &6999516977619513529
|
|
||||||
LineRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 6999516977619513531}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_DynamicOccludee: 1
|
|
||||||
m_MotionVectors: 0
|
|
||||||
m_LightProbeUsage: 0
|
|
||||||
m_ReflectionProbeUsage: 0
|
|
||||||
m_RayTracingMode: 0
|
|
||||||
m_RayTraceProcedural: 0
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 10306, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 3
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_Positions:
|
|
||||||
- {x: 0, y: 0, z: 0}
|
|
||||||
- {x: 0, y: 0, z: 1}
|
|
||||||
m_Parameters:
|
|
||||||
serializedVersion: 3
|
|
||||||
widthMultiplier: 0.1
|
|
||||||
widthCurve:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Curve:
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 0
|
|
||||||
value: 1
|
|
||||||
inSlope: 0
|
|
||||||
outSlope: 0
|
|
||||||
tangentMode: 0
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0.33333334
|
|
||||||
outWeight: 0.33333334
|
|
||||||
m_PreInfinity: 2
|
|
||||||
m_PostInfinity: 2
|
|
||||||
m_RotationOrder: 4
|
|
||||||
colorGradient:
|
|
||||||
serializedVersion: 2
|
|
||||||
key0: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
key1: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
ctime0: 0
|
|
||||||
ctime1: 65535
|
|
||||||
ctime2: 0
|
|
||||||
ctime3: 0
|
|
||||||
ctime4: 0
|
|
||||||
ctime5: 0
|
|
||||||
ctime6: 0
|
|
||||||
ctime7: 0
|
|
||||||
atime0: 0
|
|
||||||
atime1: 65535
|
|
||||||
atime2: 0
|
|
||||||
atime3: 0
|
|
||||||
atime4: 0
|
|
||||||
atime5: 0
|
|
||||||
atime6: 0
|
|
||||||
atime7: 0
|
|
||||||
m_Mode: 0
|
|
||||||
m_NumColorKeys: 2
|
|
||||||
m_NumAlphaKeys: 2
|
|
||||||
numCornerVertices: 0
|
|
||||||
numCapVertices: 0
|
|
||||||
alignment: 0
|
|
||||||
textureMode: 0
|
|
||||||
shadowBias: 0.5
|
|
||||||
generateLightingData: 0
|
|
||||||
m_UseWorldSpace: 0
|
|
||||||
m_Loop: 0
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class LineBarSpectrum : TripsitterAve {
|
|
||||||
private LineRenderer[] _lines;
|
|
||||||
|
|
||||||
private float AudioScale = 10;
|
|
||||||
private float Power = 1.5f;
|
|
||||||
|
|
||||||
public float LineWidth = 0.5f;
|
|
||||||
public float LineSpacing = 1.0f;
|
|
||||||
|
|
||||||
void Start() {
|
|
||||||
LineRenderer prefab = GameObject.Find("LineBar").GetComponent<LineRenderer>();
|
|
||||||
|
|
||||||
_lines = new LineRenderer[SpectrumSize];
|
|
||||||
|
|
||||||
for (int i = 0; i < SpectrumSize; i++) {
|
|
||||||
LineRenderer lineRenderer = GameObject.Instantiate(prefab);
|
|
||||||
lineRenderer.transform.parent = transform;
|
|
||||||
lineRenderer.material = new Material(Shader.Find("Sprites/Default"));
|
|
||||||
lineRenderer.widthMultiplier = LineWidth;
|
|
||||||
lineRenderer.positionCount = 2;
|
|
||||||
_lines[i] = lineRenderer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void Update() {
|
|
||||||
var spectrumData = GetSpectrumData();
|
|
||||||
for (int i = 0; i < SpectrumSize; i++) {
|
|
||||||
var line = _lines[i];
|
|
||||||
var audioScale = Mathf.Pow(spectrumData[i] * AudioScale, Power);
|
|
||||||
var points = new Vector3[2];
|
|
||||||
var x = LineSpacing * i;
|
|
||||||
points[0] = new Vector3(x, 0.0f, 0.0f);
|
|
||||||
points[1] = new Vector3(x, audioScale, 0.0f);
|
|
||||||
line.widthMultiplier = LineWidth;
|
|
||||||
line.SetPositions(points);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 1d5f2cb1f9c05584fb010902c4cc4040
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class LineSpectrum : TripsitterAve {
|
|
||||||
private float AudioScale = 10;
|
|
||||||
private float Power = 1.5f;
|
|
||||||
|
|
||||||
void Start() {
|
|
||||||
LineRenderer lineRenderer = gameObject.AddComponent<LineRenderer>();
|
|
||||||
lineRenderer.material = new Material(Shader.Find("Sprites/Default"));
|
|
||||||
lineRenderer.widthMultiplier = 0.5f;
|
|
||||||
lineRenderer.positionCount = SpectrumSize;
|
|
||||||
Debug.Log($"{SpectrumSize}");
|
|
||||||
}
|
|
||||||
|
|
||||||
void Update() {
|
|
||||||
LineRenderer lineRenderer = GetComponent<LineRenderer>();
|
|
||||||
var spectrumData = GetSpectrumData();
|
|
||||||
var points = new Vector3[SpectrumSize];
|
|
||||||
for (int i = 0; i < SpectrumSize; i++)
|
|
||||||
{
|
|
||||||
var audioScale = Mathf.Pow(spectrumData[i] * AudioScale, Power);
|
|
||||||
points[i] = new Vector3(i * 1.0f, audioScale, 0.0f);
|
|
||||||
}
|
|
||||||
lineRenderer.SetPositions(points);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
+1276
-1189
File diff suppressed because it is too large.
Load diff
@@ -1,19 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
using Assets.WasapiAudio.Scripts.Unity;
|
|
||||||
|
|
||||||
public class Tripsitter : MonoBehaviour
|
|
||||||
{
|
|
||||||
// Start is called before the first frame update
|
|
||||||
|
|
||||||
public AudioVisualizationEffect ave;
|
|
||||||
void Start()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
// Update is called once per frame
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 575f46cd31a2b694bb2579e3a3eca9cc
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -1,6 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 5d2bf7b158da17a4685354bec9bb5b3d
|
guid: 586105f9a5d265b41b134430e0946f62
|
||||||
PrefabImporter:
|
VisualEffectImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -1,6 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: c67cf5d0160fa1340afc79b251a0c205
|
guid: 9cbb8f82eeb89994bbbeb66cd050c4bc
|
||||||
PrefabImporter:
|
VisualEffectImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
@@ -0,0 +1,436 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!2058629511 &1
|
||||||
|
VisualEffectResource:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: VFXMnmlCircle_BarNumber
|
||||||
|
m_Graph: {fileID: 114350483966674976}
|
||||||
|
m_Infos:
|
||||||
|
m_RendererSettings:
|
||||||
|
motionVectorGenerationMode: 0
|
||||||
|
shadowCastingMode: 0
|
||||||
|
receiveShadows: 0
|
||||||
|
reflectionProbeUsage: 0
|
||||||
|
lightProbeUsage: 0
|
||||||
|
m_CullingFlags: 3
|
||||||
|
m_UpdateMode: 0
|
||||||
|
m_PreWarmDeltaTime: 0.05
|
||||||
|
m_PreWarmStepCount: 0
|
||||||
|
m_InitialEventName: OnPlay
|
||||||
|
--- !u!114 &114350483966674976
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 7d4c867f6b72b714dbb5fd1780afe208, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 114350483966674978}
|
||||||
|
- {fileID: 114350483966674980}
|
||||||
|
- {fileID: 114350483966674984}
|
||||||
|
- {fileID: 114350483966674986}
|
||||||
|
m_UIPosition: {x: 0, y: 0}
|
||||||
|
m_UICollapsed: 1
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_UIInfos: {fileID: 114350483966674977}
|
||||||
|
m_ParameterInfo:
|
||||||
|
- name: SpectrumSize
|
||||||
|
path: SpectrumSize
|
||||||
|
tooltip:
|
||||||
|
sheetType: m_Uint
|
||||||
|
realType: UInt32
|
||||||
|
defaultValue:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject: 256
|
||||||
|
min: -Infinity
|
||||||
|
max: Infinity
|
||||||
|
enumValues: []
|
||||||
|
descendantCount: 0
|
||||||
|
m_ImportDependencies: []
|
||||||
|
m_GraphVersion: 6
|
||||||
|
m_ResourceVersion: 1
|
||||||
|
m_SubgraphDependencies: []
|
||||||
|
m_CategoryPath:
|
||||||
|
--- !u!114 &114350483966674977
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d01270efd3285ea4a9d6c555cb0a8027, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
groupInfos: []
|
||||||
|
stickyNoteInfos: []
|
||||||
|
categories: []
|
||||||
|
uiBounds:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 0
|
||||||
|
height: 0
|
||||||
|
--- !u!114 &114350483966674978
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 486e063e1ed58c843942ea4122829ab1, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 114350483966674976}
|
||||||
|
m_Children: []
|
||||||
|
m_UIPosition: {x: -718, y: 536}
|
||||||
|
m_UICollapsed: 0
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_InputSlots: []
|
||||||
|
m_OutputSlots:
|
||||||
|
- {fileID: 114350483966674979}
|
||||||
|
attribute: particleId
|
||||||
|
location: 0
|
||||||
|
mask: xyz
|
||||||
|
--- !u!114 &114350483966674979
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c52d920e7fff73b498050a6b3c4404ca, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_Children: []
|
||||||
|
m_UIPosition: {x: 0, y: 0}
|
||||||
|
m_UICollapsed: 1
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_MasterSlot: {fileID: 114350483966674979}
|
||||||
|
m_MasterData:
|
||||||
|
m_Owner: {fileID: 114350483966674978}
|
||||||
|
m_Value:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject: 0
|
||||||
|
m_Space: 2147483647
|
||||||
|
m_Property:
|
||||||
|
name: particleId
|
||||||
|
m_serializedType:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_Direction: 1
|
||||||
|
m_LinkedSlots:
|
||||||
|
- {fileID: 114350483966674981}
|
||||||
|
--- !u!114 &114350483966674980
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: b9f0cf5fb7172324ba89e4a543d00c14, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 114350483966674976}
|
||||||
|
m_Children: []
|
||||||
|
m_UIPosition: {x: -433, y: 597}
|
||||||
|
m_UICollapsed: 0
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_InputSlots:
|
||||||
|
- {fileID: 114350483966674981}
|
||||||
|
- {fileID: 114350483966674982}
|
||||||
|
m_OutputSlots:
|
||||||
|
- {fileID: 114350483966674983}
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
--- !u!114 &114350483966674981
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c52d920e7fff73b498050a6b3c4404ca, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_Children: []
|
||||||
|
m_UIPosition: {x: 0, y: 0}
|
||||||
|
m_UICollapsed: 1
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_MasterSlot: {fileID: 114350483966674981}
|
||||||
|
m_MasterData:
|
||||||
|
m_Owner: {fileID: 114350483966674980}
|
||||||
|
m_Value:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject: 1
|
||||||
|
m_Space: 2147483647
|
||||||
|
m_Property:
|
||||||
|
name: a
|
||||||
|
m_serializedType:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_Direction: 0
|
||||||
|
m_LinkedSlots:
|
||||||
|
- {fileID: 114350483966674979}
|
||||||
|
--- !u!114 &114350483966674982
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c52d920e7fff73b498050a6b3c4404ca, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_Children: []
|
||||||
|
m_UIPosition: {x: 0, y: 0}
|
||||||
|
m_UICollapsed: 1
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_MasterSlot: {fileID: 114350483966674982}
|
||||||
|
m_MasterData:
|
||||||
|
m_Owner: {fileID: 114350483966674980}
|
||||||
|
m_Value:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject: 1
|
||||||
|
m_Space: 2147483647
|
||||||
|
m_Property:
|
||||||
|
name: b
|
||||||
|
m_serializedType:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_Direction: 0
|
||||||
|
m_LinkedSlots:
|
||||||
|
- {fileID: 114350483966674985}
|
||||||
|
--- !u!114 &114350483966674983
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c52d920e7fff73b498050a6b3c4404ca, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_Children: []
|
||||||
|
m_UIPosition: {x: 0, y: 0}
|
||||||
|
m_UICollapsed: 1
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_MasterSlot: {fileID: 114350483966674983}
|
||||||
|
m_MasterData:
|
||||||
|
m_Owner: {fileID: 114350483966674980}
|
||||||
|
m_Value:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject: 0
|
||||||
|
m_Space: 2147483647
|
||||||
|
m_Property:
|
||||||
|
name:
|
||||||
|
m_serializedType:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_Direction: 1
|
||||||
|
m_LinkedSlots:
|
||||||
|
- {fileID: 114350483966674988}
|
||||||
|
--- !u!114 &114350483966674984
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 330e0fca1717dde4aaa144f48232aa64, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 114350483966674976}
|
||||||
|
m_Children: []
|
||||||
|
m_UIPosition: {x: 0, y: 0}
|
||||||
|
m_UICollapsed: 1
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_InputSlots: []
|
||||||
|
m_OutputSlots:
|
||||||
|
- {fileID: 114350483966674985}
|
||||||
|
m_ExposedName: SpectrumSize
|
||||||
|
m_Exposed: 1
|
||||||
|
m_Order: 0
|
||||||
|
m_Category:
|
||||||
|
m_Min:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType:
|
||||||
|
m_SerializableObject:
|
||||||
|
m_Max:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType:
|
||||||
|
m_SerializableObject:
|
||||||
|
m_IsOutput: 0
|
||||||
|
m_EnumValues: []
|
||||||
|
m_ValueFilter: 0
|
||||||
|
m_Tooltip:
|
||||||
|
m_Nodes:
|
||||||
|
- m_Id: 0
|
||||||
|
linkedSlots:
|
||||||
|
- outputSlot: {fileID: 114350483966674985}
|
||||||
|
inputSlot: {fileID: 114350483966674982}
|
||||||
|
position: {x: -655, y: 648}
|
||||||
|
expandedSlots: []
|
||||||
|
expanded: 0
|
||||||
|
--- !u!114 &114350483966674985
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c52d920e7fff73b498050a6b3c4404ca, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_Children: []
|
||||||
|
m_UIPosition: {x: 0, y: 0}
|
||||||
|
m_UICollapsed: 1
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_MasterSlot: {fileID: 114350483966674985}
|
||||||
|
m_MasterData:
|
||||||
|
m_Owner: {fileID: 114350483966674984}
|
||||||
|
m_Value:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject: 256
|
||||||
|
m_Space: 2147483647
|
||||||
|
m_Property:
|
||||||
|
name: o
|
||||||
|
m_serializedType:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_Direction: 1
|
||||||
|
m_LinkedSlots:
|
||||||
|
- {fileID: 114350483966674982}
|
||||||
|
--- !u!114 &114350483966674986
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 330e0fca1717dde4aaa144f48232aa64, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 114350483966674976}
|
||||||
|
m_Children: []
|
||||||
|
m_UIPosition: {x: 0, y: 0}
|
||||||
|
m_UICollapsed: 1
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_InputSlots:
|
||||||
|
- {fileID: 114350483966674988}
|
||||||
|
m_OutputSlots: []
|
||||||
|
m_ExposedName: parameter
|
||||||
|
m_Exposed: 0
|
||||||
|
m_Order: 1
|
||||||
|
m_Category:
|
||||||
|
m_Min:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType:
|
||||||
|
m_SerializableObject:
|
||||||
|
m_Max:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType:
|
||||||
|
m_SerializableObject:
|
||||||
|
m_IsOutput: 1
|
||||||
|
m_EnumValues: []
|
||||||
|
m_ValueFilter: 0
|
||||||
|
m_Tooltip:
|
||||||
|
m_Nodes:
|
||||||
|
- m_Id: 0
|
||||||
|
linkedSlots:
|
||||||
|
- outputSlot: {fileID: 114350483966674983}
|
||||||
|
inputSlot: {fileID: 114350483966674988}
|
||||||
|
position: {x: -33, y: 597}
|
||||||
|
expandedSlots: []
|
||||||
|
expanded: 0
|
||||||
|
--- !u!114 &114350483966674988
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c52d920e7fff73b498050a6b3c4404ca, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_Children: []
|
||||||
|
m_UIPosition: {x: 0, y: 0}
|
||||||
|
m_UICollapsed: 1
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_MasterSlot: {fileID: 114350483966674988}
|
||||||
|
m_MasterData:
|
||||||
|
m_Owner: {fileID: 114350483966674986}
|
||||||
|
m_Value:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject: 0
|
||||||
|
m_Space: 2147483647
|
||||||
|
m_Property:
|
||||||
|
name: i
|
||||||
|
m_serializedType:
|
||||||
|
m_SerializableType: System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_Direction: 0
|
||||||
|
m_LinkedSlots:
|
||||||
|
- {fileID: 114350483966674983}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ee293e5e121c12d4fa5485ec07c7bb95
|
||||||
|
VisualEffectImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
File diff suppressed because it is too large.
Load diff
File renamed without changes.
@@ -1,10 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
public class Visualisation : MonoBehaviour
|
|
||||||
{
|
|
||||||
public GameObject vis;
|
|
||||||
|
|
||||||
void Start()
|
|
||||||
{
|
|
||||||
Instantiate(vis, new Vector3(0,0,0), Quaternion.identity);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: fb8fd4bd46f27a849bd996a1488c62bc
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Reference in new issue
Block a user