Compare commits
2 Commits
6e555569c0
...
ee8166613a
Author | SHA1 | Date |
---|---|---|
|
ee8166613a | |
|
d714fb604f |
|
@ -40,10 +40,12 @@ namespace ZC
|
||||||
|
|
||||||
private byte[] _bitmapArray;
|
private byte[] _bitmapArray;
|
||||||
private ConcurrentQueue<NativeArray<byte>> _textureDataPool;
|
private ConcurrentQueue<NativeArray<byte>> _textureDataPool;
|
||||||
private Queue<(AsyncGPUReadbackRequest, NativeArray<byte>)> _textureDatas;
|
private ConcurrentDictionary<uint, NativeArray<byte>> _doneTextureDatas;
|
||||||
private ConcurrentQueue<(AsyncGPUReadbackRequest, NativeArray<byte>)> _doneTextureDatas;
|
|
||||||
private int _targetTextureWidth;
|
private int _targetTextureWidth;
|
||||||
private int _targetTextureHeight;
|
private int _targetTextureHeight;
|
||||||
|
private uint _frameIndex;
|
||||||
|
private uint _doneFrameIndex;
|
||||||
|
private int _frameCount;
|
||||||
|
|
||||||
public void SetCamera(Camera camera)
|
public void SetCamera(Camera camera)
|
||||||
{
|
{
|
||||||
|
@ -61,8 +63,7 @@ namespace ZC
|
||||||
}
|
}
|
||||||
|
|
||||||
_textureDataPool = new ConcurrentQueue<NativeArray<byte>>();
|
_textureDataPool = new ConcurrentQueue<NativeArray<byte>>();
|
||||||
_textureDatas = new Queue<(AsyncGPUReadbackRequest, NativeArray<byte>)>();
|
_doneTextureDatas = new ConcurrentDictionary<uint, NativeArray<byte>>();
|
||||||
_doneTextureDatas = new ConcurrentQueue<(AsyncGPUReadbackRequest, NativeArray<byte>)>();
|
|
||||||
_config.Load();
|
_config.Load();
|
||||||
_timer = new Timer(Tick, null, TimeSpan.FromMilliseconds(0), TimeSpan.FromMilliseconds(16));
|
_timer = new Timer(Tick, null, TimeSpan.FromMilliseconds(0), TimeSpan.FromMilliseconds(16));
|
||||||
Setup(Camera.main);
|
Setup(Camera.main);
|
||||||
|
@ -76,16 +77,17 @@ namespace ZC
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (this._doneTextureDatas.TryDequeue(out var result))
|
if (_doneTextureDatas.TryRemove(this._doneFrameIndex, out var result))
|
||||||
{
|
{
|
||||||
var textureData = result.Item2;
|
var textureData = result;
|
||||||
Profiler.BeginSample("Conversion");
|
Profiler.BeginSample("Conversion");
|
||||||
Bitmap.EncodeToBitmap(textureData, _bitmapArray, 0, textureData.Length, _targetTextureWidth, this._targetTextureHeight);
|
Bitmap.EncodeToBitmap(textureData, _bitmapArray, 0, textureData.Length, _targetTextureWidth, this._targetTextureHeight);
|
||||||
Profiler.EndSample();
|
Profiler.EndSample();
|
||||||
Profiler.BeginSample("WriteBuffer");
|
Profiler.BeginSample("WriteBuffer");
|
||||||
_process.StandardInput.BaseStream.Write(_bitmapArray, 0, _bitmapArray.Length);
|
_process.StandardInput.BaseStream.Write(_bitmapArray, 0, _bitmapArray.Length);
|
||||||
Profiler.EndSample();
|
Profiler.EndSample();
|
||||||
_textureDataPool.Enqueue(result.Item2);
|
_textureDataPool.Enqueue(result);
|
||||||
|
_ = _doneFrameIndex + 1 >= uint.MaxValue ? _doneFrameIndex = 0 : _doneFrameIndex++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
@ -108,6 +110,7 @@ namespace ZC
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
|
this._frameCount = Time.frameCount;
|
||||||
if (_sendData != 0)
|
if (_sendData != 0)
|
||||||
{
|
{
|
||||||
if (_camera && !_isRequesting)
|
if (_camera && !_isRequesting)
|
||||||
|
@ -120,40 +123,29 @@ namespace ZC
|
||||||
nativeArray = new NativeArray<byte>(targetTextureByteCount, Allocator.Persistent);
|
nativeArray = new NativeArray<byte>(targetTextureByteCount, Allocator.Persistent);
|
||||||
}
|
}
|
||||||
|
|
||||||
var asyncGPUReadbackRequest = AsyncGPUReadback.RequestIntoNativeArray(ref nativeArray, cameraActiveTexture, 0, GraphicsFormat.B8G8R8_SRGB, null);
|
var frameIndex = this._frameIndex + 1 >= uint.MaxValue ? this._frameIndex = 0 : this._frameIndex++;
|
||||||
_textureDatas.Enqueue((asyncGPUReadbackRequest, nativeArray));
|
AsyncGPUReadback.RequestIntoNativeArray(ref nativeArray, cameraActiveTexture, 0, GraphicsFormat.B8G8R8_SRGB, request =>
|
||||||
}
|
|
||||||
|
|
||||||
if (_textureDatas.TryPeek(out var result))
|
|
||||||
{
|
|
||||||
if (result.Item1.done)
|
|
||||||
{
|
{
|
||||||
this._textureDatas.Dequeue();
|
if (request is { done: true, hasError: false })
|
||||||
if (result.Item1.hasError)
|
|
||||||
{
|
{
|
||||||
Debug.LogError("Request GPU DATA has error");
|
this._doneTextureDatas[frameIndex] = nativeArray;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//放入多线程计算
|
this._textureDataPool.Enqueue(nativeArray);
|
||||||
this._doneTextureDatas.Enqueue(result);
|
Debug.LogError($"Done:{request.done} Error:{request.hasError}");
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void DisposeCaptureThread()
|
private void DisposeCaptureThread()
|
||||||
{
|
{
|
||||||
foreach (var textureData in this._textureDatas)
|
foreach (var kv in this._doneTextureDatas)
|
||||||
{
|
{
|
||||||
textureData.Item2.Dispose();
|
kv.Value.Dispose();
|
||||||
}
|
|
||||||
|
|
||||||
_textureDatas.Clear();
|
|
||||||
foreach (var doneTextureData in this._doneTextureDatas)
|
|
||||||
{
|
|
||||||
doneTextureData.Item2.Dispose();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_doneTextureDatas.Clear();
|
_doneTextureDatas.Clear();
|
||||||
|
@ -163,6 +155,8 @@ namespace ZC
|
||||||
nativeArray.Dispose();
|
nativeArray.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_textureDataPool.Clear();
|
||||||
|
|
||||||
if (_process != null && !this._process.HasExited)
|
if (_process != null && !this._process.HasExited)
|
||||||
{
|
{
|
||||||
GenerateConsoleCtrlEvent(ConsoleCtrlEvent.CTRL_C, 0);
|
GenerateConsoleCtrlEvent(ConsoleCtrlEvent.CTRL_C, 0);
|
||||||
|
@ -188,13 +182,13 @@ namespace ZC
|
||||||
processStartInfo.StandardErrorEncoding = System.Text.Encoding.UTF8;
|
processStartInfo.StandardErrorEncoding = System.Text.Encoding.UTF8;
|
||||||
processStartInfo.FileName = $"\"{_config.ffmpegPath}\"";
|
processStartInfo.FileName = $"\"{_config.ffmpegPath}\"";
|
||||||
processStartInfo.Arguments =
|
processStartInfo.Arguments =
|
||||||
$" -probesize 32 -thread_queue_size 5096 -fflags discardcorrupt -flags low_delay -analyzeduration 0 " +
|
$" -probesize 64 -thread_queue_size 5096 -fflags discardcorrupt -flags low_delay -analyzeduration 0 " +
|
||||||
$" -rtbufsize 100M -f dshow -i audio=\"virtual-audio-capturer\" " +
|
$" -rtbufsize 100M -f dshow -i audio=\"virtual-audio-capturer\" " +
|
||||||
$" -f image2pipe -use_wallclock_as_timestamps 1 -r 60 -i - " +
|
$" -f image2pipe -use_wallclock_as_timestamps 1 -r 60 -i - " +
|
||||||
$" -loglevel info " +
|
$" -loglevel info " +
|
||||||
$" -map 0:a:0 -map 1:v:0 " +
|
$" -map 0:a:0 -map 1:v:0 " +
|
||||||
$" -c:a aac " +
|
$" -c:a aac " +
|
||||||
$" -c:v:0 libx264 -g 1 -bf 0 -max_delay 0 -vf scale={this._config.resolution} -preset:v ultrafast -tune:v zerolatency -crf 10 -pix_fmt yuv420p -strict -2 " +
|
$" -c:v:0 libx264 -g 1 -bf 0 -speed 1x -max_delay 0 -vf scale={this._config.resolution} -preset:v ultrafast -tune:v zerolatency -crf 10 -pix_fmt yuv420p -strict -2 " +
|
||||||
$" -f flv {this._config.server}{this._config.appName} -bf 0 ";
|
$" -f flv {this._config.server}{this._config.appName} -bf 0 ";
|
||||||
Debug.Log(processStartInfo.Arguments);
|
Debug.Log(processStartInfo.Arguments);
|
||||||
|
|
||||||
|
@ -241,6 +235,7 @@ namespace ZC
|
||||||
|
|
||||||
_output = new Texture2D(this._targetTextureWidth, this._targetTextureHeight);
|
_output = new Texture2D(this._targetTextureWidth, this._targetTextureHeight);
|
||||||
|
|
||||||
|
_frameIndex = _doneFrameIndex = 0;
|
||||||
CreateCaptureThread();
|
CreateCaptureThread();
|
||||||
|
|
||||||
StartCoroutine(this.Test());
|
StartCoroutine(this.Test());
|
||||||
|
|
|
@ -284,7 +284,99 @@ PlayerSettings:
|
||||||
AndroidValidateAppBundleSize: 1
|
AndroidValidateAppBundleSize: 1
|
||||||
AndroidAppBundleSizeToValidate: 150
|
AndroidAppBundleSizeToValidate: 150
|
||||||
m_BuildTargetIcons: []
|
m_BuildTargetIcons: []
|
||||||
m_BuildTargetPlatformIcons: []
|
m_BuildTargetPlatformIcons:
|
||||||
|
- m_BuildTarget: Android
|
||||||
|
m_Icons:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 432
|
||||||
|
m_Height: 432
|
||||||
|
m_Kind: 2
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 324
|
||||||
|
m_Height: 324
|
||||||
|
m_Kind: 2
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 216
|
||||||
|
m_Height: 216
|
||||||
|
m_Kind: 2
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 162
|
||||||
|
m_Height: 162
|
||||||
|
m_Kind: 2
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 108
|
||||||
|
m_Height: 108
|
||||||
|
m_Kind: 2
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 81
|
||||||
|
m_Height: 81
|
||||||
|
m_Kind: 2
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 192
|
||||||
|
m_Height: 192
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 144
|
||||||
|
m_Height: 144
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 96
|
||||||
|
m_Height: 96
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 72
|
||||||
|
m_Height: 72
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 48
|
||||||
|
m_Height: 48
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 36
|
||||||
|
m_Height: 36
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 192
|
||||||
|
m_Height: 192
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 144
|
||||||
|
m_Height: 144
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 96
|
||||||
|
m_Height: 96
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 72
|
||||||
|
m_Height: 72
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 48
|
||||||
|
m_Height: 48
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 36
|
||||||
|
m_Height: 36
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
m_BuildTargetBatching:
|
m_BuildTargetBatching:
|
||||||
- m_BuildTarget: Standalone
|
- m_BuildTarget: Standalone
|
||||||
m_StaticBatching: 1
|
m_StaticBatching: 1
|
||||||
|
|
|
@ -25,7 +25,7 @@ MonoBehaviour:
|
||||||
m_MinSize: {x: 400, y: 150}
|
m_MinSize: {x: 400, y: 150}
|
||||||
m_MaxSize: {x: 32384, y: 24288}
|
m_MaxSize: {x: 32384, y: 24288}
|
||||||
vertical: 0
|
vertical: 0
|
||||||
controlID: 14567
|
controlID: 4724
|
||||||
draggingID: 0
|
draggingID: 0
|
||||||
--- !u!114 &2
|
--- !u!114 &2
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -47,10 +47,10 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 34
|
x: 36
|
||||||
y: 824
|
y: 501
|
||||||
width: 1121
|
width: 1180
|
||||||
height: 156
|
height: 494
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
m_DataMode: 0
|
m_DataMode: 0
|
||||||
m_PreferredDataMode: 0
|
m_PreferredDataMode: 0
|
||||||
|
@ -103,23 +103,23 @@ MonoBehaviour:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 21
|
y: 21
|
||||||
width: 1121
|
width: 1180
|
||||||
height: 135
|
height: 473
|
||||||
m_Scale: {x: 0.125, y: 0.125}
|
m_Scale: {x: 0.43796295, y: 0.43796295}
|
||||||
m_Translation: {x: 560.5, y: 67.5}
|
m_Translation: {x: 590, y: 236.5}
|
||||||
m_MarginLeft: 0
|
m_MarginLeft: 0
|
||||||
m_MarginRight: 0
|
m_MarginRight: 0
|
||||||
m_MarginTop: 0
|
m_MarginTop: 0
|
||||||
m_MarginBottom: 0
|
m_MarginBottom: 0
|
||||||
m_LastShownAreaInsideMargins:
|
m_LastShownAreaInsideMargins:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: -4484
|
x: -1347.1459
|
||||||
y: -540
|
y: -540
|
||||||
width: 8968
|
width: 2694.2917
|
||||||
height: 1080
|
height: 1080
|
||||||
m_MinimalGUI: 1
|
m_MinimalGUI: 1
|
||||||
m_defaultScale: 0.125
|
m_defaultScale: 0.43796295
|
||||||
m_LastWindowPixelSize: {x: 1121, y: 156}
|
m_LastWindowPixelSize: {x: 1180, y: 494}
|
||||||
m_ClearInEditMode: 1
|
m_ClearInEditMode: 1
|
||||||
m_NoCameraWarning: 1
|
m_NoCameraWarning: 1
|
||||||
m_LowResolutionForAspectRatios: 01000000000000000000
|
m_LowResolutionForAspectRatios: 01000000000000000000
|
||||||
|
@ -144,12 +144,12 @@ MonoBehaviour:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
width: 1351
|
width: 1424
|
||||||
height: 1152
|
height: 1152
|
||||||
m_MinSize: {x: 200, y: 150}
|
m_MinSize: {x: 200, y: 150}
|
||||||
m_MaxSize: {x: 16192, y: 24288}
|
m_MaxSize: {x: 16192, y: 24288}
|
||||||
vertical: 0
|
vertical: 0
|
||||||
controlID: 14568
|
controlID: 4725
|
||||||
draggingID: 0
|
draggingID: 0
|
||||||
--- !u!114 &4
|
--- !u!114 &4
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -171,12 +171,12 @@ MonoBehaviour:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
width: 1122
|
width: 1181
|
||||||
height: 1152
|
height: 1152
|
||||||
m_MinSize: {x: 100, y: 150}
|
m_MinSize: {x: 100, y: 150}
|
||||||
m_MaxSize: {x: 8096, y: 24288}
|
m_MaxSize: {x: 8096, y: 24288}
|
||||||
vertical: 1
|
vertical: 1
|
||||||
controlID: 14569
|
controlID: 4726
|
||||||
draggingID: 0
|
draggingID: 0
|
||||||
--- !u!114 &5
|
--- !u!114 &5
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -195,8 +195,8 @@ MonoBehaviour:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
width: 1122
|
width: 1181
|
||||||
height: 618
|
height: 320
|
||||||
m_MinSize: {x: 201, y: 221}
|
m_MinSize: {x: 201, y: 221}
|
||||||
m_MaxSize: {x: 4001, y: 4021}
|
m_MaxSize: {x: 4001, y: 4021}
|
||||||
m_ActualView: {fileID: 6}
|
m_ActualView: {fileID: 6}
|
||||||
|
@ -224,10 +224,10 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 34
|
x: 36
|
||||||
y: 206
|
y: 181
|
||||||
width: 1121
|
width: 1180
|
||||||
height: 597
|
height: 299
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
m_DataMode: 0
|
m_DataMode: 0
|
||||||
m_PreferredDataMode: 0
|
m_PreferredDataMode: 0
|
||||||
|
@ -255,9 +255,9 @@ MonoBehaviour:
|
||||||
floating: 0
|
floating: 0
|
||||||
collapsed: 0
|
collapsed: 0
|
||||||
displayed: 1
|
displayed: 1
|
||||||
snapOffset: {x: -141, y: 149}
|
snapOffset: {x: -141, y: -150}
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
snapOffsetDelta: {x: 0, y: 0}
|
||||||
snapCorner: 1
|
snapCorner: 3
|
||||||
id: unity-grid-and-snap-toolbar
|
id: unity-grid-and-snap-toolbar
|
||||||
index: 1
|
index: 1
|
||||||
layout: 1
|
layout: 1
|
||||||
|
@ -547,9 +547,9 @@ MonoBehaviour:
|
||||||
m_PlayAudio: 0
|
m_PlayAudio: 0
|
||||||
m_AudioPlay: 0
|
m_AudioPlay: 0
|
||||||
m_Position:
|
m_Position:
|
||||||
m_Target: {x: 557.97614, y: -379.7131, z: 569.63074}
|
m_Target: {x: -5.8655267, y: 213.7894, z: 101.9735}
|
||||||
speed: 2
|
speed: 2
|
||||||
m_Value: {x: 557.97614, y: -379.7131, z: 569.63074}
|
m_Value: {x: -5.8655267, y: 213.7894, z: 101.9735}
|
||||||
m_RenderMode: 0
|
m_RenderMode: 0
|
||||||
m_CameraMode:
|
m_CameraMode:
|
||||||
drawMode: 0
|
drawMode: 0
|
||||||
|
@ -595,13 +595,13 @@ MonoBehaviour:
|
||||||
m_GridAxis: 1
|
m_GridAxis: 1
|
||||||
m_gridOpacity: 0.5
|
m_gridOpacity: 0.5
|
||||||
m_Rotation:
|
m_Rotation:
|
||||||
m_Target: {x: -0.18233694, y: -0.31602854, z: 0.062028006, w: -0.928995}
|
m_Target: {x: -0.11479808, y: -0.7598516, z: 0.13969089, w: -0.62444675}
|
||||||
speed: 2
|
speed: 2
|
||||||
m_Value: {x: -0.18242978, y: -0.31463468, z: 0.06175443, w: -0.92946804}
|
m_Value: {x: -0.11479806, y: -0.75985146, z: 0.13969088, w: -0.6244467}
|
||||||
m_Size:
|
m_Size:
|
||||||
m_Target: 1427.9281
|
m_Target: 633.70593
|
||||||
speed: 2
|
speed: 2
|
||||||
m_Value: 1258.0864
|
m_Value: 633.70593
|
||||||
m_Ortho:
|
m_Ortho:
|
||||||
m_Target: 0
|
m_Target: 0
|
||||||
speed: 2
|
speed: 2
|
||||||
|
@ -642,9 +642,9 @@ MonoBehaviour:
|
||||||
m_Position:
|
m_Position:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 618
|
y: 320
|
||||||
width: 1122
|
width: 1181
|
||||||
height: 177
|
height: 515
|
||||||
m_MinSize: {x: 201, y: 221}
|
m_MinSize: {x: 201, y: 221}
|
||||||
m_MaxSize: {x: 4001, y: 4021}
|
m_MaxSize: {x: 4001, y: 4021}
|
||||||
m_ActualView: {fileID: 2}
|
m_ActualView: {fileID: 2}
|
||||||
|
@ -668,9 +668,9 @@ MonoBehaviour:
|
||||||
m_Position:
|
m_Position:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 795
|
y: 835
|
||||||
width: 1122
|
width: 1181
|
||||||
height: 357
|
height: 317
|
||||||
m_MinSize: {x: 101, y: 121}
|
m_MinSize: {x: 101, y: 121}
|
||||||
m_MaxSize: {x: 4001, y: 4021}
|
m_MaxSize: {x: 4001, y: 4021}
|
||||||
m_ActualView: {fileID: 9}
|
m_ActualView: {fileID: 9}
|
||||||
|
@ -698,10 +698,10 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 34
|
x: 36
|
||||||
y: 1001
|
y: 1016
|
||||||
width: 1121
|
width: 1180
|
||||||
height: 336
|
height: 296
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
m_DataMode: 0
|
m_DataMode: 0
|
||||||
m_PreferredDataMode: 0
|
m_PreferredDataMode: 0
|
||||||
|
@ -727,9 +727,9 @@ MonoBehaviour:
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Position:
|
m_Position:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1122
|
x: 1181
|
||||||
y: 0
|
y: 0
|
||||||
width: 229
|
width: 243
|
||||||
height: 1152
|
height: 1152
|
||||||
m_MinSize: {x: 102, y: 121}
|
m_MinSize: {x: 102, y: 121}
|
||||||
m_MaxSize: {x: 4002, y: 4021}
|
m_MaxSize: {x: 4002, y: 4021}
|
||||||
|
@ -758,9 +758,9 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1156
|
x: 1217
|
||||||
y: 206
|
y: 181
|
||||||
width: 227
|
width: 241
|
||||||
height: 1131
|
height: 1131
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
m_DataMode: 0
|
m_DataMode: 0
|
||||||
|
@ -775,23 +775,23 @@ MonoBehaviour:
|
||||||
m_SceneHierarchy:
|
m_SceneHierarchy:
|
||||||
m_TreeViewState:
|
m_TreeViewState:
|
||||||
scrollPos: {x: 0, y: 0}
|
scrollPos: {x: 0, y: 0}
|
||||||
m_SelectedIDs: b65a0000
|
m_SelectedIDs: a65a0000
|
||||||
m_LastClickedID: 23222
|
m_LastClickedID: 23206
|
||||||
m_ExpandedIDs: 4672b4ff24fbffffa45a0000
|
m_ExpandedIDs: 20fbffff
|
||||||
m_RenameOverlay:
|
m_RenameOverlay:
|
||||||
m_UserAcceptedRename: 0
|
m_UserAcceptedRename: 0
|
||||||
m_Name: Camera
|
m_Name:
|
||||||
m_OriginalName: Camera
|
m_OriginalName:
|
||||||
m_EditFieldRect:
|
m_EditFieldRect:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
width: 0
|
width: 0
|
||||||
height: 0
|
height: 0
|
||||||
m_UserData: 23232
|
m_UserData: 0
|
||||||
m_IsWaitingForDelay: 0
|
m_IsWaitingForDelay: 0
|
||||||
m_IsRenaming: 0
|
m_IsRenaming: 0
|
||||||
m_OriginalEventType: 0
|
m_OriginalEventType: 11
|
||||||
m_IsRenamingFilename: 0
|
m_IsRenamingFilename: 0
|
||||||
m_ClientGUIView: {fileID: 10}
|
m_ClientGUIView: {fileID: 10}
|
||||||
m_SearchString:
|
m_SearchString:
|
||||||
|
@ -816,9 +816,9 @@ MonoBehaviour:
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Position:
|
m_Position:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1351
|
x: 1424
|
||||||
y: 0
|
y: 0
|
||||||
width: 235
|
width: 162
|
||||||
height: 1152
|
height: 1152
|
||||||
m_MinSize: {x: 232, y: 271}
|
m_MinSize: {x: 232, y: 271}
|
||||||
m_MaxSize: {x: 10002, y: 10021}
|
m_MaxSize: {x: 10002, y: 10021}
|
||||||
|
@ -847,9 +847,9 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1385
|
x: 1460
|
||||||
y: 206
|
y: 181
|
||||||
width: 233
|
width: 160
|
||||||
height: 1131
|
height: 1131
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
m_DataMode: 0
|
m_DataMode: 0
|
||||||
|
@ -887,9 +887,9 @@ MonoBehaviour:
|
||||||
m_IsLocked: 0
|
m_IsLocked: 0
|
||||||
m_FolderTreeState:
|
m_FolderTreeState:
|
||||||
scrollPos: {x: 0, y: 0}
|
scrollPos: {x: 0, y: 0}
|
||||||
m_SelectedIDs: f85a0000
|
m_SelectedIDs: 025b0000
|
||||||
m_LastClickedID: 23288
|
m_LastClickedID: 23298
|
||||||
m_ExpandedIDs: 00000000f85a000000ca9a3b
|
m_ExpandedIDs: 00000000025b000000ca9a3b
|
||||||
m_RenameOverlay:
|
m_RenameOverlay:
|
||||||
m_UserAcceptedRename: 0
|
m_UserAcceptedRename: 0
|
||||||
m_Name:
|
m_Name:
|
||||||
|
@ -917,7 +917,7 @@ MonoBehaviour:
|
||||||
scrollPos: {x: 0, y: 0}
|
scrollPos: {x: 0, y: 0}
|
||||||
m_SelectedIDs:
|
m_SelectedIDs:
|
||||||
m_LastClickedID: 0
|
m_LastClickedID: 0
|
||||||
m_ExpandedIDs: 00000000f85a000000ca9a3b
|
m_ExpandedIDs: 00000000025b000000ca9a3b
|
||||||
m_RenameOverlay:
|
m_RenameOverlay:
|
||||||
m_UserAcceptedRename: 0
|
m_UserAcceptedRename: 0
|
||||||
m_Name:
|
m_Name:
|
||||||
|
@ -942,8 +942,8 @@ MonoBehaviour:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_ResourceFile:
|
m_ResourceFile:
|
||||||
m_ListAreaState:
|
m_ListAreaState:
|
||||||
m_SelectedInstanceIDs: b65a0000
|
m_SelectedInstanceIDs: a65a0000
|
||||||
m_LastClickedInstanceID: 23222
|
m_LastClickedInstanceID: 23206
|
||||||
m_HadKeyboardFocusLastEvent: 0
|
m_HadKeyboardFocusLastEvent: 0
|
||||||
m_ExpandedInstanceIDs: c623000040bf0300
|
m_ExpandedInstanceIDs: c623000040bf0300
|
||||||
m_RenameOverlay:
|
m_RenameOverlay:
|
||||||
|
@ -972,7 +972,7 @@ MonoBehaviour:
|
||||||
m_ScrollPosition: {x: 0, y: 0}
|
m_ScrollPosition: {x: 0, y: 0}
|
||||||
m_GridSize: 16
|
m_GridSize: 16
|
||||||
m_SkipHiddenPackages: 0
|
m_SkipHiddenPackages: 0
|
||||||
m_DirectoriesAreaWidth: 183
|
m_DirectoriesAreaWidth: 110
|
||||||
--- !u!114 &14
|
--- !u!114 &14
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 52
|
m_ObjectHideFlags: 52
|
||||||
|
@ -1020,8 +1020,8 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1620
|
x: 1622
|
||||||
y: 206
|
y: 181
|
||||||
width: 295
|
width: 295
|
||||||
height: 1131
|
height: 1131
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
|
@ -1087,7 +1087,7 @@ MonoBehaviour:
|
||||||
m_CachedPref: 160
|
m_CachedPref: 160
|
||||||
m_ControlHash: 1412526313
|
m_ControlHash: 1412526313
|
||||||
m_PrefName: Preview_InspectorPreview
|
m_PrefName: Preview_InspectorPreview
|
||||||
m_LastInspectedObjectInstanceID: -1
|
m_LastInspectedObjectInstanceID: 23206
|
||||||
m_LastVerticalScrollValue: 0
|
m_LastVerticalScrollValue: 0
|
||||||
m_GlobalObjectId:
|
m_GlobalObjectId:
|
||||||
m_InspectorMode: 0
|
m_InspectorMode: 0
|
||||||
|
|
|
@ -14,12 +14,12 @@ MonoBehaviour:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_PixelRect:
|
m_PixelRect:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 34
|
x: 36
|
||||||
y: 176
|
y: 151
|
||||||
width: 1882
|
width: 1882
|
||||||
height: 1202
|
height: 1202
|
||||||
m_ShowMode: 4
|
m_ShowMode: 4
|
||||||
m_Title: Console
|
m_Title: Inspector
|
||||||
m_RootView: {fileID: 2}
|
m_RootView: {fileID: 2}
|
||||||
m_MinSize: {x: 875, y: 321}
|
m_MinSize: {x: 875, y: 321}
|
||||||
m_MaxSize: {x: 10000, y: 10000}
|
m_MaxSize: {x: 10000, y: 10000}
|
||||||
|
@ -120,7 +120,7 @@ MonoBehaviour:
|
||||||
m_MinSize: {x: 400, y: 150}
|
m_MinSize: {x: 400, y: 150}
|
||||||
m_MaxSize: {x: 32384, y: 24288}
|
m_MaxSize: {x: 32384, y: 24288}
|
||||||
vertical: 0
|
vertical: 0
|
||||||
controlID: 17340
|
controlID: 149
|
||||||
draggingID: 0
|
draggingID: 0
|
||||||
--- !u!114 &6
|
--- !u!114 &6
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -146,7 +146,7 @@ MonoBehaviour:
|
||||||
m_MinSize: {x: 200, y: 150}
|
m_MinSize: {x: 200, y: 150}
|
||||||
m_MaxSize: {x: 16192, y: 24288}
|
m_MaxSize: {x: 16192, y: 24288}
|
||||||
vertical: 0
|
vertical: 0
|
||||||
controlID: 17341
|
controlID: 26
|
||||||
draggingID: 0
|
draggingID: 0
|
||||||
--- !u!114 &7
|
--- !u!114 &7
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -173,7 +173,7 @@ MonoBehaviour:
|
||||||
m_MinSize: {x: 100, y: 150}
|
m_MinSize: {x: 100, y: 150}
|
||||||
m_MaxSize: {x: 8096, y: 24288}
|
m_MaxSize: {x: 8096, y: 24288}
|
||||||
vertical: 1
|
vertical: 1
|
||||||
controlID: 17342
|
controlID: 27
|
||||||
draggingID: 0
|
draggingID: 0
|
||||||
--- !u!114 &8
|
--- !u!114 &8
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -194,8 +194,8 @@ MonoBehaviour:
|
||||||
y: 0
|
y: 0
|
||||||
width: 1183
|
width: 1183
|
||||||
height: 320
|
height: 320
|
||||||
m_MinSize: {x: 201, y: 221}
|
m_MinSize: {x: 200, y: 200}
|
||||||
m_MaxSize: {x: 4001, y: 4021}
|
m_MaxSize: {x: 4000, y: 4000}
|
||||||
m_ActualView: {fileID: 15}
|
m_ActualView: {fileID: 15}
|
||||||
m_Panes:
|
m_Panes:
|
||||||
- {fileID: 15}
|
- {fileID: 15}
|
||||||
|
@ -220,8 +220,8 @@ MonoBehaviour:
|
||||||
y: 320
|
y: 320
|
||||||
width: 1183
|
width: 1183
|
||||||
height: 475
|
height: 475
|
||||||
m_MinSize: {x: 201, y: 221}
|
m_MinSize: {x: 200, y: 200}
|
||||||
m_MaxSize: {x: 4001, y: 4021}
|
m_MaxSize: {x: 4000, y: 4000}
|
||||||
m_ActualView: {fileID: 14}
|
m_ActualView: {fileID: 14}
|
||||||
m_Panes:
|
m_Panes:
|
||||||
- {fileID: 14}
|
- {fileID: 14}
|
||||||
|
@ -246,8 +246,8 @@ MonoBehaviour:
|
||||||
y: 795
|
y: 795
|
||||||
width: 1183
|
width: 1183
|
||||||
height: 357
|
height: 357
|
||||||
m_MinSize: {x: 101, y: 121}
|
m_MinSize: {x: 100, y: 100}
|
||||||
m_MaxSize: {x: 4001, y: 4021}
|
m_MaxSize: {x: 4000, y: 4000}
|
||||||
m_ActualView: {fileID: 16}
|
m_ActualView: {fileID: 16}
|
||||||
m_Panes:
|
m_Panes:
|
||||||
- {fileID: 16}
|
- {fileID: 16}
|
||||||
|
@ -272,8 +272,8 @@ MonoBehaviour:
|
||||||
y: 0
|
y: 0
|
||||||
width: 241
|
width: 241
|
||||||
height: 1152
|
height: 1152
|
||||||
m_MinSize: {x: 102, y: 121}
|
m_MinSize: {x: 100, y: 100}
|
||||||
m_MaxSize: {x: 4002, y: 4021}
|
m_MaxSize: {x: 4000, y: 4000}
|
||||||
m_ActualView: {fileID: 17}
|
m_ActualView: {fileID: 17}
|
||||||
m_Panes:
|
m_Panes:
|
||||||
- {fileID: 17}
|
- {fileID: 17}
|
||||||
|
@ -324,8 +324,8 @@ MonoBehaviour:
|
||||||
y: 0
|
y: 0
|
||||||
width: 296
|
width: 296
|
||||||
height: 1152
|
height: 1152
|
||||||
m_MinSize: {x: 276, y: 71}
|
m_MinSize: {x: 275, y: 50}
|
||||||
m_MaxSize: {x: 4001, y: 4021}
|
m_MaxSize: {x: 4000, y: 4000}
|
||||||
m_ActualView: {fileID: 19}
|
m_ActualView: {fileID: 19}
|
||||||
m_Panes:
|
m_Panes:
|
||||||
- {fileID: 19}
|
- {fileID: 19}
|
||||||
|
@ -352,8 +352,8 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 34
|
x: 36
|
||||||
y: 526
|
y: 501
|
||||||
width: 1182
|
width: 1182
|
||||||
height: 454
|
height: 454
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
|
@ -450,8 +450,8 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 34
|
x: 36
|
||||||
y: 206
|
y: 181
|
||||||
width: 1182
|
width: 1182
|
||||||
height: 299
|
height: 299
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
|
@ -775,7 +775,7 @@ MonoBehaviour:
|
||||||
m_Position:
|
m_Position:
|
||||||
m_Target: {x: 1825.5619, y: 1029.0568, z: -0.9695983}
|
m_Target: {x: 1825.5619, y: 1029.0568, z: -0.9695983}
|
||||||
speed: 2
|
speed: 2
|
||||||
m_Value: {x: 1825.5618, y: 1029.0566, z: -0.9695303}
|
m_Value: {x: 1825.5619, y: 1029.0568, z: -0.9695983}
|
||||||
m_RenderMode: 0
|
m_RenderMode: 0
|
||||||
m_CameraMode:
|
m_CameraMode:
|
||||||
drawMode: 0
|
drawMode: 0
|
||||||
|
@ -823,11 +823,11 @@ MonoBehaviour:
|
||||||
m_Rotation:
|
m_Rotation:
|
||||||
m_Target: {x: -0.18233694, y: -0.31602854, z: 0.062028006, w: -0.928995}
|
m_Target: {x: -0.18233694, y: -0.31602854, z: 0.062028006, w: -0.928995}
|
||||||
speed: 2
|
speed: 2
|
||||||
m_Value: {x: -0.18233694, y: -0.31602854, z: 0.06202801, w: -0.928995}
|
m_Value: {x: -0.18233694, y: -0.31602854, z: 0.062028006, w: -0.928995}
|
||||||
m_Size:
|
m_Size:
|
||||||
m_Target: 12.124355
|
m_Target: 12.124355
|
||||||
speed: 2
|
speed: 2
|
||||||
m_Value: 12.124439
|
m_Value: 12.124355
|
||||||
m_Ortho:
|
m_Ortho:
|
||||||
m_Target: 0
|
m_Target: 0
|
||||||
speed: 2
|
speed: 2
|
||||||
|
@ -872,8 +872,8 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: -32000
|
x: 36
|
||||||
y: -31175
|
y: 976
|
||||||
width: 1182
|
width: 1182
|
||||||
height: 336
|
height: 336
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
|
@ -906,8 +906,8 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1217
|
x: 1219
|
||||||
y: 206
|
y: 181
|
||||||
width: 239
|
width: 239
|
||||||
height: 1131
|
height: 1131
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
|
@ -923,9 +923,9 @@ MonoBehaviour:
|
||||||
m_SceneHierarchy:
|
m_SceneHierarchy:
|
||||||
m_TreeViewState:
|
m_TreeViewState:
|
||||||
scrollPos: {x: 0, y: 0}
|
scrollPos: {x: 0, y: 0}
|
||||||
m_SelectedIDs: 965a0000
|
m_SelectedIDs:
|
||||||
m_LastClickedID: 23190
|
m_LastClickedID: 0
|
||||||
m_ExpandedIDs: 4672b4ff24fbffffa45a0000b65a0000
|
m_ExpandedIDs: 2cfbffff
|
||||||
m_RenameOverlay:
|
m_RenameOverlay:
|
||||||
m_UserAcceptedRename: 0
|
m_UserAcceptedRename: 0
|
||||||
m_Name:
|
m_Name:
|
||||||
|
@ -969,8 +969,8 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1458
|
x: 1460
|
||||||
y: 206
|
y: 181
|
||||||
width: 160
|
width: 160
|
||||||
height: 1131
|
height: 1131
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
|
@ -1009,9 +1009,9 @@ MonoBehaviour:
|
||||||
m_IsLocked: 0
|
m_IsLocked: 0
|
||||||
m_FolderTreeState:
|
m_FolderTreeState:
|
||||||
scrollPos: {x: 0, y: 0}
|
scrollPos: {x: 0, y: 0}
|
||||||
m_SelectedIDs: f85a0000
|
m_SelectedIDs: 005b0000
|
||||||
m_LastClickedID: 23288
|
m_LastClickedID: 23296
|
||||||
m_ExpandedIDs: 00000000f85a000000ca9a3b
|
m_ExpandedIDs: 00000000005b000000ca9a3b
|
||||||
m_RenameOverlay:
|
m_RenameOverlay:
|
||||||
m_UserAcceptedRename: 0
|
m_UserAcceptedRename: 0
|
||||||
m_Name:
|
m_Name:
|
||||||
|
@ -1039,7 +1039,7 @@ MonoBehaviour:
|
||||||
scrollPos: {x: 0, y: 0}
|
scrollPos: {x: 0, y: 0}
|
||||||
m_SelectedIDs:
|
m_SelectedIDs:
|
||||||
m_LastClickedID: 0
|
m_LastClickedID: 0
|
||||||
m_ExpandedIDs: 00000000f85a000000ca9a3b
|
m_ExpandedIDs: 00000000005b0000
|
||||||
m_RenameOverlay:
|
m_RenameOverlay:
|
||||||
m_UserAcceptedRename: 0
|
m_UserAcceptedRename: 0
|
||||||
m_Name:
|
m_Name:
|
||||||
|
@ -1115,8 +1115,8 @@ MonoBehaviour:
|
||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1620
|
x: 1622
|
||||||
y: 206
|
y: 181
|
||||||
width: 295
|
width: 295
|
||||||
height: 1131
|
height: 1131
|
||||||
m_SerializedDataModeController:
|
m_SerializedDataModeController:
|
||||||
|
|
Loading…
Reference in New Issue