microphone listener
This commit is contained in:
1 parent
407ff42597
commit
02cb0d182e
9 files changed
+1699
-1318
No files matched your search
+59
-59
@@ -1,59 +1,59 @@
|
|||||||
# This .gitignore file should be placed at the root of your Unity project directory
|
# This .gitignore file should be placed at the root of your Unity project directory
|
||||||
#
|
#
|
||||||
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
|
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
|
||||||
#
|
#
|
||||||
/[Ll]ibrary/
|
/[Ll]ibrary/
|
||||||
/[Tt]emp/
|
/[Tt]emp/
|
||||||
/[Oo]bj/
|
/[Oo]bj/
|
||||||
/[Bb]uild/
|
/[Bb]uild/
|
||||||
/[Bb]uilds/
|
/[Bb]uilds/
|
||||||
/[Ll]ogs/
|
/[Ll]ogs/
|
||||||
/[Mm]emoryCaptures/
|
/[Mm]emoryCaptures/
|
||||||
|
|
||||||
# Never ignore Asset meta data
|
# Never ignore Asset meta data
|
||||||
!/[Aa]ssets/**/*.meta
|
!/[Aa]ssets/**/*.meta
|
||||||
|
|
||||||
# Uncomment this line if you wish to ignore the asset store tools plugin
|
# Uncomment this line if you wish to ignore the asset store tools plugin
|
||||||
# /[Aa]ssets/AssetStoreTools*
|
# /[Aa]ssets/AssetStoreTools*
|
||||||
|
|
||||||
# Autogenerated Jetbrains Rider plugin
|
# Autogenerated Jetbrains Rider plugin
|
||||||
[Aa]ssets/Plugins/Editor/JetBrains*
|
[Aa]ssets/Plugins/Editor/JetBrains*
|
||||||
|
|
||||||
# Visual Studio cache directory
|
# Visual Studio cache directory
|
||||||
.vs/
|
.vs/
|
||||||
|
|
||||||
# Gradle cache directory
|
# Gradle cache directory
|
||||||
.gradle/
|
.gradle/
|
||||||
|
|
||||||
# Autogenerated VS/MD/Consulo solution and project files
|
# Autogenerated VS/MD/Consulo solution and project files
|
||||||
ExportedObj/
|
ExportedObj/
|
||||||
.consulo/
|
.consulo/
|
||||||
*.csproj
|
*.csproj
|
||||||
*.unityproj
|
*.unityproj
|
||||||
*.sln
|
*.sln
|
||||||
*.suo
|
*.suo
|
||||||
*.tmp
|
*.tmp
|
||||||
*.user
|
*.user
|
||||||
*.userprefs
|
*.userprefs
|
||||||
*.pidb
|
*.pidb
|
||||||
*.booproj
|
*.booproj
|
||||||
*.svd
|
*.svd
|
||||||
*.pdb
|
*.pdb
|
||||||
*.mdb
|
*.mdb
|
||||||
*.opendb
|
*.opendb
|
||||||
*.VC.db
|
*.VC.db
|
||||||
|
|
||||||
# Unity3D generated meta files
|
# Unity3D generated meta files
|
||||||
*.pidb.meta
|
*.pidb.meta
|
||||||
*.pdb.meta
|
*.pdb.meta
|
||||||
*.mdb.meta
|
*.mdb.meta
|
||||||
|
|
||||||
# Unity3D generated file on crash reports
|
# Unity3D generated file on crash reports
|
||||||
sysinfo.txt
|
sysinfo.txt
|
||||||
|
|
||||||
# Builds
|
# Builds
|
||||||
*.apk
|
*.apk
|
||||||
*.unitypackage
|
*.unitypackage
|
||||||
|
|
||||||
# Crashlytics generated file
|
# Crashlytics generated file
|
||||||
crashlytics-build.properties
|
crashlytics-build.properties
|
||||||
+59
-59
@@ -1,59 +1,59 @@
|
|||||||
# This .gitignore file should be placed at the root of your Unity project directory
|
# This .gitignore file should be placed at the root of your Unity project directory
|
||||||
#
|
#
|
||||||
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
|
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
|
||||||
#
|
#
|
||||||
/[Ll]ibrary/
|
/[Ll]ibrary/
|
||||||
/[Tt]emp/
|
/[Tt]emp/
|
||||||
/[Oo]bj/
|
/[Oo]bj/
|
||||||
/[Bb]uild/
|
/[Bb]uild/
|
||||||
/[Bb]uilds/
|
/[Bb]uilds/
|
||||||
/[Ll]ogs/
|
/[Ll]ogs/
|
||||||
/[Mm]emoryCaptures/
|
/[Mm]emoryCaptures/
|
||||||
|
|
||||||
# Never ignore Asset meta data
|
# Never ignore Asset meta data
|
||||||
!/[Aa]ssets/**/*.meta
|
!/[Aa]ssets/**/*.meta
|
||||||
|
|
||||||
# Uncomment this line if you wish to ignore the asset store tools plugin
|
# Uncomment this line if you wish to ignore the asset store tools plugin
|
||||||
# /[Aa]ssets/AssetStoreTools*
|
# /[Aa]ssets/AssetStoreTools*
|
||||||
|
|
||||||
# Autogenerated Jetbrains Rider plugin
|
# Autogenerated Jetbrains Rider plugin
|
||||||
[Aa]ssets/Plugins/Editor/JetBrains*
|
[Aa]ssets/Plugins/Editor/JetBrains*
|
||||||
|
|
||||||
# Visual Studio cache directory
|
# Visual Studio cache directory
|
||||||
.vs/
|
.vs/
|
||||||
|
|
||||||
# Gradle cache directory
|
# Gradle cache directory
|
||||||
.gradle/
|
.gradle/
|
||||||
|
|
||||||
# Autogenerated VS/MD/Consulo solution and project files
|
# Autogenerated VS/MD/Consulo solution and project files
|
||||||
ExportedObj/
|
ExportedObj/
|
||||||
.consulo/
|
.consulo/
|
||||||
*.csproj
|
*.csproj
|
||||||
*.unityproj
|
*.unityproj
|
||||||
*.sln
|
*.sln
|
||||||
*.suo
|
*.suo
|
||||||
*.tmp
|
*.tmp
|
||||||
*.user
|
*.user
|
||||||
*.userprefs
|
*.userprefs
|
||||||
*.pidb
|
*.pidb
|
||||||
*.booproj
|
*.booproj
|
||||||
*.svd
|
*.svd
|
||||||
*.pdb
|
*.pdb
|
||||||
*.mdb
|
*.mdb
|
||||||
*.opendb
|
*.opendb
|
||||||
*.VC.db
|
*.VC.db
|
||||||
|
|
||||||
# Unity3D generated meta files
|
# Unity3D generated meta files
|
||||||
*.pidb.meta
|
*.pidb.meta
|
||||||
*.pdb.meta
|
*.pdb.meta
|
||||||
*.mdb.meta
|
*.mdb.meta
|
||||||
|
|
||||||
# Unity3D generated file on crash reports
|
# Unity3D generated file on crash reports
|
||||||
sysinfo.txt
|
sysinfo.txt
|
||||||
|
|
||||||
# Builds
|
# Builds
|
||||||
*.apk
|
*.apk
|
||||||
*.unitypackage
|
*.unitypackage
|
||||||
|
|
||||||
# Crashlytics generated file
|
# Crashlytics generated file
|
||||||
crashlytics-build.properties
|
crashlytics-build.properties
|
||||||
+40
-40
@@ -1,40 +1,40 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Cinemachine;
|
using Cinemachine;
|
||||||
|
|
||||||
public class CameraController : MonoBehaviour {
|
public class CameraController : MonoBehaviour {
|
||||||
private Vector2 mousePos;
|
private Vector2 mousePos;
|
||||||
|
|
||||||
private Vector2 worldSize;
|
private Vector2 worldSize;
|
||||||
private float mouseSens = 200f;
|
private float mouseSens = 200f;
|
||||||
private float moveSpeed = 100f;
|
private float moveSpeed = 100f;
|
||||||
|
|
||||||
void Start() {
|
void Start() {
|
||||||
mousePos = Input.mousePosition;
|
mousePos = Input.mousePosition;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Update() {
|
void Update() {
|
||||||
|
|
||||||
// Camera Rotation
|
// Camera Rotation
|
||||||
if (Input.GetMouseButton(0)) {
|
if (Input.GetMouseButton(0)) {
|
||||||
float yawDelta = mouseSens * Time.deltaTime * Input.GetAxis("Mouse X");
|
float yawDelta = mouseSens * Time.deltaTime * Input.GetAxis("Mouse X");
|
||||||
float pitchDelta = mouseSens * Time.deltaTime * Input.GetAxis("Mouse Y");
|
float pitchDelta = mouseSens * Time.deltaTime * Input.GetAxis("Mouse Y");
|
||||||
pitchDelta = Mathf.Clamp(pitchDelta, -90f, 90f);
|
pitchDelta = Mathf.Clamp(pitchDelta, -90f, 90f);
|
||||||
|
|
||||||
transform.Rotate(Vector3.up * yawDelta, Space.World);
|
transform.Rotate(Vector3.up * yawDelta, Space.World);
|
||||||
transform.Rotate(Vector3.left * pitchDelta);
|
transform.Rotate(Vector3.left * pitchDelta);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Camera Movement
|
// Camera Movement
|
||||||
if (Input.GetMouseButton(1)) {
|
if (Input.GetMouseButton(1)) {
|
||||||
Vector2 delta = new Vector2(
|
Vector2 delta = new Vector2(
|
||||||
(Input.mousePosition.x - mousePos.x) * moveSpeed * Time.deltaTime,
|
(Input.mousePosition.x - mousePos.x) * moveSpeed * Time.deltaTime,
|
||||||
(Input.mousePosition.y - mousePos.y) * moveSpeed * Time.deltaTime
|
(Input.mousePosition.y - mousePos.y) * moveSpeed * Time.deltaTime
|
||||||
) * -1;
|
) * -1;
|
||||||
transform.position += new Vector3(delta.x, delta.y, 0.0f);
|
transform.position += new Vector3(delta.x, delta.y, 0.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
mousePos = Input.mousePosition;
|
mousePos = Input.mousePosition;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+72
-48
@@ -1,48 +1,72 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.VFX;
|
using UnityEngine.VFX;
|
||||||
|
using UnityEngine.UI;
|
||||||
public class Loader : MonoBehaviour {
|
|
||||||
public KeyCode NextButton = KeyCode.Space;
|
public class Loader : MonoBehaviour {
|
||||||
public KeyCode PrevButton = KeyCode.Return;
|
public KeyCode NextButton = KeyCode.Space;
|
||||||
|
public KeyCode PrevButton = KeyCode.Return;
|
||||||
public GameObject[] vis;
|
public KeyCode MenuButton = KeyCode.Escape;
|
||||||
|
|
||||||
private int _current = 0;
|
public GameObject[] vis;
|
||||||
private int _count;
|
public GameObject menu;
|
||||||
|
|
||||||
void Awake() {
|
private int _current = 0;
|
||||||
vis = GameObject.FindGameObjectsWithTag("VFX");
|
private int _count;
|
||||||
|
|
||||||
foreach (GameObject v in vis) {
|
private bool _menu_visible = false;
|
||||||
v.SetActive(false);
|
|
||||||
v.GetComponent<VisualEffect>().enabled = true;
|
void Awake() {
|
||||||
}
|
vis = GameObject.FindGameObjectsWithTag("VFX");
|
||||||
|
_count = vis.Length;
|
||||||
_count = vis.Length;
|
|
||||||
}
|
foreach (GameObject v in vis) {
|
||||||
|
// all visualisations are active
|
||||||
void Start() {
|
// but their vfx components are disabled in editor
|
||||||
foreach (GameObject v in vis) {
|
v.SetActive(false);
|
||||||
Debug.Log(v.ToString());
|
v.GetComponent<VisualEffect>().enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug.Log($"{_current}, {_count}");
|
ToggleMenu(_menu_visible);
|
||||||
vis[_current].SetActive(true);
|
}
|
||||||
}
|
|
||||||
|
void Start() {
|
||||||
void Update() {
|
foreach (GameObject v in vis) {
|
||||||
if (Input.GetKeyDown(NextButton)) {
|
Debug.Log(v.ToString());
|
||||||
LoadNextVis();
|
}
|
||||||
}
|
|
||||||
|
foreach (var device in Microphone.devices) {
|
||||||
}
|
Debug.Log("Microphone: " + device);
|
||||||
|
}
|
||||||
void LoadNextVis() {
|
|
||||||
vis[_current].SetActive(false);
|
vis[_current].SetActive(true);
|
||||||
int next = (_current + 1) % _count;
|
}
|
||||||
_current = next;
|
|
||||||
vis[next].SetActive(true);
|
void Update() {
|
||||||
}
|
if (Input.GetKeyDown(NextButton)) {
|
||||||
}
|
LoadNextVis();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Input.GetKeyDown(MenuButton)) {
|
||||||
|
ToggleMenu(!_menu_visible);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void LoadNextVis() {
|
||||||
|
vis[_current].SetActive(false);
|
||||||
|
int next = (_current + 1) % _count;
|
||||||
|
_current = next;
|
||||||
|
vis[next].SetActive(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
void ToggleMenu(bool visible) {
|
||||||
|
if (visible) {
|
||||||
|
menu.GetComponent<Canvas>().enabled = true;
|
||||||
|
} else {
|
||||||
|
menu.GetComponent<Canvas>().enabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
_menu_visible = visible;
|
||||||
|
}
|
||||||
|
}
|
||||||
+1207
-1058
File diff suppressed because it is too large.
Load diff
+35
-35
@@ -1,35 +1,35 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Assets.WasapiAudio.Scripts.Unity;
|
using Assets.WasapiAudio.Scripts.Unity;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public abstract class TripsitterAve : MonoBehaviour
|
public abstract class TripsitterAve : MonoBehaviour
|
||||||
{
|
{
|
||||||
// Inspector Properties
|
// Inspector Properties
|
||||||
public WasapiAudioSource WasapiAudioSource;
|
public WasapiAudioSource WasapiAudioSource;
|
||||||
|
|
||||||
[SpectrumDataPreview]
|
[SpectrumDataPreview]
|
||||||
public SpectrumData Preview;
|
public SpectrumData Preview;
|
||||||
|
|
||||||
protected int SpectrumSize { get; private set; }
|
protected int SpectrumSize { get; private set; }
|
||||||
|
|
||||||
public virtual void Awake()
|
public virtual void Awake()
|
||||||
{
|
{
|
||||||
WasapiAudioSource = GameObject.Find("WasapiLoopback").GetComponent<WasapiAudioSource>();
|
WasapiAudioSource = GameObject.Find("WasapiLoopback").GetComponent<WasapiAudioSource>();
|
||||||
SpectrumSize = WasapiAudioSource.SpectrumSize;
|
SpectrumSize = WasapiAudioSource.SpectrumSize;
|
||||||
Preview = new SpectrumData();
|
Preview = new SpectrumData();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected float[] GetSpectrumData()
|
protected float[] GetSpectrumData()
|
||||||
{
|
{
|
||||||
if (WasapiAudioSource == null)
|
if (WasapiAudioSource == null)
|
||||||
{
|
{
|
||||||
Debug.Log("You must set a WasapiAudioSource");
|
Debug.Log("You must set a WasapiAudioSource");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get raw / unmodified spectrum data
|
// Get raw / unmodified spectrum data
|
||||||
var spectrumData = WasapiAudioSource.GetSpectrumData();
|
var spectrumData = WasapiAudioSource.GetSpectrumData();
|
||||||
Preview.Values = spectrumData;
|
Preview.Values = spectrumData;
|
||||||
return spectrumData;
|
return spectrumData;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1436,7 +1436,7 @@ MonoBehaviour:
|
|||||||
- {fileID: 8926484042661614583}
|
- {fileID: 8926484042661614583}
|
||||||
- {fileID: 8926484042661614585}
|
- {fileID: 8926484042661614585}
|
||||||
dataType: 0
|
dataType: 0
|
||||||
capacity: 1000000
|
capacity: 10000000
|
||||||
stripCapacity: 16
|
stripCapacity: 16
|
||||||
particlePerStripCount: 16
|
particlePerStripCount: 16
|
||||||
m_Space: 0
|
m_Space: 0
|
||||||
@@ -2379,7 +2379,7 @@ MonoBehaviour:
|
|||||||
m_Type:
|
m_Type:
|
||||||
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
PublicKeyToken=b77a5c561934e089
|
PublicKeyToken=b77a5c561934e089
|
||||||
m_SerializableObject: 10000
|
m_SerializableObject: 100000
|
||||||
m_Space: 2147483647
|
m_Space: 2147483647
|
||||||
m_Property:
|
m_Property:
|
||||||
name: Rate
|
name: Rate
|
||||||
|
|||||||
+219
-17
@@ -150,6 +150,8 @@ MonoBehaviour:
|
|||||||
- {fileID: 8926484042661615376}
|
- {fileID: 8926484042661615376}
|
||||||
- {fileID: 8926484042661615383}
|
- {fileID: 8926484042661615383}
|
||||||
- {fileID: 8926484042661615393}
|
- {fileID: 8926484042661615393}
|
||||||
|
- {fileID: 8926484042661615429}
|
||||||
|
- {fileID: 8926484042661615433}
|
||||||
m_UIPosition: {x: 0, y: 0}
|
m_UIPosition: {x: 0, y: 0}
|
||||||
m_UICollapsed: 1
|
m_UICollapsed: 1
|
||||||
m_UISuperCollapsed: 0
|
m_UISuperCollapsed: 0
|
||||||
@@ -225,6 +227,20 @@ MonoBehaviour:
|
|||||||
max: Infinity
|
max: Infinity
|
||||||
enumValues: []
|
enumValues: []
|
||||||
descendantCount: 0
|
descendantCount: 0
|
||||||
|
- name: SizeMult
|
||||||
|
path: SizeMult
|
||||||
|
tooltip:
|
||||||
|
sheetType: m_Float
|
||||||
|
realType: Single
|
||||||
|
defaultValue:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject: 1
|
||||||
|
min: 1
|
||||||
|
max: 10
|
||||||
|
enumValues: []
|
||||||
|
descendantCount: 0
|
||||||
m_ImportDependencies: []
|
m_ImportDependencies: []
|
||||||
m_GraphVersion: 6
|
m_GraphVersion: 6
|
||||||
m_ResourceVersion: 1
|
m_ResourceVersion: 1
|
||||||
@@ -790,6 +806,7 @@ MonoBehaviour:
|
|||||||
m_Direction: 1
|
m_Direction: 1
|
||||||
m_LinkedSlots:
|
m_LinkedSlots:
|
||||||
- {fileID: 8926484042661614946}
|
- {fileID: 8926484042661614946}
|
||||||
|
- {fileID: 8926484042661615430}
|
||||||
--- !u!114 &8926484042661614646
|
--- !u!114 &8926484042661614646
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -968,7 +985,7 @@ MonoBehaviour:
|
|||||||
- {fileID: 8926484042661615001}
|
- {fileID: 8926484042661615001}
|
||||||
- {fileID: 8926484042661615286}
|
- {fileID: 8926484042661615286}
|
||||||
- {fileID: 8926484042661615415}
|
- {fileID: 8926484042661615415}
|
||||||
- {fileID: 8926484042661615424}
|
- {fileID: 8926484042661615427}
|
||||||
m_UIPosition: {x: 941, y: 333}
|
m_UIPosition: {x: 941, y: 333}
|
||||||
m_UICollapsed: 0
|
m_UICollapsed: 0
|
||||||
m_UISuperCollapsed: 0
|
m_UISuperCollapsed: 0
|
||||||
@@ -4982,7 +4999,7 @@ MonoBehaviour:
|
|||||||
PublicKeyToken=b77a5c561934e089
|
PublicKeyToken=b77a5c561934e089
|
||||||
m_Direction: 0
|
m_Direction: 0
|
||||||
m_LinkedSlots: []
|
m_LinkedSlots: []
|
||||||
--- !u!114 &8926484042661615424
|
--- !u!114 &8926484042661615427
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@@ -5001,16 +5018,15 @@ MonoBehaviour:
|
|||||||
m_UICollapsed: 0
|
m_UICollapsed: 0
|
||||||
m_UISuperCollapsed: 0
|
m_UISuperCollapsed: 0
|
||||||
m_InputSlots:
|
m_InputSlots:
|
||||||
- {fileID: 8926484042661615425}
|
- {fileID: 8926484042661615428}
|
||||||
- {fileID: 8926484042661615426}
|
|
||||||
m_OutputSlots: []
|
m_OutputSlots: []
|
||||||
m_Disabled: 0
|
m_Disabled: 0
|
||||||
attribute: size
|
attribute: size
|
||||||
Composition: 0
|
Composition: 0
|
||||||
Source: 0
|
Source: 0
|
||||||
Random: 2
|
Random: 0
|
||||||
channels: 6
|
channels: 6
|
||||||
--- !u!114 &8926484042661615425
|
--- !u!114 &8926484042661615428
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@@ -5028,23 +5044,56 @@ MonoBehaviour:
|
|||||||
m_UIPosition: {x: 0, y: 0}
|
m_UIPosition: {x: 0, y: 0}
|
||||||
m_UICollapsed: 1
|
m_UICollapsed: 1
|
||||||
m_UISuperCollapsed: 0
|
m_UISuperCollapsed: 0
|
||||||
m_MasterSlot: {fileID: 8926484042661615425}
|
m_MasterSlot: {fileID: 8926484042661615428}
|
||||||
m_MasterData:
|
m_MasterData:
|
||||||
m_Owner: {fileID: 8926484042661615424}
|
m_Owner: {fileID: 8926484042661615427}
|
||||||
m_Value:
|
m_Value:
|
||||||
m_Type:
|
m_Type:
|
||||||
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
PublicKeyToken=b77a5c561934e089
|
PublicKeyToken=b77a5c561934e089
|
||||||
m_SerializableObject: 0.5
|
m_SerializableObject: 0.1
|
||||||
m_Space: 2147483647
|
m_Space: 2147483647
|
||||||
m_Property:
|
m_Property:
|
||||||
name: A
|
name: Size
|
||||||
m_serializedType:
|
m_serializedType:
|
||||||
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
PublicKeyToken=b77a5c561934e089
|
PublicKeyToken=b77a5c561934e089
|
||||||
m_Direction: 0
|
m_Direction: 0
|
||||||
m_LinkedSlots: []
|
m_LinkedSlots:
|
||||||
--- !u!114 &8926484042661615426
|
- {fileID: 8926484042661615432}
|
||||||
|
--- !u!114 &8926484042661615429
|
||||||
|
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: b8ee8a7543fa09e42a7c8616f60d2ad7, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UIIgnoredErrors: []
|
||||||
|
m_Parent: {fileID: 114350483966674976}
|
||||||
|
m_Children: []
|
||||||
|
m_UIPosition: {x: 694, y: 1193}
|
||||||
|
m_UICollapsed: 0
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_InputSlots:
|
||||||
|
- {fileID: 8926484042661615430}
|
||||||
|
- {fileID: 8926484042661615431}
|
||||||
|
m_OutputSlots:
|
||||||
|
- {fileID: 8926484042661615432}
|
||||||
|
m_Operands:
|
||||||
|
- name: a
|
||||||
|
type:
|
||||||
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
- name: b
|
||||||
|
type:
|
||||||
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
--- !u!114 &8926484042661615430
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@@ -5062,19 +5111,172 @@ MonoBehaviour:
|
|||||||
m_UIPosition: {x: 0, y: 0}
|
m_UIPosition: {x: 0, y: 0}
|
||||||
m_UICollapsed: 1
|
m_UICollapsed: 1
|
||||||
m_UISuperCollapsed: 0
|
m_UISuperCollapsed: 0
|
||||||
m_MasterSlot: {fileID: 8926484042661615426}
|
m_MasterSlot: {fileID: 8926484042661615430}
|
||||||
m_MasterData:
|
m_MasterData:
|
||||||
m_Owner: {fileID: 8926484042661615424}
|
m_Owner: {fileID: 8926484042661615429}
|
||||||
m_Value:
|
m_Value:
|
||||||
m_Type:
|
m_Type:
|
||||||
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
PublicKeyToken=b77a5c561934e089
|
PublicKeyToken=b77a5c561934e089
|
||||||
m_SerializableObject: 2
|
m_SerializableObject: 1
|
||||||
m_Space: 2147483647
|
m_Space: 2147483647
|
||||||
m_Property:
|
m_Property:
|
||||||
name: B
|
name: a
|
||||||
m_serializedType:
|
m_serializedType:
|
||||||
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
PublicKeyToken=b77a5c561934e089
|
PublicKeyToken=b77a5c561934e089
|
||||||
m_Direction: 0
|
m_Direction: 0
|
||||||
m_LinkedSlots: []
|
m_LinkedSlots:
|
||||||
|
- {fileID: 8926484042661614645}
|
||||||
|
--- !u!114 &8926484042661615431
|
||||||
|
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: f780aa281814f9842a7c076d436932e7, 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: 8926484042661615431}
|
||||||
|
m_MasterData:
|
||||||
|
m_Owner: {fileID: 8926484042661615429}
|
||||||
|
m_Value:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.Single, 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.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_Direction: 0
|
||||||
|
m_LinkedSlots:
|
||||||
|
- {fileID: 8926484042661615434}
|
||||||
|
--- !u!114 &8926484042661615432
|
||||||
|
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: f780aa281814f9842a7c076d436932e7, 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: 8926484042661615432}
|
||||||
|
m_MasterData:
|
||||||
|
m_Owner: {fileID: 8926484042661615429}
|
||||||
|
m_Value:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject:
|
||||||
|
m_Space: 2147483647
|
||||||
|
m_Property:
|
||||||
|
name:
|
||||||
|
m_serializedType:
|
||||||
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_Direction: 1
|
||||||
|
m_LinkedSlots:
|
||||||
|
- {fileID: 8926484042661615428}
|
||||||
|
--- !u!114 &8926484042661615433
|
||||||
|
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: 0
|
||||||
|
m_UISuperCollapsed: 0
|
||||||
|
m_InputSlots: []
|
||||||
|
m_OutputSlots:
|
||||||
|
- {fileID: 8926484042661615434}
|
||||||
|
m_ExposedName: SizeMult
|
||||||
|
m_Exposed: 1
|
||||||
|
m_Order: 5
|
||||||
|
m_Category:
|
||||||
|
m_Min:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject: 1
|
||||||
|
m_Max:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject: 10
|
||||||
|
m_IsOutput: 0
|
||||||
|
m_EnumValues: []
|
||||||
|
m_ValueFilter: 1
|
||||||
|
m_Tooltip:
|
||||||
|
m_Nodes:
|
||||||
|
- m_Id: 0
|
||||||
|
linkedSlots:
|
||||||
|
- outputSlot: {fileID: 8926484042661615434}
|
||||||
|
inputSlot: {fileID: 8926484042661615431}
|
||||||
|
position: {x: 557, y: 1244}
|
||||||
|
expandedSlots: []
|
||||||
|
expanded: 0
|
||||||
|
--- !u!114 &8926484042661615434
|
||||||
|
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: f780aa281814f9842a7c076d436932e7, 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: 8926484042661615434}
|
||||||
|
m_MasterData:
|
||||||
|
m_Owner: {fileID: 8926484042661615433}
|
||||||
|
m_Value:
|
||||||
|
m_Type:
|
||||||
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_SerializableObject: 1
|
||||||
|
m_Space: 2147483647
|
||||||
|
m_Property:
|
||||||
|
name: o
|
||||||
|
m_serializedType:
|
||||||
|
m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral,
|
||||||
|
PublicKeyToken=b77a5c561934e089
|
||||||
|
m_Direction: 1
|
||||||
|
m_LinkedSlots:
|
||||||
|
- {fileID: 8926484042661615431}
|
||||||
Reference in new issue
Block a user