Merge branch 'master' of https://github.com/adianfiuef/HeavenStudio
2
.github/workflows/main.yml
vendored
|
@ -1,6 +1,6 @@
|
|||
name: Build my project ✨
|
||||
|
||||
on: [push, pull_request]
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
3
.gitignore
vendored
|
@ -73,3 +73,6 @@ crashlytics-build.properties
|
|||
|
||||
# Visual Studio Code
|
||||
/.vscode/
|
||||
|
||||
# Rider
|
||||
.idea/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 24f2fe0d29590e64bbf4bc9d4f230b9f
|
||||
guid: 2a99a58e442018348acfd830201109e4
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
9
Assets/Auto Letterbox/Documentation.meta
Normal file
|
@ -0,0 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d1d966b9431ac784c83edb4620eef80f
|
||||
folderAsset: yes
|
||||
timeCreated: 1456245966
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
186
Assets/Auto Letterbox/Documentation/Help.html
Normal file
|
@ -0,0 +1,186 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html><head>
|
||||
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Letterbox Ratio Doc</title>
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
border: none;
|
||||
font-family: Arial,Helvetica,sans-serif;
|
||||
font-size: 1em;
|
||||
line-height: 1em;
|
||||
color: black;
|
||||
background-color: #fdf9f1;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
<script language="javascript"> function toggle(togglableText, title) {
|
||||
var ele = document.getElementById(togglableText);
|
||||
var text = document.getElementById(title);
|
||||
if(ele.style.display == "block") {
|
||||
ele.style.display = "none";
|
||||
}
|
||||
else {
|
||||
ele.style.display = "block";
|
||||
}
|
||||
} </script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 style="text-align: center;"><span style="font-family: Helvetica,Arial,sans-serif;"></span>Auto Letterbox Plugin</h1>
|
||||
<div style="margin-left: 40px;">Welcome to the Auto Letterbox Plugin, for fixing your Camera Aspect Ratio! The fastest way to get started is to go to the <span style="text-decoration: underline;"><span style="font-weight: bold;">GameObject</span></span>
|
||||
menu and click <span style="text-decoration: underline;"><span style="font-weight: bold;">Create Force Camera Ratios Object</span></span>.<br>
|
||||
This will set your scene up for displaying in a set
|
||||
ratio (<span style="font-style: italic;">Target Viewport
|
||||
Ratio</span>) by creating Letterboxes to fit your Screen. You can
|
||||
edit the system using the 'Force Camera Ratios' GameObject you've just
|
||||
created.<br>
|
||||
<br>
|
||||
This documentation will delve into the rest of the options you have on
|
||||
the Component.</div>
|
||||
<p style="text-align: center;"><img style="border: 1px solid ; width: 1101px; height: 546px;" alt="" title="Clicking the "Create Force Camera Ratios Object" Button under the GameObject Menu is the fastest way to get started" src="Imgs/CreatePic.png" hspace="3" vspace="3"></p>
|
||||
<table style="width: 90%; height: 166px; text-align: left; margin-left: auto; margin-right: auto;" border="2" cellpadding="2" cellspacing="2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<h2 style="text-align: left; margin-left: 40px;"><a style="font-family: Helvetica,Arial,sans-serif; color: rgb(127, 118, 102); font-weight: bold;" id="displayText1" href="javascript:toggle('toggleText1', 'displayText1');">Standard
|
||||
Use</a></h2>
|
||||
<div id="toggleText1" style="display: none;">
|
||||
<div style="text-align: center;">
|
||||
<div style="text-align: left;"><img style="width: 356px; height: 76px; float: right;" alt="" src="Imgs/Setup.png"> <span style="font-weight: bold; text-decoration: underline;">Target
|
||||
Viewport Ratio<br>
|
||||
</span>A Vector2 which sets the Viewport ratio for all
|
||||
Cameras. You can set this using the provided interface or access this
|
||||
publically and safely in code. The default is 16:9.<br>
|
||||
<br>
|
||||
<span style="text-decoration: underline;"><span style="font-weight: bold;">Ratio on Awake<br>
|
||||
</span></span>Forces each Camera Viewport to a
|
||||
re-calculated Viewport when this components' <span style="font-style: italic;">Start()</span> function
|
||||
runs at
|
||||
the start of the scene. By default this is on as other-wise you would
|
||||
have to call <span style="font-style: italic;">CalculateAndSetAllCameraRatios()</span>
|
||||
through your own code (though
|
||||
this function can be called at any time).<span style="text-decoration: underline;"><span style="font-weight: bold;"><span style="text-decoration: underline;"><span style="font-weight: bold;"><br>
|
||||
<br>
|
||||
</span></span></span></span>
|
||||
<span style="text-decoration: underline;"><span style="font-weight: bold;">Ratio in Realtime</span></span><br>
|
||||
Forces each Camera Viewport to recalculate its Viewport every frame.
|
||||
This is useful if you wish to change the <span style="font-style: italic;">Target Viewport Ratio</span>
|
||||
in real
|
||||
time or if you allow the user to resize the Game window.</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<h2 style="text-align: left; margin-left: 40px;"><a style="font-family: Helvetica,Arial,sans-serif; color: rgb(127, 118, 102); font-weight: bold;" id="displayText2" href="javascript:toggle('toggleText2', 'displayText2');">Letterbox
|
||||
Camera</a></h2>
|
||||
<div id="toggleText2" style="display: none;">
|
||||
<div style="text-align: center;">
|
||||
<div style="text-align: left;"><img style="width: 367px; height: 49px; float: right;" alt="" src="Imgs/AutoCreateBorderCam.png"> The Letterbox Camera
|
||||
renders the bars at the sides of the screen which appear when
|
||||
the <span style="font-style: italic;">Target
|
||||
Viewport Ratio</span> doesn't match the screen ratio. Not having
|
||||
a Letterbox Camera could cause ugly artefacts when changing the screen
|
||||
size or altering the camera ratio.<br>
|
||||
<br>
|
||||
There are two ways of creating a Letterbox Camera:<br>
|
||||
<span style="text-decoration: underline;"><span style="font-weight: bold;">Automatically Create Border Camera<br>
|
||||
</span></span>When <span style="font-style: italic;">Create Border Camera</span>
|
||||
is true a Letterbox Camera will automatically be created on <span style="font-style: italic;">Start()</span> at a depth
|
||||
of -100 and render to a color of your choosing. This is the default
|
||||
option.<br>
|
||||
<br>
|
||||
<img style="width: 367px; height: 48px; float: right;" alt="" src="Imgs/CustomBorderCam.png">
|
||||
<span style="text-decoration: underline;"><span style="font-weight: bold;">Custom Letterbox Camera</span></span><br>
|
||||
When <span style="font-style: italic;">Create Border
|
||||
Camera</span> is false you must assign your own in-scene Camera
|
||||
to be a Letterbox Camera. This Camera will be ignored by the <span style="font-style: italic;">FindAllCamerasInScene()</span>
|
||||
function so you can do whatever you want with it's viewport. This is
|
||||
useful if you want to do something clever with your Letterbox bars like
|
||||
render an image in the empty space (For an example try the <span style="font-style: italic;">Bitey Dragon</span> Demo
|
||||
scene included with the package.)</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<h2 style="text-align: left; margin-left: 40px;"><a style="font-family: Helvetica,Arial,sans-serif; color: rgb(127, 118, 102); font-weight: bold;" id="displayText3" href="javascript:toggle('toggleText3', 'displayText3');">Managing
|
||||
your Cameras</a></h2>
|
||||
<div id="toggleText3" style="display: none;">
|
||||
<div style="text-align: center;">
|
||||
<div style="text-align: left;"><img style="width: 360px; height: 67px; float: right;" alt="" src="Imgs/AutoSeekCameras.png">
|
||||
<span style="font-weight: bold; text-decoration: underline;">Auto
|
||||
seek Cameras<br>
|
||||
</span>When <span style="font-style: italic;">Auto
|
||||
seek Cameras</span> is true, the <span style="font-style: italic;">Force Camera Ratios</span>
|
||||
component will search for cameras in your scene on <span style="font-style: italic;">Start()</span> and apply
|
||||
the same Viewport anchor to each. This is the default setting.<br>
|
||||
<br>
|
||||
<span style="text-decoration: underline;"><span style="font-weight: bold;">Manual Camera Managment</span></span><img style="width: 360px; height: 340px; float: left;" alt="" src="Imgs/FinAllCameras.png"><br>
|
||||
When <span style="font-style: italic;">Auto seek Cameras</span>
|
||||
is false, you may manually assign and manage each Camera that needs
|
||||
Letterboxing. The <span style="font-style: italic;">Find
|
||||
All Cameras in scene</span> button will call <span style="font-style: italic;">FindAllCamerasInScene()</span>
|
||||
filling the Camera array quickly and defaulting each Camera Anchor to <span style="font-style: italic;">Center.</span><span style="text-decoration: underline;"><span style="font-weight: bold;"><span style="text-decoration: underline;"><span style="font-weight: bold;"></span></span></span></span><span style="text-decoration: underline;"><span style="font-weight: bold;"><br>
|
||||
<br>
|
||||
</span></span><span style="font-weight: bold;"><span style="font-weight: bold;"> </span></span><span style="font-weight: bold; text-decoration: underline;"><span style="font-weight: bold;"></span>Camera Anchor<br>
|
||||
</span>The <span style="font-style: italic;">Anchor
|
||||
</span>enum anchors each camera when its' resized due to a
|
||||
viewport ratio recalculation. This is useful for when you have multiple
|
||||
cameras on screen, for example, split screen multiplayer. By setting up
|
||||
Player one's and Player two's Viewports adjacently and setting their
|
||||
respective Anchors to <span style="font-style: italic;">Left</span>
|
||||
and <span style="font-style: italic;">Right</span>,
|
||||
the plug-in will re-calculate their ratio and seamlessly keep their
|
||||
Viewports to the left and right of each other. It works similarly to
|
||||
Unitys' UI Anchoring system.<br>
|
||||
<br>
|
||||
(For an example of this in action, try the <span style="font-style: italic;">Multi Camera Demo </span>scene
|
||||
included with the package.)<br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<h2 style="text-align: left; margin-left: 40px;"><a style="font-family: Helvetica,Arial,sans-serif; color: rgb(127, 118, 102); font-weight: bold;" id="displayText4" href="javascript:toggle('toggleText4', 'displayText4');">Contact</a></h2>
|
||||
<div id="toggleText4" style="display: none;">
|
||||
<div style="text-align: center;">
|
||||
<div style="text-align: left;"><img style="width: 232px; height: 232px; float: right;" alt="" src="Imgs/mug.png"> <span style="font-weight: bold; text-decoration: underline;">Stuck?<br>
|
||||
</span>If you're having trouble or have a question, further
|
||||
support is available. Feel free to send me an email via <a href="mailto:tom@tomsayshi.com">tom@tomsayshi.com</a>
|
||||
or tweet at me via <a href="https://twitter.com/Tom_SaysHi">@Tom_SaysHi</a>.<br>
|
||||
<br>
|
||||
This document is still a work in progress and your experiences are very
|
||||
much part of it so don't be shy! Speaking of which;<br>
|
||||
<br>
|
||||
<span style="text-decoration: underline;"><span style="font-weight: bold;">Got an Opinion?</span></span><br>
|
||||
STILL feel free to e-mail me via <a href="mailto:tom@tomsayshi.com">tom@tomsayshi.com </a>or
|
||||
tweet at me via <a href="https://twitter.com/Tom_SaysHi">@Tom_SaysHi</a>.<br>
|
||||
<br>
|
||||
Feedback, good or bad, is always welcome for incorporation into future
|
||||
updates and products!<br>
|
||||
<br>
|
||||
<span style="text-decoration: underline;"><span style="font-weight: bold;">Hey kid, wanna' play some Video
|
||||
Games?</span></span><br>
|
||||
I'm just gonna' leave this <a href="http://store.steampowered.com/app/391210/">here</a>.
|
||||
It's an arena game with laser swords called <span style="font-weight: bold;">Arclight Cascade</span>.
|
||||
What? It's my docs and I'll plug what I want to!<br>
|
||||
<br>
|
||||
<h3 style="text-align: center;"><span style="text-decoration: underline;">Thank you so much for
|
||||
using the Auto Letterbox Plug-in! I hope you have a swell day!</span></h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div style="text-align: center;"><a href="http://tomsayshi.com"><img style="border: 0px solid ; width: 100px; height: 100px; float: right;" alt="" title="Oh to be a smol sensitive boi" src="Imgs/TomRound.png"></a><br>
|
||||
<a href="http://tomsayshi.com">Written by Tom Elliott 2020</a><br>
|
||||
tom@tomsayshi.com<br>
|
||||
<a href="http://littlegrimlight.daportfolio.com/">Bitey Dragon Demo Art by Matthew Seprini</a><br>
|
||||
</div>
|
||||
</body></html>
|
8
Assets/Auto Letterbox/Documentation/Help.html.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a78c4b283abe78042bc2c46a182247dd
|
||||
timeCreated: 1456245967
|
||||
licenseType: Store
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Auto Letterbox/Documentation/Imgs.meta
Normal file
|
@ -0,0 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 718ba5e4e877593428ce9967f1467376
|
||||
folderAsset: yes
|
||||
timeCreated: 1456245966
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Auto Letterbox/Documentation/Imgs/AutoCreateBorderCam.png
Normal file
After Width: | Height: | Size: 2 KiB |
|
@ -0,0 +1,55 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 5902b9337b439e3469b5b14784bbf1ac
|
||||
timeCreated: 1456245966
|
||||
licenseType: Store
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 8
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Auto Letterbox/Documentation/Imgs/AutoSeekCameras.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
|
@ -0,0 +1,55 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a0659d40a5adaa54cae4afa7d151ac12
|
||||
timeCreated: 1456245966
|
||||
licenseType: Store
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 8
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Auto Letterbox/Documentation/Imgs/BoxLogo_Horns.png
Normal file
After Width: | Height: | Size: 90 KiB |
|
@ -0,0 +1,55 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a1a5f08fe41d99d41a5aae0e5d3ed052
|
||||
timeCreated: 1456245966
|
||||
licenseType: Store
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 8
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Auto Letterbox/Documentation/Imgs/CreatePic.png
Normal file
After Width: | Height: | Size: 62 KiB |
55
Assets/Auto Letterbox/Documentation/Imgs/CreatePic.png.meta
Normal file
|
@ -0,0 +1,55 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 34a4e878d3a371e4ea35079b7f0241b8
|
||||
timeCreated: 1456245966
|
||||
licenseType: Store
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 8
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Auto Letterbox/Documentation/Imgs/CustomBorderCam.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
|
@ -0,0 +1,55 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 74caa4cb00b2ffc41bdec31b301b34ad
|
||||
timeCreated: 1456245966
|
||||
licenseType: Store
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 8
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Auto Letterbox/Documentation/Imgs/FinAllCameras.png
Normal file
After Width: | Height: | Size: 21 KiB |
|
@ -0,0 +1,55 @@
|
|||
fileFormatVersion: 2
|
||||
guid: cabc78253c76d3f49b4a86526622193a
|
||||
timeCreated: 1456245967
|
||||
licenseType: Store
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 8
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Auto Letterbox/Documentation/Imgs/Setup.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
55
Assets/Auto Letterbox/Documentation/Imgs/Setup.png.meta
Normal file
|
@ -0,0 +1,55 @@
|
|||
fileFormatVersion: 2
|
||||
guid: fec279ec88a252342b092b7d63bed612
|
||||
timeCreated: 1456245967
|
||||
licenseType: Store
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 8
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Auto Letterbox/Documentation/Imgs/TomRound.png
Normal file
After Width: | Height: | Size: 104 KiB |
92
Assets/Auto Letterbox/Documentation/Imgs/TomRound.png.meta
Normal file
|
@ -0,0 +1,92 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c757ae881ebd49f4ead172947a2e1ffa
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 11
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
wrapU: -1
|
||||
wrapV: -1
|
||||
wrapW: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
applyGammaDecoding: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Auto Letterbox/Documentation/Imgs/mug.png
Normal file
After Width: | Height: | Size: 233 KiB |
55
Assets/Auto Letterbox/Documentation/Imgs/mug.png.meta
Normal file
|
@ -0,0 +1,55 @@
|
|||
fileFormatVersion: 2
|
||||
guid: bd2b876221f6ff340b5adee4654a8926
|
||||
timeCreated: 1456245966
|
||||
licenseType: Store
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 8
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Auto Letterbox/Editor.meta
Normal file
|
@ -0,0 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: bb67b1e2487c1394cb27cd848223a71b
|
||||
folderAsset: yes
|
||||
timeCreated: 1446637250
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
87
Assets/Auto Letterbox/Editor/ForceCameraRatioEditor.cs
Normal file
|
@ -0,0 +1,87 @@
|
|||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
using System.Collections;
|
||||
using AutoLetterbox;
|
||||
|
||||
namespace AutoLetterbox
|
||||
{
|
||||
|
||||
/* ForceCameraRatioEditor.cs
|
||||
*
|
||||
* An Editor script for ForceCameraRatio
|
||||
*
|
||||
* Originally made by Milo Keeble, source can be found on Github @ https://github.com/Ragepyro/EditorFileMaker */
|
||||
|
||||
[CustomEditor(typeof(ForceCameraRatio))]
|
||||
public class ForceCameraRatioEditor : Editor
|
||||
{
|
||||
/// <summary>
|
||||
/// Create a ForceCameraRatio Object in the current scene
|
||||
/// </summary>
|
||||
[MenuItem("GameObject/Create Force Camera Ratios Object", false, 11)]
|
||||
public static void ForceCameraRatios () {
|
||||
ForceCameraRatio myCameraForcer = new GameObject("Force Camera Ratios").AddComponent<ForceCameraRatio>();
|
||||
Selection.activeGameObject = myCameraForcer.gameObject;
|
||||
Undo.RegisterCreatedObjectUndo(myCameraForcer.gameObject, "Created A ForceCameraRatios Manager Obejct");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Display an editor friendly interface for the ForceCameraRatio Component
|
||||
/// </summary>
|
||||
public override void OnInspectorGUI () {
|
||||
|
||||
ForceCameraRatio myTarget = (ForceCameraRatio)target;
|
||||
Undo.RecordObject(myTarget, "Force Camera Ratio");
|
||||
|
||||
myTarget.ratio = EditorGUILayout.Vector2Field(new GUIContent("Target Viewport Ratio", "The ratio that the Letterbox will display at"), myTarget.ratio);
|
||||
myTarget.forceRatioOnAwake = EditorGUILayout.Toggle(new GUIContent("Ratio on Awake", "Enable the Letterbox effect automatically on Awake"), myTarget.forceRatioOnAwake);
|
||||
myTarget.listenForWindowChanges = EditorGUILayout.Toggle(new GUIContent("Ratio in Realtime", "Recalculate the Letterbox effect every time the game window is resized"), myTarget.listenForWindowChanges);
|
||||
|
||||
EditorGUILayout.Separator();
|
||||
|
||||
// Letterbox Camera
|
||||
myTarget.createCameraForLetterBoxRendering = EditorGUILayout.Toggle(new GUIContent("Create Border Camera", "Generate a Camera which renders the Letterbox borders"), myTarget.createCameraForLetterBoxRendering);
|
||||
if (myTarget.createCameraForLetterBoxRendering) {
|
||||
myTarget.letterBoxCameraColor = EditorGUILayout.ColorField(new GUIContent("Border Color", "The color of the Letterbox borders"), myTarget.letterBoxCameraColor);
|
||||
} else {
|
||||
myTarget.letterBoxCamera = (Camera)EditorGUILayout.ObjectField("Letterbox Camera", myTarget.letterBoxCamera, typeof(Camera), true);
|
||||
if (myTarget.letterBoxCamera == null) {
|
||||
EditorGUILayout.HelpBox("Without a Letterbox Border Camera, things may render but never clear in the letterbox borders. A generated Border Camera would occupy a Camera depth of -100", MessageType.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
EditorGUILayout.Separator();
|
||||
|
||||
// Registered Cameras for ratio calculation
|
||||
myTarget.findCamerasAutomatically = EditorGUILayout.Toggle(new GUIContent("Auto seek Cameras", "If true, will automatically find all cameras in scene on Awake"), myTarget.findCamerasAutomatically);
|
||||
|
||||
if (myTarget.findCamerasAutomatically) {
|
||||
EditorGUILayout.HelpBox("Any Cameras that exist in the scene when this script Awakes will be forced to the given aspect ratio", MessageType.Info);
|
||||
} else {
|
||||
|
||||
if (GUILayout.Button("Find All Cameras in scene")) {
|
||||
myTarget.FindAllCamerasInScene();
|
||||
}
|
||||
|
||||
// If there is no array of cameras (as in null, empty arrays don't count) create one with the cameras in scene
|
||||
if (myTarget.GetCameras() == null) {
|
||||
myTarget.FindAllCamerasInScene();
|
||||
}
|
||||
|
||||
// If ther is STILL no array of cameras, just create an empty one
|
||||
if (myTarget.GetCameras() == null) {
|
||||
myTarget.cameras = new System.Collections.Generic.List<CameraRatio>();
|
||||
}
|
||||
|
||||
// Display Array of Cameras
|
||||
SerializedObject serialObj = new SerializedObject(myTarget);
|
||||
SerializedProperty cams = serialObj.FindProperty("cameras");
|
||||
EditorGUILayout.PropertyField(cams, true);
|
||||
serialObj.ApplyModifiedProperties();
|
||||
|
||||
EditorGUILayout.HelpBox("Only the Cameras in this array will be forced to the given aspect ratio", MessageType.Info);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
12
Assets/Auto Letterbox/Editor/ForceCameraRatioEditor.cs.meta
Normal file
|
@ -0,0 +1,12 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 629f2622bb706044d8955aa41abc65da
|
||||
timeCreated: 1446637256
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
294
Assets/Auto Letterbox/ForceCameraRatio.cs
Normal file
|
@ -0,0 +1,294 @@
|
|||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using AutoLetterbox;
|
||||
|
||||
namespace AutoLetterbox
|
||||
{
|
||||
/* ForceCameraRatio.cs
|
||||
*
|
||||
* Forces the assigned Cameras to a given Aspect Ratio by Letterboxing them horizontally or vertically
|
||||
*
|
||||
* 2015
|
||||
* Written by Tom Elliott */
|
||||
|
||||
// A class for tracking individual Cameras and their Viewports
|
||||
[System.Serializable]
|
||||
public class CameraRatio
|
||||
{
|
||||
public enum CameraAnchor
|
||||
{
|
||||
Center,
|
||||
Top,
|
||||
Bottom,
|
||||
Left,
|
||||
Right,
|
||||
TopLeft,
|
||||
TopRight,
|
||||
BottomLeft,
|
||||
BottomRight
|
||||
}
|
||||
|
||||
[Tooltip("The Camera assigned to have an automatically calculated Viewport Ratio")]
|
||||
public Camera camera;
|
||||
[Tooltip("When a Camera Viewport is shrunk to fit a ratio, it will anchor the new Viewport Rectangle at the given point (relative to the original, unshrunk Viewport)")]
|
||||
public CameraAnchor anchor = CameraAnchor.Center;
|
||||
|
||||
[HideInInspector]
|
||||
public Vector2 vectorAnchor;
|
||||
private Rect originViewPort;
|
||||
|
||||
public CameraRatio (Camera _camera, Vector2 _anchor) {
|
||||
camera = _camera;
|
||||
vectorAnchor = _anchor;
|
||||
originViewPort = camera.rect;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the Camera's current Viewport as the viewport measurements to fill on resizing
|
||||
/// </summary>
|
||||
public void ResetOriginViewport () {
|
||||
originViewPort = camera.rect;
|
||||
SetAnchorBasedOnEnum(anchor);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the Anchor for this Camera when it is resized based on a given enum description
|
||||
/// </summary>
|
||||
/// <param name="_anchor"></param>
|
||||
public void SetAnchorBasedOnEnum (CameraAnchor _anchor) {
|
||||
switch (_anchor) {
|
||||
case CameraAnchor.Center:
|
||||
vectorAnchor = new Vector2(0.5f, 0.5f);
|
||||
break;
|
||||
case CameraAnchor.Top:
|
||||
vectorAnchor = new Vector2(0.5f, 1f);
|
||||
break;
|
||||
case CameraAnchor.Bottom:
|
||||
vectorAnchor = new Vector2(0.5f, 0f);
|
||||
break;
|
||||
case CameraAnchor.Left:
|
||||
vectorAnchor = new Vector2(0f, 0.5f);
|
||||
break;
|
||||
case CameraAnchor.Right:
|
||||
vectorAnchor = new Vector2(1f, 0.5f);
|
||||
break;
|
||||
case CameraAnchor.TopLeft:
|
||||
vectorAnchor = new Vector2(0f, 1f);
|
||||
break;
|
||||
case CameraAnchor.TopRight:
|
||||
vectorAnchor = new Vector2(1f, 1f);
|
||||
break;
|
||||
case CameraAnchor.BottomLeft:
|
||||
vectorAnchor = new Vector2(0f, 0f);
|
||||
break;
|
||||
case CameraAnchor.BottomRight:
|
||||
vectorAnchor = new Vector2(1f, 0f);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Forces a camera to render at a given ratio
|
||||
/// Creates a letter box effect if the new viewport does not match the current Window ratio
|
||||
/// </summary>
|
||||
/// <param name="_targetAspect"></param>
|
||||
/// <param name="_currentAspect"></param>
|
||||
public void CalculateAndSetCameraRatio (float _width, float _height, bool _horizontalLetterbox) {
|
||||
|
||||
Rect localViewPort = new Rect();
|
||||
|
||||
// Force the viewport to a width and height accurate to the target ratio
|
||||
if (_horizontalLetterbox) { // current aspect is wider than target aspect so shorten down height of the viewport
|
||||
localViewPort.height = _height;
|
||||
localViewPort.width = 1;
|
||||
|
||||
} else { // current aspect is taller than target aspect so thin down width of the viewport
|
||||
localViewPort.height = 1f;
|
||||
localViewPort.width = _width;
|
||||
}
|
||||
|
||||
// Resize and position the viewport to fit in it's original position on screen (adhering to a given anchor point)
|
||||
Rect screenViewPortHorizontal = new Rect();
|
||||
Rect screenViewPortVertical = new Rect();
|
||||
|
||||
// Calculate both a horizontally and vertically resized viewport
|
||||
screenViewPortHorizontal.width = originViewPort.width;
|
||||
screenViewPortHorizontal.height = originViewPort.width * (localViewPort.height / localViewPort.width);
|
||||
screenViewPortHorizontal.x = originViewPort.x;
|
||||
screenViewPortHorizontal.y = Mathf.Lerp(originViewPort.y, originViewPort.y + (originViewPort.height - screenViewPortHorizontal.height), vectorAnchor.y);
|
||||
|
||||
screenViewPortVertical.width = originViewPort.height * (localViewPort.width / localViewPort.height);
|
||||
screenViewPortVertical.height = originViewPort.height;
|
||||
screenViewPortVertical.x = Mathf.Lerp(originViewPort.x, originViewPort.x + (originViewPort.width - screenViewPortVertical.width), vectorAnchor.x);
|
||||
screenViewPortVertical.y = originViewPort.y;
|
||||
|
||||
// Use the best fitting of the two
|
||||
if (screenViewPortHorizontal.height >= screenViewPortVertical.height && screenViewPortHorizontal.width >= screenViewPortVertical.width) {
|
||||
if (screenViewPortHorizontal.height <= originViewPort.height && screenViewPortHorizontal.width <= originViewPort.width) {
|
||||
camera.rect = screenViewPortHorizontal;
|
||||
} else {
|
||||
camera.rect = screenViewPortVertical;
|
||||
}
|
||||
} else {
|
||||
if (screenViewPortVertical.height <= originViewPort.height && screenViewPortVertical.width <= originViewPort.width) {
|
||||
camera.rect = screenViewPortVertical;
|
||||
} else {
|
||||
camera.rect = screenViewPortHorizontal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// A class for tracking all cameras in a scene
|
||||
[System.Serializable]
|
||||
public class ForceCameraRatio : MonoBehaviour
|
||||
{
|
||||
public Vector2 ratio = new Vector2(16, 9);
|
||||
public bool forceRatioOnAwake = true;
|
||||
public bool listenForWindowChanges = true;
|
||||
public bool createCameraForLetterBoxRendering = true;
|
||||
public bool findCamerasAutomatically = true;
|
||||
public Color letterBoxCameraColor = new Color(0, 0, 0, 1);
|
||||
|
||||
public List<CameraRatio> cameras;
|
||||
|
||||
public Camera letterBoxCamera;
|
||||
|
||||
private void Start () {
|
||||
// If no cameras have been assigned in editor, search for cameras in the scene
|
||||
if (findCamerasAutomatically) {
|
||||
FindAllCamerasInScene();
|
||||
} else if (cameras == null || cameras.Count == 0) {
|
||||
cameras = new List<CameraRatio>();
|
||||
}
|
||||
|
||||
ValidateCameraArray();
|
||||
|
||||
// Set the origin viewport space for each Camera
|
||||
for (int i = 0; i < cameras.Count; i++) {
|
||||
cameras[i].ResetOriginViewport();
|
||||
}
|
||||
|
||||
// If requested, a Camera will be generated that renders a letter box Color
|
||||
if (createCameraForLetterBoxRendering) {
|
||||
letterBoxCamera = new GameObject().AddComponent<Camera>();
|
||||
letterBoxCamera.backgroundColor = letterBoxCameraColor;
|
||||
letterBoxCamera.cullingMask = 0;
|
||||
letterBoxCamera.depth = -100;
|
||||
letterBoxCamera.farClipPlane = 1;
|
||||
letterBoxCamera.useOcclusionCulling = false;
|
||||
letterBoxCamera.allowHDR = false;
|
||||
letterBoxCamera.clearFlags = CameraClearFlags.Color;
|
||||
letterBoxCamera.name = "Letter Box Camera";
|
||||
|
||||
for (int i = 0; i < cameras.Count; i++) {
|
||||
if (cameras[i].camera.depth == -100) {
|
||||
Debug.LogError(cameras[i].camera.name + " has a depth of -100 and may conflict with the Letter Box Camera in Forced Camera Ratio!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (forceRatioOnAwake) {
|
||||
CalculateAndSetAllCameraRatios();
|
||||
}
|
||||
}
|
||||
|
||||
private void Update () {
|
||||
if (listenForWindowChanges) {
|
||||
// Recalculate the viewport size if the window size has changed
|
||||
CalculateAndSetAllCameraRatios();
|
||||
if (letterBoxCamera != null) {
|
||||
letterBoxCamera.backgroundColor = letterBoxCameraColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the container class for a Camera and it's ratio by the _camera it contains
|
||||
/// Returns null if the given _camera is not being tracked
|
||||
/// </summary>
|
||||
/// <param name="_camera"></param>
|
||||
/// <returns></returns>
|
||||
private CameraRatio GetCameraRatioByCamera (Camera _camera) {
|
||||
if (cameras == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
for (int i = 0; i < cameras.Count; i++) {
|
||||
if (cameras[i] != null && cameras[i].camera == _camera) {
|
||||
return cameras[i];
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Removes any null elements from the CameraRatio Array
|
||||
/// </summary>
|
||||
private void ValidateCameraArray() {
|
||||
for (int i = cameras.Count - 1; i >= 0; i--) {
|
||||
if (cameras[i].camera == null) {
|
||||
cameras.RemoveAt(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Populates the tracked Camera Array with every Camera currently in the scene
|
||||
/// </summary>
|
||||
public void FindAllCamerasInScene () {
|
||||
Camera[] allCameras = FindObjectsOfType<Camera>();
|
||||
cameras = new List<CameraRatio>();
|
||||
|
||||
for (int i = 0; i < allCameras.Length; i++) {
|
||||
if ((createCameraForLetterBoxRendering || allCameras[i] != letterBoxCamera)) { // Ignore the Custom LetterBox Camera
|
||||
cameras.Add(new CameraRatio(allCameras[i], new Vector2(0.5f, 0.5f)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Loops through all cameras in scene (or that have been set in editor)
|
||||
/// Forces each camera to render at a given ratio
|
||||
/// Creates a letter box effect if the new viewport does not match the current Window ratio
|
||||
/// </summary>
|
||||
public void CalculateAndSetAllCameraRatios () {
|
||||
float targetAspect = ratio.x / ratio.y;
|
||||
float currentAspect = ((float)Screen.width) / ((float)Screen.height);
|
||||
|
||||
bool horizontalLetterbox = false;
|
||||
float fullWidth = targetAspect / currentAspect;
|
||||
float fullHeight = currentAspect / targetAspect;
|
||||
|
||||
if (currentAspect > targetAspect) {
|
||||
horizontalLetterbox = false;
|
||||
}
|
||||
|
||||
for (int i = 0; i < cameras.Count; i++) {
|
||||
cameras[i].SetAnchorBasedOnEnum(cameras[i].anchor);
|
||||
cameras[i].CalculateAndSetCameraRatio(fullWidth, fullHeight, horizontalLetterbox);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Set the anchor for a given Camera
|
||||
/// </summary>
|
||||
/// <param name="_camera"></param>
|
||||
/// <param name="_anchor"></param>
|
||||
public void SetCameraAnchor (Camera _camera, Vector2 _anchor) {
|
||||
CameraRatio camera = GetCameraRatioByCamera(_camera);
|
||||
if (camera != null) {
|
||||
camera.vectorAnchor = _anchor;
|
||||
}
|
||||
}
|
||||
|
||||
public CameraRatio[] GetCameras () {
|
||||
if (cameras == null) {
|
||||
cameras = new List<CameraRatio>();
|
||||
}
|
||||
return cameras.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
12
Assets/Auto Letterbox/ForceCameraRatio.cs.meta
Normal file
|
@ -0,0 +1,12 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e188ee899633d0b49870a5ae38b7359d
|
||||
timeCreated: 1446557149
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
377
Assets/Auto Letterbox/Util.cs
Normal file
|
@ -0,0 +1,377 @@
|
|||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using System;
|
||||
|
||||
namespace AutoLetterbox {
|
||||
|
||||
/* Util.cs
|
||||
*
|
||||
* Utility Class with multiple use mathmatical functions
|
||||
*
|
||||
* Written by Tom Elliott and Milo Keeble */
|
||||
|
||||
public static class Util {
|
||||
|
||||
public static string GrootWhatAreYouDoing() {
|
||||
return "I am Groot.";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a value as a positive number
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
/// <returns></returns>
|
||||
public static float AsPositive(float value) {
|
||||
return Mathf.Abs(value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a value as a negative number
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
/// <returns></returns>
|
||||
public static float AsNegative(float value) {
|
||||
return -Mathf.Abs(value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Bezier Interpolation between multiple points
|
||||
/// </summary>
|
||||
public static float BezierCurve(float[] p, float t) {
|
||||
if (p.Length > 2) {
|
||||
float[] newPoints = new float[p.Length - 1];
|
||||
for (int i = 0; i < newPoints.Length; i++) {
|
||||
newPoints[i] = Lerp(p[i], p[i + 1], t);
|
||||
}
|
||||
return BezierCurve(newPoints, t);
|
||||
|
||||
} else if (p.Length == 2) {
|
||||
return Lerp(p[0], p[1], t);
|
||||
|
||||
} else {
|
||||
Debug.Log("WARNING: A class attempted to get a Bezier Curve with less than two points!");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Bezier Interpolation between multiple points
|
||||
/// </summary>
|
||||
public static Vector3 BezierCurve(Vector3[] p, float t) {
|
||||
if (p.Length > 2) {
|
||||
Vector3[] newPoints = new Vector3[p.Length - 1];
|
||||
for (int i = 0; i < newPoints.Length; i++) {
|
||||
newPoints[i] = Lerp(p[i], p[i + 1], t);
|
||||
}
|
||||
return BezierCurve(newPoints, t);
|
||||
|
||||
} else if (p.Length == 2) {
|
||||
return Lerp(p[0], p[1], t);
|
||||
|
||||
} else {
|
||||
//Debug.Log("WARNING: A class attempted to get a Bezier Curve with less than two points!");
|
||||
return Vector3.zero;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Takes an existing velocity and a point of collision relative to the center of the object traveling
|
||||
/// Returns a new, reflected velocity
|
||||
/// (Rough estimate, should be considered inacurrate until a truer calculation is implemented)
|
||||
/// </summary>
|
||||
/// <param name="originalVelocity"></param>
|
||||
/// <param name="normalOfCollision"></param>
|
||||
/// <returns></returns>
|
||||
public static Vector3 CalculateReflectedVelocity(Vector3 originalVelocity, Vector3 normalOfCollision) {
|
||||
Vector3 hitDirection = -normalOfCollision;
|
||||
Vector3 newDirection = originalVelocity.normalized;
|
||||
|
||||
newDirection = new Vector3(newDirection.x - hitDirection.x, newDirection.y - hitDirection.y, 0);
|
||||
if (newDirection.sqrMagnitude == 0f) {
|
||||
newDirection = -originalVelocity.normalized;
|
||||
}
|
||||
|
||||
return newDirection;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a value no greater than max and no less than min
|
||||
/// </summary>
|
||||
/// <param name="min"></param>
|
||||
/// <param name="max"></param>
|
||||
/// <param name="value"></param>
|
||||
/// <returns></returns>
|
||||
public static float Clamp(float min, float max, float value) {
|
||||
value = (value < min) ? min : value;
|
||||
value = (value > max) ? max : value;
|
||||
return value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a value no greater than max and no less than min
|
||||
/// </summary>
|
||||
/// <param name="min"></param>
|
||||
/// <param name="max"></param>
|
||||
/// <param name="value"></param>
|
||||
/// <returns></returns>
|
||||
public static int Clamp(int min, int max, int value) {
|
||||
value = (value < min) ? min : value;
|
||||
value = (value > max) ? max : value;
|
||||
return value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Converts a unity color to a hex string
|
||||
/// </summary>
|
||||
/// <param name="color">Color to convert, can be Color as well as Color32</param>
|
||||
/// <returns>A hex string of the passed in color</returns>
|
||||
public static string ColorToHex(Color32 color) {
|
||||
string hex = color.r.ToString("X2") + color.g.ToString("X2") + color.b.ToString("X2");
|
||||
return hex;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Converts an angle in Degrees to a Vector2
|
||||
/// </summary>
|
||||
/// <returns>The converted Vector2</returns>
|
||||
/// <param name="_angle">Angle in Degrees</param>
|
||||
public static Vector2 DegreesToVector(float _angle) {
|
||||
return new Vector2((float)Math.Cos(_angle * Mathf.Deg2Rad), (float)Math.Sin(_angle * Mathf.Deg2Rad));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the float difference between a and b
|
||||
/// </summary>
|
||||
/// <param name="a"></param>
|
||||
/// <param name="b"></param>
|
||||
/// <returns></returns>
|
||||
public static float Difference(float a, float b) {
|
||||
return (a > b) ? a - b : b - a;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the integer difference between a and b
|
||||
/// </summary>
|
||||
/// <param name="a"></param>
|
||||
/// <param name="b"></param>
|
||||
/// <returns></returns>
|
||||
public static int Difference(int a, int b) {
|
||||
return (a > b) ? a - b : b - a;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a normalized direction vector pointing at target from origin
|
||||
/// </summary>
|
||||
public static Vector3 DirectionVector(Vector3 origin, Vector3 target) {
|
||||
return (target - origin).normalized;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Outputs a custom error message from sender
|
||||
/// Use this to keep error messages consistent
|
||||
/// </summary>
|
||||
public static void Error(object sender, string error) {
|
||||
if (sender != null) {
|
||||
Debug.Log(sender.GetType().ToString() + ": " + error);
|
||||
} else {
|
||||
Debug.Log("NULL SENDER: " + error);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the code given name of the variable
|
||||
/// </summary>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
/// <param name="expression"></param>
|
||||
/// <returns></returns>
|
||||
public static string GetMemberName<T>(Expression<Func<T>> expression) {
|
||||
MemberExpression body = (MemberExpression)expression.Body;
|
||||
return body.Member.Name;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Converts a hex string to a unity color
|
||||
/// </summary>
|
||||
/// <param name="hex">The hex string to convert</param>
|
||||
/// <returns>A Color of the passed in Hex String</returns>
|
||||
public static Color HexToColor(string hex) {
|
||||
byte r = byte.Parse(hex.Substring(0, 2), System.Globalization.NumberStyles.HexNumber);
|
||||
byte g = byte.Parse(hex.Substring(2, 2), System.Globalization.NumberStyles.HexNumber);
|
||||
byte b = byte.Parse(hex.Substring(4, 2), System.Globalization.NumberStyles.HexNumber);
|
||||
return new Color32(r, g, b, 255);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the flag number for an int
|
||||
/// </summary>
|
||||
/// <param name="_index"></param>
|
||||
/// <returns></returns>
|
||||
public static int IndexToFlags(int _index) {
|
||||
switch (_index) {
|
||||
case 0: return 1;
|
||||
case 1: return 2;
|
||||
case 2: return 4;
|
||||
case 3: return 8;
|
||||
case 4: return 16;
|
||||
case 5: return 32;
|
||||
case 6: return 64;
|
||||
case 7: return 128;
|
||||
case 8: return 256;
|
||||
case 9: return 512;
|
||||
default: return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if the given integer is odd
|
||||
/// Returns false if the given integer is even
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
/// <returns></returns>
|
||||
public static bool IsOdd(int value) {
|
||||
return value % 2 != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Linear Interpolation between two points
|
||||
/// </summary>
|
||||
public static Vector3 Lerp(Vector3 p1, Vector3 p2, float t) {
|
||||
return p1 + (p2 - p1) * t;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Linear Interpolation between two points
|
||||
/// </summary>
|
||||
public static float Lerp(float p1, float p2, float t) {
|
||||
return p1 + (p2 - p1) * t;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Outputs an error message from sender stating that variableName is null
|
||||
/// Use this to keep error messages consistent
|
||||
/// </summary>
|
||||
public static void NullError(object sender, string variableName, string extraNotes = "") {
|
||||
if (sender == null) {
|
||||
Debug.Log("NULL SENDER: " + variableName + " is null! " + extraNotes);
|
||||
} else {
|
||||
Debug.Log(sender.GetType().ToString() + ": " + variableName + " is null! " + extraNotes);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns value as a percentage of max - min clamped between 0 and 1
|
||||
/// </summary>
|
||||
/// <param name="min"></param>
|
||||
/// <param name="max"></param>
|
||||
/// <param name="value"></param>
|
||||
/// <returns></returns>
|
||||
public static float Percent(float min, float max, float value) {
|
||||
if (max - min == 0) {
|
||||
//Debug.Log("WARNING: A class attempted to find a percentage of 0!");
|
||||
return 0f;
|
||||
}
|
||||
return Clamp(0f, 1f, (value - min) / (max - min));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns value as an unclamped percentage of max - min
|
||||
/// </summary>
|
||||
/// <param name="min"></param>
|
||||
/// <param name="max"></param>
|
||||
/// <param name="value"></param>
|
||||
/// <returns></returns>
|
||||
public static float PercentUnclampled(float min, float max, float value) {
|
||||
if (max - min == 0) {
|
||||
Debug.Log("WARNING: A class attempted to find an unclamped percentage of 0!");
|
||||
return 0f;
|
||||
}
|
||||
return (value - min) / (max - min);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Takes 2 rectangles and tests if they intersect
|
||||
/// </summary>
|
||||
/// <param name="extremeMinA"></param>
|
||||
/// <param name="extremeMaxA"></param>
|
||||
/// <param name="extremeMinB"></param>
|
||||
/// <param name="extremeMaxB"></param>
|
||||
/// <returns></returns>
|
||||
public static bool RectContainsRect(Vector2 extremeMinA, Vector2 extremeMaxA, Vector2 extremeMinB, Vector2 extremeMaxB) {
|
||||
if (extremeMinA.y > extremeMaxB.y || extremeMaxA.y < extremeMinB.y ||
|
||||
extremeMinA.x > extremeMaxB.x || extremeMaxA.x < extremeMinB.x) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a vector3 reflected on the X axis
|
||||
/// </summary>
|
||||
/// <param name="_vector"></param>
|
||||
/// <returns></returns>
|
||||
public static Vector3 ReflectOnXAxis(Vector3 _vector) {
|
||||
_vector.x = -_vector.x;
|
||||
return _vector;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a vector3 reflected on the X and Y axis
|
||||
/// </summary>
|
||||
/// <param name="_vector"></param>
|
||||
/// <returns></returns>
|
||||
public static Vector3 ReflectOnXandYAxis(Vector3 _vector) {
|
||||
_vector.x = -_vector.x;
|
||||
_vector.y = -_vector.y;
|
||||
return _vector;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a vector3 reflected on the Y axis
|
||||
/// </summary>
|
||||
/// <param name="_vector"></param>
|
||||
/// <returns></returns>
|
||||
public static Vector3 ReflectOnYAxis(Vector3 _vector) {
|
||||
_vector.y = -_vector.y;
|
||||
return _vector;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Converts a Vector2 to an angle in Degrees
|
||||
/// </summary>
|
||||
/// <returns>The angle in degrees.</returns>
|
||||
/// <param name="_vector">A vector2 to convert</param>
|
||||
public static float VectorToDegrees(Vector2 _vector) {
|
||||
float deg = (float)Mathf.Atan2(_vector.y, _vector.x) * Mathf.Rad2Deg;
|
||||
return (deg > 0) ? deg : deg + 360f;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns 'up' as if the X and Y axis where ground plane (Rather than X and Z)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static Vector3 XYplaneUpDirection() {
|
||||
return new Vector3(0, 0, -1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if the given point is on screen via the main Camera
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static bool IsPointOnMainCamera(Vector3 _point) {
|
||||
if (Camera.main == null) { return false; }
|
||||
|
||||
Vector3 screenPoint = Camera.main.WorldToScreenPoint(_point);
|
||||
if (screenPoint.x < 0 || screenPoint.y > Screen.width || screenPoint.y < 0 || screenPoint.y > Screen.height) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
//HexToColor & ColorToHex Shamelessly taken from wiki.unity3d.com/index.php?title=HexConverter, Written by mvi?
|
||||
}
|
||||
}
|
12
Assets/Auto Letterbox/Util.cs.meta
Normal file
|
@ -0,0 +1,12 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8a561f82163dc584094296e9eb0a53af
|
||||
timeCreated: 1447429093
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
17
Assets/Editor/CreateAssetBundles.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using System.IO;
|
||||
|
||||
public class CreateAssetBundles
|
||||
{
|
||||
[MenuItem("Assets/Build AssetBundles")]
|
||||
static void BuildAllAssetBundles()
|
||||
{
|
||||
string assetBundleDirectory = "Assets/StreamingAssets";
|
||||
if (!Directory.Exists(Application.streamingAssetsPath))
|
||||
{
|
||||
Directory.CreateDirectory(assetBundleDirectory);
|
||||
}
|
||||
BuildPipeline.BuildAssetBundles(assetBundleDirectory, BuildAssetBundleOptions.None, EditorUserBuildSettings.activeBuildTarget);
|
||||
}
|
||||
}
|
11
Assets/Editor/CreateAssetBundles.cs.meta
Normal file
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: b92d2ae9fabfea341b9f4771d0c4efb6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
23
Assets/Plugins/Starpelly/OS.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
namespace Starpelly
|
||||
{
|
||||
public static class OS
|
||||
{
|
||||
private static readonly OperatingSystem.IOperatingSystem _os;
|
||||
|
||||
static OS()
|
||||
{
|
||||
#if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
|
||||
_os = new OperatingSystem.Windows();
|
||||
#elif UNITY_STANDALONE_LINUX || UNITY_EDITOR_LINUX
|
||||
_os = new OperatingSystem.Linux();
|
||||
#elif UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX
|
||||
_os = new OperatingSystem.MacOS();
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void ChangeWindowTitle(string newTitle)
|
||||
{
|
||||
_os.ChangeWindowTitle(newTitle);
|
||||
}
|
||||
}
|
||||
}
|
3
Assets/Plugins/Starpelly/OS.cs.meta
Normal file
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 36edcede4a1a4ef9bb0902354c3be0d1
|
||||
timeCreated: 1655775758
|
3
Assets/Plugins/Starpelly/OperatingSystem.meta
Normal file
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 7b17a1aeeb0f43bb805dc7ac03408ebb
|
||||
timeCreated: 1655775758
|
|
@ -0,0 +1,7 @@
|
|||
namespace Starpelly.OperatingSystem
|
||||
{
|
||||
public interface IOperatingSystem
|
||||
{
|
||||
public void ChangeWindowTitle(string newTitle);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8bb82376a44e4330b6398deddb17d282
|
||||
timeCreated: 1655775758
|
16
Assets/Plugins/Starpelly/OperatingSystem/Linux.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
#if UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Starpelly.OperatingSystem
|
||||
{
|
||||
public class Linux : IOperatingSystem
|
||||
{
|
||||
public void ChangeWindowTitle(string newTitle)
|
||||
{
|
||||
var pid = Process.GetCurrentProcess().Id;
|
||||
var args = $"search --all --pid {pid} --class '.' set_window --name \"{newTitle}\"";
|
||||
Process.Start("xdotool", args);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
3
Assets/Plugins/Starpelly/OperatingSystem/Linux.cs.meta
Normal file
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 9e5d25ae0c3e4256abae4d2e07f7e14b
|
||||
timeCreated: 1655775758
|
10
Assets/Plugins/Starpelly/OperatingSystem/MacOS.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
namespace Starpelly.OperatingSystem
|
||||
{
|
||||
public class MacOS : IOperatingSystem
|
||||
{
|
||||
public void ChangeWindowTitle(string newTitle)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
3
Assets/Plugins/Starpelly/OperatingSystem/MacOS.cs.meta
Normal file
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: cfc6152d5db74f568b229047970f7889
|
||||
timeCreated: 1655775758
|
|
@ -1,3 +1,4 @@
|
|||
#if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
@ -5,7 +6,7 @@ using System.Text;
|
|||
using Starpelly.Common;
|
||||
using Starpelly.Enums.Windows;
|
||||
|
||||
namespace Starpelly.OS
|
||||
namespace Starpelly.OperatingSystem
|
||||
{
|
||||
public class User32
|
||||
{
|
||||
|
@ -54,3 +55,4 @@ namespace Starpelly.OS
|
|||
#endregion
|
||||
}
|
||||
}
|
||||
#endif
|
|
@ -1,12 +1,13 @@
|
|||
#if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using Starpelly.Enums.Windows;
|
||||
using System.Text;
|
||||
|
||||
namespace Starpelly.OS
|
||||
namespace Starpelly.OperatingSystem
|
||||
{
|
||||
public class Windows
|
||||
public class Windows : IOperatingSystem
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the current title of the game window.
|
||||
|
@ -29,7 +30,7 @@ namespace Starpelly.OS
|
|||
/// Changes the game's window title.
|
||||
/// </summary>
|
||||
/// <param name="newTitle">The title the window will be changed to.</param>
|
||||
public static void ChangeWindowTitle(string newTitle)
|
||||
public void ChangeWindowTitle(string newTitle)
|
||||
{
|
||||
var windowPtr = User32.FindWindow(null, GetActiveWindowTitle());
|
||||
User32.SetWindowText(windowPtr, newTitle);
|
||||
|
@ -137,3 +138,4 @@ namespace Starpelly.OS
|
|||
|
||||
}
|
||||
}
|
||||
#endif
|
|
@ -12,7 +12,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 957177531333f744abeb6082b4c44bc0, type: 3}
|
||||
m_Name: PostProcessOutline
|
||||
m_EditorClassIdentifier:
|
||||
active: 1
|
||||
active: 0
|
||||
enabled:
|
||||
overrideState: 1
|
||||
value: 1
|
||||
|
|
399
Assets/Resources/Fonts/roboto/Roboto-Regular Dynamic.asset
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a16d0c2ea04492c438b79bc84cc76f45
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -2722,7 +2722,8 @@ MonoBehaviour:
|
|||
m_FontFeatureTable:
|
||||
m_GlyphPairAdjustmentRecords: []
|
||||
fallbackFontAssets: []
|
||||
m_FallbackFontAssetTable: []
|
||||
m_FallbackFontAssetTable:
|
||||
- {fileID: 11400000, guid: a16d0c2ea04492c438b79bc84cc76f45, type: 2}
|
||||
m_CreationSettings:
|
||||
sourceFontFileName:
|
||||
sourceFontFileGUID: ca4c19418a29e874bbc3a87da864316a
|
||||
|
@ -2732,8 +2733,8 @@ MonoBehaviour:
|
|||
packingMode: 0
|
||||
atlasWidth: 2048
|
||||
atlasHeight: 2048
|
||||
characterSetSelectionMode: 6
|
||||
characterSequence: 20-7E,A0,200B,2026
|
||||
characterSetSelectionMode: 0
|
||||
characterSequence: 32 - 126, 160, 8203, 8230, 9633
|
||||
referencedFontAssetGUID: c2df694f599b22b42817910ff570a9df
|
||||
referencedTextAssetGUID:
|
||||
fontStyle: 0
|
||||
|
|
1309
Assets/Resources/Fonts/rodin/FOT-Rodin Pro B SDF Dynamic.asset
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a7369af9037eaed49a3e032f4fb9c52c
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,105 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: FOT-Rodin Pro B SDF Open Captions
|
||||
m_Shader: {fileID: 4800000, guid: 68e6db2ebdc24f95958faec2be5558d6, type: 3}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Cube:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _FaceTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: -6916996860123676527, guid: 4810e200fa0cb24438bac52343d7674b, type: 2}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OutlineTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _Ambient: 0.5
|
||||
- _Bevel: 0.5
|
||||
- _BevelClamp: 0
|
||||
- _BevelOffset: 0
|
||||
- _BevelRoundness: 0
|
||||
- _BevelWidth: 0
|
||||
- _BumpFace: 0
|
||||
- _BumpOutline: 0
|
||||
- _ColorMask: 15
|
||||
- _CullMode: 0
|
||||
- _Diffuse: 0.5
|
||||
- _FaceDilate: 0.2
|
||||
- _FaceUVSpeedX: 0
|
||||
- _FaceUVSpeedY: 0
|
||||
- _GlowInner: 0.05
|
||||
- _GlowOffset: 0
|
||||
- _GlowOuter: 0.05
|
||||
- _GlowPower: 0.75
|
||||
- _GradientScale: 10
|
||||
- _LightAngle: 3.1416
|
||||
- _MaskSoftnessX: 0
|
||||
- _MaskSoftnessY: 0
|
||||
- _OutlineSoftness: 0
|
||||
- _OutlineUVSpeedX: 0
|
||||
- _OutlineUVSpeedY: 0
|
||||
- _OutlineWidth: 0.4
|
||||
- _PerspectiveFilter: 0.875
|
||||
- _Reflectivity: 10
|
||||
- _ScaleRatioA: 0.9
|
||||
- _ScaleRatioB: 0.55125
|
||||
- _ScaleRatioC: 0.55125
|
||||
- _ScaleX: 1
|
||||
- _ScaleY: 1
|
||||
- _ShaderFlags: 0
|
||||
- _Sharpness: 0
|
||||
- _SpecularPower: 2
|
||||
- _Stencil: 0
|
||||
- _StencilComp: 8
|
||||
- _StencilOp: 0
|
||||
- _StencilReadMask: 255
|
||||
- _StencilWriteMask: 255
|
||||
- _TextureHeight: 1024
|
||||
- _TextureWidth: 1024
|
||||
- _UnderlayDilate: 0
|
||||
- _UnderlayOffsetX: 0
|
||||
- _UnderlayOffsetY: 0
|
||||
- _UnderlaySoftness: 0
|
||||
- _VertexOffsetX: 0
|
||||
- _VertexOffsetY: 0
|
||||
- _WeightBold: 0.75
|
||||
- _WeightNormal: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
|
||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
|
||||
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
||||
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
m_BuildTextureStacks: []
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 6d4610587e293f74ca2b71ec1cf59da3
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
2708
Assets/Resources/Fonts/rodin/FOT-Rodin Pro B SDF.asset
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4810e200fa0cb24438bac52343d7674b
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Resources/Fonts/rodin/FOT-Rodin Pro B.otf
Normal file
21
Assets/Resources/Fonts/rodin/FOT-Rodin Pro B.otf.meta
Normal file
|
@ -0,0 +1,21 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 2f2282f979bbb774f812572d39e9218e
|
||||
TrueTypeFontImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
fontNames:
|
||||
- FOT-Rodin Pro
|
||||
fallbackFontReferences: []
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
||||
ascentCalculationMode: 1
|
||||
useLegacyBoundsCalculation: 0
|
||||
shouldRoundAdvanceValue: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
285
Assets/Resources/Fonts/rodin/FOT-Rodin Pro DB SDF Dynamic.asset
Normal file
|
@ -0,0 +1,285 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!28 &-7616882842637102995
|
||||
Texture2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: FOT-Rodin Pro DB Atlas
|
||||
m_ImageContentsHash:
|
||||
serializedVersion: 2
|
||||
Hash: 00000000000000000000000000000000
|
||||
m_ForcedFallbackFormat: 4
|
||||
m_DownscaleFallback: 0
|
||||
m_IsAlphaChannelOptional: 0
|
||||
serializedVersion: 2
|
||||
m_Width: 0
|
||||
m_Height: 0
|
||||
m_CompleteImageSize: 0
|
||||
m_MipsStripped: 0
|
||||
m_TextureFormat: 1
|
||||
m_MipCount: 1
|
||||
m_IsReadable: 1
|
||||
m_IsPreProcessed: 0
|
||||
m_IgnoreMasterTextureLimit: 0
|
||||
m_StreamingMipmaps: 0
|
||||
m_StreamingMipmapsPriority: 0
|
||||
m_VTOnly: 0
|
||||
m_AlphaIsTransparency: 0
|
||||
m_ImageCount: 1
|
||||
m_TextureDimension: 2
|
||||
m_TextureSettings:
|
||||
serializedVersion: 2
|
||||
m_FilterMode: 1
|
||||
m_Aniso: 1
|
||||
m_MipBias: 0
|
||||
m_WrapU: 0
|
||||
m_WrapV: 0
|
||||
m_WrapW: 0
|
||||
m_LightmapFormat: 0
|
||||
m_ColorSpace: 0
|
||||
m_PlatformBlob:
|
||||
image data: 0
|
||||
_typelessdata:
|
||||
m_StreamData:
|
||||
serializedVersion: 2
|
||||
offset: 0
|
||||
size: 0
|
||||
path:
|
||||
--- !u!114 &11400000
|
||||
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: 71c1514a6bd24e1e882cebbe1904ce04, type: 3}
|
||||
m_Name: FOT-Rodin Pro DB SDF Dynamic
|
||||
m_EditorClassIdentifier:
|
||||
hashCode: -716773919
|
||||
material: {fileID: 5296781804180034499}
|
||||
materialHashCode: -1646043487
|
||||
m_Version: 1.1.0
|
||||
m_SourceFontFileGUID: d9b391ecd583bd54fa458814fbcad7be
|
||||
m_SourceFontFile_EditorRef: {fileID: 12800000, guid: d9b391ecd583bd54fa458814fbcad7be, type: 3}
|
||||
m_SourceFontFile: {fileID: 12800000, guid: d9b391ecd583bd54fa458814fbcad7be, type: 3}
|
||||
m_AtlasPopulationMode: 1
|
||||
m_FaceInfo:
|
||||
m_FaceIndex: 0
|
||||
m_FamilyName: FOT-Rodin Pro
|
||||
m_StyleName: DB
|
||||
m_PointSize: 90
|
||||
m_Scale: 1
|
||||
m_LineHeight: 180
|
||||
m_AscentLine: 79.200005
|
||||
m_CapLine: 71
|
||||
m_MeanLine: 50
|
||||
m_Baseline: 0
|
||||
m_DescentLine: -10.8
|
||||
m_SuperscriptOffset: 79.200005
|
||||
m_SuperscriptSize: 0.5
|
||||
m_SubscriptOffset: -10.8
|
||||
m_SubscriptSize: 0.5
|
||||
m_UnderlineOffset: -9
|
||||
m_UnderlineThickness: 4.5
|
||||
m_StrikethroughOffset: 20
|
||||
m_StrikethroughThickness: 4.5
|
||||
m_TabWidth: 31
|
||||
m_GlyphTable: []
|
||||
m_CharacterTable: []
|
||||
m_AtlasTextures:
|
||||
- {fileID: -7616882842637102995}
|
||||
m_AtlasTextureIndex: 0
|
||||
m_IsMultiAtlasTexturesEnabled: 1
|
||||
m_ClearDynamicDataOnBuild: 1
|
||||
m_UsedGlyphRects: []
|
||||
m_FreeGlyphRects:
|
||||
- m_X: 0
|
||||
m_Y: 0
|
||||
m_Width: 2047
|
||||
m_Height: 2047
|
||||
m_fontInfo:
|
||||
Name:
|
||||
PointSize: 0
|
||||
Scale: 0
|
||||
CharacterCount: 0
|
||||
LineHeight: 0
|
||||
Baseline: 0
|
||||
Ascender: 0
|
||||
CapHeight: 0
|
||||
Descender: 0
|
||||
CenterLine: 0
|
||||
SuperscriptOffset: 0
|
||||
SubscriptOffset: 0
|
||||
SubSize: 0
|
||||
Underline: 0
|
||||
UnderlineThickness: 0
|
||||
strikethrough: 0
|
||||
strikethroughThickness: 0
|
||||
TabWidth: 0
|
||||
Padding: 0
|
||||
AtlasWidth: 0
|
||||
AtlasHeight: 0
|
||||
atlas: {fileID: 0}
|
||||
m_AtlasWidth: 2048
|
||||
m_AtlasHeight: 2048
|
||||
m_AtlasPadding: 9
|
||||
m_AtlasRenderMode: 4165
|
||||
m_glyphInfoList: []
|
||||
m_KerningTable:
|
||||
kerningPairs: []
|
||||
m_FontFeatureTable:
|
||||
m_GlyphPairAdjustmentRecords: []
|
||||
fallbackFontAssets: []
|
||||
m_FallbackFontAssetTable: []
|
||||
m_CreationSettings:
|
||||
sourceFontFileName:
|
||||
sourceFontFileGUID: d9b391ecd583bd54fa458814fbcad7be
|
||||
pointSizeSamplingMode: 0
|
||||
pointSize: 90
|
||||
padding: 9
|
||||
packingMode: 0
|
||||
atlasWidth: 2048
|
||||
atlasHeight: 2048
|
||||
characterSetSelectionMode: 7
|
||||
characterSequence:
|
||||
referencedFontAssetGUID:
|
||||
referencedTextAssetGUID:
|
||||
fontStyle: 0
|
||||
fontStyleModifier: 0
|
||||
renderMode: 4165
|
||||
includeFontFeatures: 0
|
||||
m_FontWeightTable:
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
fontWeights: []
|
||||
normalStyle: 0
|
||||
normalSpacingOffset: 0
|
||||
boldStyle: 0.75
|
||||
boldSpacing: 7
|
||||
italicStyle: 35
|
||||
tabSize: 10
|
||||
--- !u!21 &5296781804180034499
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: FOT-Rodin Pro DB Atlas Material
|
||||
m_Shader: {fileID: 4800000, guid: 68e6db2ebdc24f95958faec2be5558d6, type: 3}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Cube:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _FaceTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: -7616882842637102995}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OutlineTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _Ambient: 0.5
|
||||
- _Bevel: 0.5
|
||||
- _BevelClamp: 0
|
||||
- _BevelOffset: 0
|
||||
- _BevelRoundness: 0
|
||||
- _BevelWidth: 0
|
||||
- _BumpFace: 0
|
||||
- _BumpOutline: 0
|
||||
- _ColorMask: 15
|
||||
- _CullMode: 0
|
||||
- _Diffuse: 0.5
|
||||
- _FaceDilate: 0
|
||||
- _FaceUVSpeedX: 0
|
||||
- _FaceUVSpeedY: 0
|
||||
- _GlowInner: 0.05
|
||||
- _GlowOffset: 0
|
||||
- _GlowOuter: 0.05
|
||||
- _GlowPower: 0.75
|
||||
- _GradientScale: 10
|
||||
- _LightAngle: 3.1416
|
||||
- _MaskSoftnessX: 0
|
||||
- _MaskSoftnessY: 0
|
||||
- _OutlineSoftness: 0
|
||||
- _OutlineUVSpeedX: 0
|
||||
- _OutlineUVSpeedY: 0
|
||||
- _OutlineWidth: 0
|
||||
- _PerspectiveFilter: 0.875
|
||||
- _Reflectivity: 10
|
||||
- _ScaleRatioA: 1
|
||||
- _ScaleRatioB: 1
|
||||
- _ScaleRatioC: 1
|
||||
- _ScaleX: 1
|
||||
- _ScaleY: 1
|
||||
- _ShaderFlags: 0
|
||||
- _Sharpness: 0
|
||||
- _SpecularPower: 2
|
||||
- _Stencil: 0
|
||||
- _StencilComp: 8
|
||||
- _StencilOp: 0
|
||||
- _StencilReadMask: 255
|
||||
- _StencilWriteMask: 255
|
||||
- _TextureHeight: 2048
|
||||
- _TextureWidth: 2048
|
||||
- _UnderlayDilate: 0
|
||||
- _UnderlayOffsetX: 0
|
||||
- _UnderlayOffsetY: 0
|
||||
- _UnderlaySoftness: 0
|
||||
- _VertexOffsetX: 0
|
||||
- _VertexOffsetY: 0
|
||||
- _WeightBold: 0.75
|
||||
- _WeightNormal: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
|
||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
|
||||
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
||||
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
m_BuildTextureStacks: []
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 15901a137ec1bed4485d809e063ed39f
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
2688
Assets/Resources/Fonts/rodin/FOT-Rodin Pro DB SDF.asset
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8597c35f18a008c428fc5870aec75766
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Resources/Fonts/rodin/FOT-Rodin Pro DB.otf
Normal file
23
Assets/Resources/Fonts/rodin/FOT-Rodin Pro DB.otf.meta
Normal file
|
@ -0,0 +1,23 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d9b391ecd583bd54fa458814fbcad7be
|
||||
TrueTypeFontImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
fontNames:
|
||||
- FOT-Rodin Pro
|
||||
fallbackFontReferences:
|
||||
- {fileID: 12800000, guid: 2f2282f979bbb774f812572d39e9218e, type: 3}
|
||||
- {fileID: 12800000, guid: 6d457cf9900bba748b3250de2e990fa2, type: 3}
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
||||
ascentCalculationMode: 1
|
||||
useLegacyBoundsCalculation: 0
|
||||
shouldRoundAdvanceValue: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
441
Assets/Resources/Fonts/rodin/FOT-Rodin Pro M SDF Dynamic.asset
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a023566762edee74fb3197c60885ca70
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
286
Assets/Resources/Fonts/rodin/FOT-Rodin Pro M SDF.asset
Normal file
|
@ -0,0 +1,286 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &-9079830051944308670
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: FOT-Rodin Pro M Atlas Material
|
||||
m_Shader: {fileID: 4800000, guid: 68e6db2ebdc24f95958faec2be5558d6, type: 3}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Cube:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _FaceTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: -883546062392867118}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OutlineTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _Ambient: 0.5
|
||||
- _Bevel: 0.5
|
||||
- _BevelClamp: 0
|
||||
- _BevelOffset: 0
|
||||
- _BevelRoundness: 0
|
||||
- _BevelWidth: 0
|
||||
- _BumpFace: 0
|
||||
- _BumpOutline: 0
|
||||
- _ColorMask: 15
|
||||
- _CullMode: 0
|
||||
- _Diffuse: 0.5
|
||||
- _FaceDilate: 0
|
||||
- _FaceUVSpeedX: 0
|
||||
- _FaceUVSpeedY: 0
|
||||
- _GlowInner: 0.05
|
||||
- _GlowOffset: 0
|
||||
- _GlowOuter: 0.05
|
||||
- _GlowPower: 0.75
|
||||
- _GradientScale: 10
|
||||
- _LightAngle: 3.1416
|
||||
- _MaskSoftnessX: 0
|
||||
- _MaskSoftnessY: 0
|
||||
- _OutlineSoftness: 0
|
||||
- _OutlineUVSpeedX: 0
|
||||
- _OutlineUVSpeedY: 0
|
||||
- _OutlineWidth: 0
|
||||
- _PerspectiveFilter: 0.875
|
||||
- _Reflectivity: 10
|
||||
- _ScaleRatioA: 0.9
|
||||
- _ScaleRatioB: 0.73125
|
||||
- _ScaleRatioC: 0.73125
|
||||
- _ScaleX: 1
|
||||
- _ScaleY: 1
|
||||
- _ShaderFlags: 0
|
||||
- _Sharpness: 0
|
||||
- _SpecularPower: 2
|
||||
- _Stencil: 0
|
||||
- _StencilComp: 8
|
||||
- _StencilOp: 0
|
||||
- _StencilReadMask: 255
|
||||
- _StencilWriteMask: 255
|
||||
- _TextureHeight: 1024
|
||||
- _TextureWidth: 1024
|
||||
- _UnderlayDilate: 0
|
||||
- _UnderlayOffsetX: 0
|
||||
- _UnderlayOffsetY: 0
|
||||
- _UnderlaySoftness: 0
|
||||
- _VertexOffsetX: 0
|
||||
- _VertexOffsetY: 0
|
||||
- _WeightBold: 0.75
|
||||
- _WeightNormal: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
|
||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
|
||||
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
||||
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
m_BuildTextureStacks: []
|
||||
--- !u!28 &-883546062392867118
|
||||
Texture2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: FOT-Rodin Pro M Atlas
|
||||
m_ImageContentsHash:
|
||||
serializedVersion: 2
|
||||
Hash: 00000000000000000000000000000000
|
||||
m_ForcedFallbackFormat: 4
|
||||
m_DownscaleFallback: 0
|
||||
m_IsAlphaChannelOptional: 0
|
||||
serializedVersion: 2
|
||||
m_Width: 0
|
||||
m_Height: 0
|
||||
m_CompleteImageSize: 0
|
||||
m_MipsStripped: 0
|
||||
m_TextureFormat: 1
|
||||
m_MipCount: 1
|
||||
m_IsReadable: 0
|
||||
m_IsPreProcessed: 0
|
||||
m_IgnoreMasterTextureLimit: 0
|
||||
m_StreamingMipmaps: 0
|
||||
m_StreamingMipmapsPriority: 0
|
||||
m_VTOnly: 0
|
||||
m_AlphaIsTransparency: 0
|
||||
m_ImageCount: 1
|
||||
m_TextureDimension: 2
|
||||
m_TextureSettings:
|
||||
serializedVersion: 2
|
||||
m_FilterMode: 1
|
||||
m_Aniso: 1
|
||||
m_MipBias: 0
|
||||
m_WrapU: 0
|
||||
m_WrapV: 0
|
||||
m_WrapW: 0
|
||||
m_LightmapFormat: 0
|
||||
m_ColorSpace: 0
|
||||
m_PlatformBlob:
|
||||
image data: 0
|
||||
_typelessdata:
|
||||
m_StreamData:
|
||||
serializedVersion: 2
|
||||
offset: 0
|
||||
size: 0
|
||||
path:
|
||||
--- !u!114 &11400000
|
||||
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: 71c1514a6bd24e1e882cebbe1904ce04, type: 3}
|
||||
m_Name: FOT-Rodin Pro M SDF
|
||||
m_EditorClassIdentifier:
|
||||
hashCode: -254211809
|
||||
material: {fileID: -9079830051944308670}
|
||||
materialHashCode: 593407583
|
||||
m_Version: 1.1.0
|
||||
m_SourceFontFileGUID: 6d457cf9900bba748b3250de2e990fa2
|
||||
m_SourceFontFile_EditorRef: {fileID: 12800000, guid: 6d457cf9900bba748b3250de2e990fa2, type: 3}
|
||||
m_SourceFontFile: {fileID: 0}
|
||||
m_AtlasPopulationMode: 0
|
||||
m_FaceInfo:
|
||||
m_FaceIndex: 0
|
||||
m_FamilyName: FOT-Rodin Pro
|
||||
m_StyleName: M
|
||||
m_PointSize: 90
|
||||
m_Scale: 1
|
||||
m_LineHeight: 180
|
||||
m_AscentLine: 79.200005
|
||||
m_CapLine: 71
|
||||
m_MeanLine: 50
|
||||
m_Baseline: 0
|
||||
m_DescentLine: -10.8
|
||||
m_SuperscriptOffset: 79.200005
|
||||
m_SuperscriptSize: 0.5
|
||||
m_SubscriptOffset: -10.8
|
||||
m_SubscriptSize: 0.5
|
||||
m_UnderlineOffset: -9
|
||||
m_UnderlineThickness: 4.5
|
||||
m_StrikethroughOffset: 20
|
||||
m_StrikethroughThickness: 4.5
|
||||
m_TabWidth: 31
|
||||
m_GlyphTable: []
|
||||
m_CharacterTable: []
|
||||
m_AtlasTextures:
|
||||
- {fileID: -883546062392867118}
|
||||
m_AtlasTextureIndex: 0
|
||||
m_IsMultiAtlasTexturesEnabled: 0
|
||||
m_ClearDynamicDataOnBuild: 0
|
||||
m_UsedGlyphRects: []
|
||||
m_FreeGlyphRects:
|
||||
- m_X: 0
|
||||
m_Y: 0
|
||||
m_Width: 1023
|
||||
m_Height: 1023
|
||||
m_fontInfo:
|
||||
Name:
|
||||
PointSize: 0
|
||||
Scale: 0
|
||||
CharacterCount: 0
|
||||
LineHeight: 0
|
||||
Baseline: 0
|
||||
Ascender: 0
|
||||
CapHeight: 0
|
||||
Descender: 0
|
||||
CenterLine: 0
|
||||
SuperscriptOffset: 0
|
||||
SubscriptOffset: 0
|
||||
SubSize: 0
|
||||
Underline: 0
|
||||
UnderlineThickness: 0
|
||||
strikethrough: 0
|
||||
strikethroughThickness: 0
|
||||
TabWidth: 0
|
||||
Padding: 0
|
||||
AtlasWidth: 0
|
||||
AtlasHeight: 0
|
||||
atlas: {fileID: 0}
|
||||
m_AtlasWidth: 1024
|
||||
m_AtlasHeight: 1024
|
||||
m_AtlasPadding: 9
|
||||
m_AtlasRenderMode: 4165
|
||||
m_glyphInfoList: []
|
||||
m_KerningTable:
|
||||
kerningPairs: []
|
||||
m_FontFeatureTable:
|
||||
m_GlyphPairAdjustmentRecords: []
|
||||
fallbackFontAssets: []
|
||||
m_FallbackFontAssetTable:
|
||||
- {fileID: 11400000, guid: a023566762edee74fb3197c60885ca70, type: 2}
|
||||
m_CreationSettings:
|
||||
sourceFontFileName:
|
||||
sourceFontFileGUID: 6d457cf9900bba748b3250de2e990fa2
|
||||
pointSizeSamplingMode: 0
|
||||
pointSize: 90
|
||||
padding: 9
|
||||
packingMode: 0
|
||||
atlasWidth: 1024
|
||||
atlasHeight: 1024
|
||||
characterSetSelectionMode: 7
|
||||
characterSequence:
|
||||
referencedFontAssetGUID:
|
||||
referencedTextAssetGUID:
|
||||
fontStyle: 0
|
||||
fontStyleModifier: 0
|
||||
renderMode: 4165
|
||||
includeFontFeatures: 0
|
||||
m_FontWeightTable:
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
fontWeights: []
|
||||
normalStyle: 0
|
||||
normalSpacingOffset: 0
|
||||
boldStyle: 0.75
|
||||
boldSpacing: 7
|
||||
italicStyle: 35
|
||||
tabSize: 10
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 418f45feed48b954e82f035d2262bdf6
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Resources/Fonts/rodin/FOT-Rodin Pro M.otf
Normal file
22
Assets/Resources/Fonts/rodin/FOT-Rodin Pro M.otf.meta
Normal file
|
@ -0,0 +1,22 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 6d457cf9900bba748b3250de2e990fa2
|
||||
TrueTypeFontImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
fontNames:
|
||||
- FOT-Rodin Pro
|
||||
fallbackFontReferences:
|
||||
- {fileID: 12800000, guid: 2f2282f979bbb774f812572d39e9218e, type: 3}
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
||||
ascentCalculationMode: 1
|
||||
useLegacyBoundsCalculation: 0
|
||||
shouldRoundAdvanceValue: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
285
Assets/Resources/Fonts/rodin/rodin_lat_cy_ja_ko_spec SDF.asset
Normal file
|
@ -0,0 +1,285 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &-3246383185142132894
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: rodin_lat_cy_ja_ko_spec Atlas Material
|
||||
m_Shader: {fileID: 4800000, guid: 68e6db2ebdc24f95958faec2be5558d6, type: 3}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Cube:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _FaceTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2147756100144971882}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OutlineTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _Ambient: 0.5
|
||||
- _Bevel: 0.5
|
||||
- _BevelClamp: 0
|
||||
- _BevelOffset: 0
|
||||
- _BevelRoundness: 0
|
||||
- _BevelWidth: 0
|
||||
- _BumpFace: 0
|
||||
- _BumpOutline: 0
|
||||
- _ColorMask: 15
|
||||
- _CullMode: 0
|
||||
- _Diffuse: 0.5
|
||||
- _FaceDilate: 0.3
|
||||
- _FaceUVSpeedX: 0
|
||||
- _FaceUVSpeedY: 0
|
||||
- _GlowInner: 1
|
||||
- _GlowOffset: -1
|
||||
- _GlowOuter: 0
|
||||
- _GlowPower: 1
|
||||
- _GradientScale: 10
|
||||
- _LightAngle: 3.1416
|
||||
- _MaskSoftnessX: 0
|
||||
- _MaskSoftnessY: 0
|
||||
- _OutlineSoftness: 0
|
||||
- _OutlineUVSpeedX: 0
|
||||
- _OutlineUVSpeedY: 0
|
||||
- _OutlineWidth: 0.4
|
||||
- _PerspectiveFilter: 0.875
|
||||
- _Reflectivity: 10
|
||||
- _ScaleRatioA: 0.9
|
||||
- _ScaleRatioB: 0.46124998
|
||||
- _ScaleRatioC: 0.46124998
|
||||
- _ScaleX: 1
|
||||
- _ScaleY: 1
|
||||
- _ShaderFlags: 0
|
||||
- _Sharpness: 0
|
||||
- _SpecularPower: 2
|
||||
- _Stencil: 0
|
||||
- _StencilComp: 8
|
||||
- _StencilOp: 0
|
||||
- _StencilReadMask: 255
|
||||
- _StencilWriteMask: 255
|
||||
- _TextureHeight: 2048
|
||||
- _TextureWidth: 2048
|
||||
- _UnderlayDilate: -1
|
||||
- _UnderlayOffsetX: 0
|
||||
- _UnderlayOffsetY: 0
|
||||
- _UnderlaySoftness: 0.316
|
||||
- _VertexOffsetX: 0
|
||||
- _VertexOffsetY: 0
|
||||
- _WeightBold: 0.75
|
||||
- _WeightNormal: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
|
||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _GlowColor: {r: 2, g: 2, b: 2, a: 0.5}
|
||||
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
||||
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
m_BuildTextureStacks: []
|
||||
--- !u!114 &11400000
|
||||
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: 71c1514a6bd24e1e882cebbe1904ce04, type: 3}
|
||||
m_Name: rodin_lat_cy_ja_ko_spec SDF
|
||||
m_EditorClassIdentifier:
|
||||
hashCode: -557515911
|
||||
material: {fileID: -3246383185142132894}
|
||||
materialHashCode: -955256519
|
||||
m_Version: 1.1.0
|
||||
m_SourceFontFileGUID: 6459e01c422d8fb469d08b74a81e6b81
|
||||
m_SourceFontFile_EditorRef: {fileID: 12800000, guid: 6459e01c422d8fb469d08b74a81e6b81, type: 3}
|
||||
m_SourceFontFile: {fileID: 12800000, guid: 6459e01c422d8fb469d08b74a81e6b81, type: 3}
|
||||
m_AtlasPopulationMode: 1
|
||||
m_FaceInfo:
|
||||
m_FaceIndex: 0
|
||||
m_FamilyName: nintendo_NTLG-DB_001
|
||||
m_StyleName: Regular
|
||||
m_PointSize: 90
|
||||
m_Scale: 1
|
||||
m_LineHeight: 114.75001
|
||||
m_AscentLine: 92.700005
|
||||
m_CapLine: 71
|
||||
m_MeanLine: 50
|
||||
m_Baseline: 0
|
||||
m_DescentLine: -19.35
|
||||
m_SuperscriptOffset: 92.700005
|
||||
m_SuperscriptSize: 0.5
|
||||
m_SubscriptOffset: -19.35
|
||||
m_SubscriptSize: 0.5
|
||||
m_UnderlineOffset: -50.49
|
||||
m_UnderlineThickness: 9.18
|
||||
m_StrikethroughOffset: 20
|
||||
m_StrikethroughThickness: 9.18
|
||||
m_TabWidth: 31
|
||||
m_GlyphTable: []
|
||||
m_CharacterTable: []
|
||||
m_AtlasTextures:
|
||||
- {fileID: 2147756100144971882}
|
||||
m_AtlasTextureIndex: 0
|
||||
m_IsMultiAtlasTexturesEnabled: 1
|
||||
m_ClearDynamicDataOnBuild: 1
|
||||
m_UsedGlyphRects: []
|
||||
m_FreeGlyphRects:
|
||||
- m_X: 0
|
||||
m_Y: 0
|
||||
m_Width: 2047
|
||||
m_Height: 2047
|
||||
m_fontInfo:
|
||||
Name:
|
||||
PointSize: 0
|
||||
Scale: 0
|
||||
CharacterCount: 0
|
||||
LineHeight: 0
|
||||
Baseline: 0
|
||||
Ascender: 0
|
||||
CapHeight: 0
|
||||
Descender: 0
|
||||
CenterLine: 0
|
||||
SuperscriptOffset: 0
|
||||
SubscriptOffset: 0
|
||||
SubSize: 0
|
||||
Underline: 0
|
||||
UnderlineThickness: 0
|
||||
strikethrough: 0
|
||||
strikethroughThickness: 0
|
||||
TabWidth: 0
|
||||
Padding: 0
|
||||
AtlasWidth: 0
|
||||
AtlasHeight: 0
|
||||
atlas: {fileID: 0}
|
||||
m_AtlasWidth: 2048
|
||||
m_AtlasHeight: 2048
|
||||
m_AtlasPadding: 9
|
||||
m_AtlasRenderMode: 4165
|
||||
m_glyphInfoList: []
|
||||
m_KerningTable:
|
||||
kerningPairs: []
|
||||
m_FontFeatureTable:
|
||||
m_GlyphPairAdjustmentRecords: []
|
||||
fallbackFontAssets: []
|
||||
m_FallbackFontAssetTable: []
|
||||
m_CreationSettings:
|
||||
sourceFontFileName:
|
||||
sourceFontFileGUID: 6459e01c422d8fb469d08b74a81e6b81
|
||||
pointSizeSamplingMode: 0
|
||||
pointSize: 90
|
||||
padding: 9
|
||||
packingMode: 0
|
||||
atlasWidth: 2048
|
||||
atlasHeight: 2048
|
||||
characterSetSelectionMode: 7
|
||||
characterSequence:
|
||||
referencedFontAssetGUID:
|
||||
referencedTextAssetGUID:
|
||||
fontStyle: 0
|
||||
fontStyleModifier: 0
|
||||
renderMode: 4165
|
||||
includeFontFeatures: 0
|
||||
m_FontWeightTable:
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
fontWeights: []
|
||||
normalStyle: 0
|
||||
normalSpacingOffset: 0
|
||||
boldStyle: 0.75
|
||||
boldSpacing: 7
|
||||
italicStyle: 35
|
||||
tabSize: 10
|
||||
--- !u!28 &2147756100144971882
|
||||
Texture2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: rodin_lat_cy_ja_ko_spec Atlas
|
||||
m_ImageContentsHash:
|
||||
serializedVersion: 2
|
||||
Hash: 00000000000000000000000000000000
|
||||
m_ForcedFallbackFormat: 4
|
||||
m_DownscaleFallback: 0
|
||||
m_IsAlphaChannelOptional: 0
|
||||
serializedVersion: 2
|
||||
m_Width: 0
|
||||
m_Height: 0
|
||||
m_CompleteImageSize: 0
|
||||
m_MipsStripped: 0
|
||||
m_TextureFormat: 1
|
||||
m_MipCount: 1
|
||||
m_IsReadable: 1
|
||||
m_IsPreProcessed: 0
|
||||
m_IgnoreMasterTextureLimit: 0
|
||||
m_StreamingMipmaps: 0
|
||||
m_StreamingMipmapsPriority: 0
|
||||
m_VTOnly: 0
|
||||
m_AlphaIsTransparency: 0
|
||||
m_ImageCount: 1
|
||||
m_TextureDimension: 2
|
||||
m_TextureSettings:
|
||||
serializedVersion: 2
|
||||
m_FilterMode: 1
|
||||
m_Aniso: 1
|
||||
m_MipBias: 0
|
||||
m_WrapU: 0
|
||||
m_WrapV: 0
|
||||
m_WrapW: 0
|
||||
m_LightmapFormat: 0
|
||||
m_ColorSpace: 0
|
||||
m_PlatformBlob:
|
||||
image data: 0
|
||||
_typelessdata:
|
||||
m_StreamData:
|
||||
serializedVersion: 2
|
||||
offset: 0
|
||||
size: 0
|
||||
path:
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 5fb5e51feaf993c41becbd593cbd740e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -4,7 +4,7 @@ TrueTypeFontImporter:
|
|||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
forceTextureCase: -1
|
||||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
|
|
|
@ -768,7 +768,7 @@ MonoBehaviour:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4052947733920485538}
|
||||
m_Enabled: 1
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 948f4100a11a5c24981795d21301da5c, type: 3}
|
||||
m_Name:
|
||||
|
@ -847,7 +847,7 @@ MonoBehaviour:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4052947733920485538}
|
||||
m_Enabled: 1
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2a7b4608cc97a8940ad8a9229d742532, type: 3}
|
||||
m_Name:
|
||||
|
@ -1799,6 +1799,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
EligibleHits: []
|
||||
scheduledInputs: []
|
||||
firstEnable: 0
|
||||
renderQuadTrans: {fileID: 743597382397742394}
|
||||
camPivot: {fileID: 7562518461416892310}
|
||||
|
|
|
@ -3,5 +3,5 @@ guid: e120578b3b4379348b9537923f38b57d
|
|||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleName: ntrcoin/common
|
||||
assetBundleVariant:
|
||||
|
|
|
@ -3,5 +3,5 @@ guid: 8f935c3cf25b69746819a94756411f28
|
|||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleName: ntrdj/common
|
||||
assetBundleVariant:
|
||||
|
|
|
@ -500,7 +500,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -582,7 +582,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -649,8 +649,9 @@ Transform:
|
|||
- {fileID: 3831937590633374463}
|
||||
- {fileID: 4262631391305165020}
|
||||
- {fileID: 8589696124567122189}
|
||||
- {fileID: 6558902694312358860}
|
||||
m_Father: {fileID: 3888685956083257698}
|
||||
m_RootOrder: 4
|
||||
m_RootOrder: 6
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1344584692415934519
|
||||
GameObject:
|
||||
|
@ -725,7 +726,7 @@ SpriteRenderer:
|
|||
m_SortingLayer: 0
|
||||
m_SortingOrder: -61
|
||||
m_Sprite: {fileID: -8250007594341715901, guid: 01a2ac0ac3bc28c4b9d1349ebe7a1d7e, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.47058824}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.4705882}
|
||||
m_FlipX: 1
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
|
@ -828,7 +829,7 @@ GameObject:
|
|||
- component: {fileID: 7650795570359494449}
|
||||
- component: {fileID: 7093111610832620220}
|
||||
m_Layer: 0
|
||||
m_Name: ntrIdol_BG_lights
|
||||
m_Name: ntrIdol_BG_lights (2)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
@ -890,7 +891,7 @@ SpriteRenderer:
|
|||
m_SortingLayer: 0
|
||||
m_SortingOrder: -61
|
||||
m_Sprite: {fileID: -8250007594341715901, guid: 01a2ac0ac3bc28c4b9d1349ebe7a1d7e, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.47058824}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.4705882}
|
||||
m_FlipX: 1
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
|
@ -2270,16 +2271,16 @@ ParticleSystem:
|
|||
maxColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
maxGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 0.5294118, g: 0.3891128, b: 0.2627451, a: 1}
|
||||
key1: {r: 1, g: 1, b: 1, a: 1}
|
||||
key0: {r: 0.9882353, g: 0.7176471, b: 0, a: 1}
|
||||
key1: {r: 1, g: 1, b: 0, 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
|
||||
ctime0: 17733
|
||||
ctime1: 48959
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
|
@ -2287,7 +2288,7 @@ ParticleSystem:
|
|||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 45489
|
||||
atime1: 55127
|
||||
atime2: 65535
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
|
@ -5800,7 +5801,7 @@ GameObject:
|
|||
- component: {fileID: 1427908021350781262}
|
||||
- component: {fileID: 208380636975840451}
|
||||
m_Layer: 0
|
||||
m_Name: ntrIdol_BG_lights
|
||||
m_Name: ntrIdol_BG_lights (2)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
@ -5862,7 +5863,7 @@ SpriteRenderer:
|
|||
m_SortingLayer: 0
|
||||
m_SortingOrder: -61
|
||||
m_Sprite: {fileID: -8250007594341715901, guid: 01a2ac0ac3bc28c4b9d1349ebe7a1d7e, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.47058824}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.4705882}
|
||||
m_FlipX: 1
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
|
@ -7357,16 +7358,16 @@ ParticleSystem:
|
|||
maxColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
maxGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 0.5294118, g: 0.3891128, b: 0.2627451, a: 1}
|
||||
key1: {r: 1, g: 1, b: 1, a: 1}
|
||||
key0: {r: 0.9882353, g: 0.7176471, b: 0, a: 1}
|
||||
key1: {r: 1, g: 1, b: 0, 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
|
||||
ctime0: 17733
|
||||
ctime1: 48959
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
|
@ -7374,7 +7375,7 @@ ParticleSystem:
|
|||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 45489
|
||||
atime1: 55127
|
||||
atime2: 65535
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
|
@ -11122,7 +11123,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -11204,7 +11205,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -11286,7 +11287,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -11353,8 +11354,9 @@ Transform:
|
|||
- {fileID: 6147393778172225684}
|
||||
- {fileID: 4936448643686709332}
|
||||
- {fileID: 4313459870519728285}
|
||||
- {fileID: 5294634777003009409}
|
||||
m_Father: {fileID: 3888685956083257698}
|
||||
m_RootOrder: 5
|
||||
m_RootOrder: 7
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &3195694804710782046
|
||||
GameObject:
|
||||
|
@ -11406,7 +11408,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -11438,6 +11440,88 @@ SpriteRenderer:
|
|||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &3220441857270990983
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1701010400097446865}
|
||||
- component: {fileID: 8641378543982579082}
|
||||
m_Layer: 0
|
||||
m_Name: ntrIdol_BG_spotDrop
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1701010400097446865
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3220441857270990983}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -0.5, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3888685956083257698}
|
||||
m_RootOrder: 5
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &8641378543982579082
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3220441857270990983}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, 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: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: -39
|
||||
m_Sprite: {fileID: -6601115094954173804, guid: 01a2ac0ac3bc28c4b9d1349ebe7a1d7e, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 2.37, y: 1.21}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &3236254474810401164
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -11520,6 +11604,88 @@ SpriteRenderer:
|
|||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &3363507122390351394
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7769737611184901821}
|
||||
- component: {fileID: 5394167297626614340}
|
||||
m_Layer: 0
|
||||
m_Name: Square (1)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &7769737611184901821
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3363507122390351394}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: -7, z: 0}
|
||||
m_LocalScale: {x: 0.4, y: 10, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 2917226218584103350}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &5394167297626614340
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3363507122390351394}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, 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: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: -81
|
||||
m_Sprite: {fileID: 7482667652216324306, guid: 48e93eef0688c4a259cb0eddcd8661f7, type: 3}
|
||||
m_Color: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1, y: 1}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &3561480739137954937
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -11570,7 +11736,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -11915,7 +12081,7 @@ SortingGroup:
|
|||
m_Enabled: 1
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 1
|
||||
m_SortingOrder: 2
|
||||
--- !u!114 &7791377245871220112
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -11932,6 +12098,7 @@ MonoBehaviour:
|
|||
idolWinkEffect: {fileID: 5880704166766963494}
|
||||
idolKissEffect: {fileID: 425051775638374545}
|
||||
idolWinkArrEffect: {fileID: 2954522991582128795}
|
||||
coreMat: {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
--- !u!1 &3835704443081166924
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -12065,7 +12232,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -17053,6 +17220,88 @@ SpriteRenderer:
|
|||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &4242239885457655400
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6029303632643430900}
|
||||
- component: {fileID: 5982064521156608562}
|
||||
m_Layer: 0
|
||||
m_Name: ntrIdol_BG_spot
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &6029303632643430900
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4242239885457655400}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071068}
|
||||
m_LocalPosition: {x: 0, y: 2.25, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3888685956083257698}
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90}
|
||||
--- !u!212 &5982064521156608562
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4242239885457655400}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, 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: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: -40
|
||||
m_Sprite: {fileID: -5517470600949708178, guid: 01a2ac0ac3bc28c4b9d1349ebe7a1d7e, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.78431374}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 5.45, y: 2.37}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &4706589738247262763
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -17135,6 +17384,88 @@ SpriteRenderer:
|
|||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &4714497606633442957
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6558902694312358860}
|
||||
- component: {fileID: 5874338285654298519}
|
||||
m_Layer: 0
|
||||
m_Name: ntrIdol_BG_lights (3)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &6558902694312358860
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4714497606633442957}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0.6621624, w: 0.7493604}
|
||||
m_LocalPosition: {x: -4.121, y: 0.724, z: 2.7876513}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7755842072912826309}
|
||||
m_RootOrder: 8
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 82.93}
|
||||
--- !u!212 &5874338285654298519
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4714497606633442957}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, 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: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 3
|
||||
m_Sprite: {fileID: -8250007594341715901, guid: 01a2ac0ac3bc28c4b9d1349ebe7a1d7e, type: 3}
|
||||
m_Color: {r: 1, g: 0.47058827, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1.97, y: 0.85}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &4913874439979320455
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -19236,8 +19567,8 @@ ParticleSystem:
|
|||
inWeight: 0.33333334
|
||||
outWeight: 0.106363006
|
||||
- serializedVersion: 3
|
||||
time: 0.65142894
|
||||
value: 0.0047938516
|
||||
time: 0.5121467
|
||||
value: 0.12419769
|
||||
inSlope: -4.012168
|
||||
outSlope: -4.012168
|
||||
tangentMode: 0
|
||||
|
@ -19780,29 +20111,20 @@ ParticleSystem:
|
|||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
inSlope: -1
|
||||
outSlope: -1
|
||||
tangentMode: 34
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.7499188
|
||||
value: 1
|
||||
inSlope: -0.011398516
|
||||
outSlope: -0.011398516
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.13701883
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 0
|
||||
inSlope: -10.28119
|
||||
outSlope: -10.28119
|
||||
tangentMode: 0
|
||||
inSlope: -1
|
||||
outSlope: -1
|
||||
tangentMode: 34
|
||||
weightedMode: 0
|
||||
inWeight: 0.03245778
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
|
@ -22152,6 +22474,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
EligibleHits: []
|
||||
scheduledInputs: []
|
||||
firstEnable: 0
|
||||
StageAnimator: {fileID: 22498285944424125}
|
||||
Arisa: {fileID: 3728697055337045071}
|
||||
|
@ -22159,6 +22482,7 @@ MonoBehaviour:
|
|||
ArisaShadow: {fileID: 8732594229882912028}
|
||||
spectator: {fileID: 3943761683339994363, guid: 6efb7fb84202adb4fb918fdc8ebf5f7b, type: 3}
|
||||
spectatorAnchor: {fileID: 6534207104413303536}
|
||||
spectatorMat: {fileID: 2100000, guid: 70dcfa3adfb80ee4bbd0957375e99c92, type: 2}
|
||||
Player: {fileID: 0}
|
||||
idolJumpStartTime: -3.4028235e+38
|
||||
--- !u!1 &5477700087071661552
|
||||
|
@ -22212,7 +22536,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -22277,6 +22601,8 @@ Transform:
|
|||
- {fileID: 3848253697322167677}
|
||||
- {fileID: 2917226218584103350}
|
||||
- {fileID: 5238619710463553324}
|
||||
- {fileID: 6029303632643430900}
|
||||
- {fileID: 1701010400097446865}
|
||||
- {fileID: 7755842072912826309}
|
||||
- {fileID: 462007768647795539}
|
||||
m_Father: {fileID: 3248844209599200740}
|
||||
|
@ -22385,7 +22711,7 @@ SpriteRenderer:
|
|||
m_SortingLayer: 0
|
||||
m_SortingOrder: -61
|
||||
m_Sprite: {fileID: -8250007594341715901, guid: 01a2ac0ac3bc28c4b9d1349ebe7a1d7e, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.47058824}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.4705882}
|
||||
m_FlipX: 1
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
|
@ -22527,7 +22853,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -22723,6 +23049,88 @@ SpriteRenderer:
|
|||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &6420685650571667783
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5732642628402051719}
|
||||
- component: {fileID: 964833741685508183}
|
||||
m_Layer: 0
|
||||
m_Name: Square
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5732642628402051719
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6420685650571667783}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 7, z: 0}
|
||||
m_LocalScale: {x: 0.4, y: 10, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 2917226218584103350}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &964833741685508183
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6420685650571667783}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, 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: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: -81
|
||||
m_Sprite: {fileID: 7482667652216324306, guid: 48e93eef0688c4a259cb0eddcd8661f7, type: 3}
|
||||
m_Color: {r: 1, g: 0.78823537, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1, y: 1}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &6516337297425398596
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -22831,8 +23239,10 @@ Transform:
|
|||
m_GameObject: {fileID: 6529428053099354172}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 19.5, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_LocalScale: {x: 128, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 5732642628402051719}
|
||||
- {fileID: 7769737611184901821}
|
||||
m_Father: {fileID: 3888685956083257698}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
@ -24471,7 +24881,7 @@ ParticleSystem:
|
|||
flipU: 0
|
||||
flipV: 0
|
||||
VelocityModule:
|
||||
enabled: 0
|
||||
enabled: 1
|
||||
x:
|
||||
serializedVersion: 2
|
||||
minMaxState: 0
|
||||
|
@ -25011,31 +25421,22 @@ ParticleSystem:
|
|||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
time: 0.36785802
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
inSlope: -0.5014951
|
||||
outSlope: -0.5014951
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
outWeight: 0.28248477
|
||||
- serializedVersion: 3
|
||||
time: 0.054114938
|
||||
value: 1
|
||||
inSlope: -0.46568415
|
||||
outSlope: -0.46568415
|
||||
time: 1
|
||||
value: 0
|
||||
inSlope: -3.7611918
|
||||
outSlope: -3.7611918
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.106363006
|
||||
- serializedVersion: 3
|
||||
time: 0.65142894
|
||||
value: 0.0047938516
|
||||
inSlope: -4.012168
|
||||
outSlope: -4.012168
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.09923107
|
||||
inWeight: 0.28248644
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
|
@ -28023,7 +28424,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -28134,6 +28535,88 @@ SpriteRenderer:
|
|||
m_Size: {x: 5.12, y: 5.12}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 0
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &7887303562412097645
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5294634777003009409}
|
||||
- component: {fileID: 5594960738998290071}
|
||||
m_Layer: 0
|
||||
m_Name: ntrIdol_BG_lights (3)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5294634777003009409
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7887303562412097645}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0.6621624, w: 0.7493604}
|
||||
m_LocalPosition: {x: -4.121, y: 0.724, z: 2.7876513}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 462007768647795539}
|
||||
m_RootOrder: 8
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 82.93}
|
||||
--- !u!212 &5594960738998290071
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7887303562412097645}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, 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: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 3
|
||||
m_Sprite: {fileID: -8250007594341715901, guid: 01a2ac0ac3bc28c4b9d1349ebe7a1d7e, type: 3}
|
||||
m_Color: {r: 1, g: 0.47058827, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1.97, y: 0.85}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
|
@ -28187,7 +28670,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -28720,8 +29203,8 @@ Transform:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8911003783451331560}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0.1007, y: 0.3935, z: 0}
|
||||
m_LocalScale: {x: 10.636034, y: 9.647952, z: 0.8695651}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 50, y: 50, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3888685956083257698}
|
||||
m_RootOrder: 3
|
||||
|
@ -28910,7 +29393,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
@ -28992,7 +29475,7 @@ SpriteRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 049972ccd906c8b4cb4cb5ce0134155a, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
|
|
@ -3,5 +3,5 @@ guid: 0fb370d8a45501740968ee66721a46ad
|
|||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleName: ntridol/common
|
||||
assetBundleVariant:
|
||||
|
|
1210
Assets/Resources/Games/launch party.prefab
Normal file
7
Assets/Resources/Games/launch party.prefab.meta
Normal file
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 7e0cc2db9ca9adb4f9bdc147674424c9
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
3849
Assets/Resources/Games/pajamaParty.prefab
Normal file
7
Assets/Resources/Games/pajamaParty.prefab.meta
Normal file
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1d2b74eb420ea86478a2a3a16d20b3c8
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName: ctrpillow/common
|
||||
assetBundleVariant:
|
1979
Assets/Resources/Games/rhythmSomen.prefab
Normal file
7
Assets/Resources/Games/rhythmSomen.prefab.meta
Normal file
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 91a2bdf549282694c8eafa2c517f92d8
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -3,5 +3,5 @@ guid: 643e78b1c6d793b4fb3c0bb02c340ca5
|
|||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleName: ntrsamurai/common
|
||||
assetBundleVariant:
|
||||
|
|
|
@ -201,6 +201,81 @@ Transform:
|
|||
m_Children:
|
||||
- {fileID: 6234653028453841262}
|
||||
- {fileID: 6234653028281991656}
|
||||
- {fileID: 1942359490671534657}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &8463691957270393964
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1942359490671534657}
|
||||
- component: {fileID: 3903195013731577938}
|
||||
m_Layer: 13
|
||||
m_Name: Overlays Camera
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1942359490671534657
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8463691957270393964}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: -10}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6234653029009288364}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!20 &3903195013731577938
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8463691957270393964}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 3
|
||||
m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
m_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_FocalLength: 50
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.01
|
||||
far clip plane: 1000
|
||||
field of view: 53.15
|
||||
orthographic: 1
|
||||
orthographic size: 5
|
||||
m_Depth: 1
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 8192
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_TargetEye: 0
|
||||
m_HDR: 1
|
||||
m_AllowMSAA: 0
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 0
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
|
|
8
Assets/Resources/Prefabs/Common.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 05513a1883f66cb44a70eb1d5af5016e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
101
Assets/Resources/Prefabs/Common/ClosedCaptionsBg.asset
Normal file
|
@ -0,0 +1,101 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &-4867213911490544206
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: TextMeshPro/Sprite
|
||||
m_Shader: {fileID: 4800000, guid: cf81c85f95fe47e1a27f6ae460cf182c, type: 3}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: ef2fa2a75dc283e40b9d4fe1f20dc6fb, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _ColorMask: 15
|
||||
- _CullMode: 0
|
||||
- _Stencil: 0
|
||||
- _StencilComp: 8
|
||||
- _StencilOp: 0
|
||||
- _StencilReadMask: 255
|
||||
- _StencilWriteMask: 255
|
||||
- _UseUIAlphaClip: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
--- !u!114 &11400000
|
||||
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: 84a92b25f83d49b9bc132d206b370281, type: 3}
|
||||
m_Name: ClosedCaptionsBg
|
||||
m_EditorClassIdentifier:
|
||||
hashCode: -1024775839
|
||||
material: {fileID: -4867213911490544206}
|
||||
materialHashCode: 0
|
||||
m_Version: 1.1.0
|
||||
m_FaceInfo:
|
||||
m_FaceIndex: 0
|
||||
m_FamilyName:
|
||||
m_StyleName:
|
||||
m_PointSize: 0
|
||||
m_Scale: 0
|
||||
m_LineHeight: 0
|
||||
m_AscentLine: 0
|
||||
m_CapLine: 0
|
||||
m_MeanLine: 0
|
||||
m_Baseline: 0
|
||||
m_DescentLine: 0
|
||||
m_SuperscriptOffset: 0
|
||||
m_SuperscriptSize: 0
|
||||
m_SubscriptOffset: 0
|
||||
m_SubscriptSize: 0
|
||||
m_UnderlineOffset: 0
|
||||
m_UnderlineThickness: 0
|
||||
m_StrikethroughOffset: 0
|
||||
m_StrikethroughThickness: 0
|
||||
m_TabWidth: 0
|
||||
spriteSheet: {fileID: 2800000, guid: ef2fa2a75dc283e40b9d4fe1f20dc6fb, type: 3}
|
||||
m_SpriteCharacterTable:
|
||||
- m_ElementType: 2
|
||||
m_Unicode: 65534
|
||||
m_GlyphIndex: 0
|
||||
m_Scale: 1
|
||||
m_Name: Square
|
||||
m_HashCode: -1024775839
|
||||
m_SpriteGlyphTable:
|
||||
- m_Index: 0
|
||||
m_Metrics:
|
||||
m_Width: 256
|
||||
m_Height: 256
|
||||
m_HorizontalBearingX: -128
|
||||
m_HorizontalBearingY: 128
|
||||
m_HorizontalAdvance: 256
|
||||
m_GlyphRect:
|
||||
m_X: 0
|
||||
m_Y: 0
|
||||
m_Width: 256
|
||||
m_Height: 256
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
sprite: {fileID: 7482667652216324306, guid: ef2fa2a75dc283e40b9d4fe1f20dc6fb, type: 3}
|
||||
spriteInfoList: []
|
||||
fallbackSpriteAssets: []
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 40ded23a5c676e14989d668f3dd6cf50
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Resources/Prefabs/Common/Textbox.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 692f37f4278f04346b7a70da05eb6f39
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
2514
Assets/Resources/Prefabs/Common/Textbox.prefab
Normal file
7
Assets/Resources/Prefabs/Common/Textbox.prefab.meta
Normal file
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8e18884075612184aaff6ef8d3db8839
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Resources/Prefabs/Common/Textbox/Animations.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 920b7a6af18f1044599bebc760127f7f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
1295
Assets/Resources/Prefabs/Common/Textbox/Animations/IdolHide.anim
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e855f909ddad4514eb396d008a52ad7b
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
2051
Assets/Resources/Prefabs/Common/Textbox/Animations/IdolShow.anim
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 42907903e23ed1a4eaa5ff09564b9106
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,130 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1102 &-4888731076995947307
|
||||
AnimatorState:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: IdolShow
|
||||
m_Speed: 1
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
m_Position: {x: 50, y: 50, z: 0}
|
||||
m_IKOnFeet: 0
|
||||
m_WriteDefaultValues: 1
|
||||
m_Mirror: 0
|
||||
m_SpeedParameterActive: 0
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: 42907903e23ed1a4eaa5ff09564b9106, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
m_CycleOffsetParameter:
|
||||
m_TimeParameter:
|
||||
--- !u!1102 &-495418818133929654
|
||||
AnimatorState:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: NoPose
|
||||
m_Speed: 1
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
m_Position: {x: 50, y: 50, z: 0}
|
||||
m_IKOnFeet: 0
|
||||
m_WriteDefaultValues: 1
|
||||
m_Mirror: 0
|
||||
m_SpeedParameterActive: 0
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: eec1935ef429eb64799251343f325167, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
m_CycleOffsetParameter:
|
||||
m_TimeParameter:
|
||||
--- !u!91 &9100000
|
||||
AnimatorController:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: IdolTextEnabler
|
||||
serializedVersion: 5
|
||||
m_AnimatorParameters: []
|
||||
m_AnimatorLayers:
|
||||
- serializedVersion: 5
|
||||
m_Name: Base Layer
|
||||
m_StateMachine: {fileID: 6236829889293522400}
|
||||
m_Mask: {fileID: 0}
|
||||
m_Motions: []
|
||||
m_Behaviours: []
|
||||
m_BlendingMode: 0
|
||||
m_SyncedLayerIndex: -1
|
||||
m_DefaultWeight: 0
|
||||
m_IKPass: 0
|
||||
m_SyncedLayerAffectsTiming: 0
|
||||
m_Controller: {fileID: 9100000}
|
||||
--- !u!1107 &6236829889293522400
|
||||
AnimatorStateMachine:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Base Layer
|
||||
m_ChildStates:
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: -4888731076995947307}
|
||||
m_Position: {x: 320, y: 120, z: 0}
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: -495418818133929654}
|
||||
m_Position: {x: 320, y: 70, z: 0}
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: 7290751588143869655}
|
||||
m_Position: {x: 320, y: 170, z: 0}
|
||||
m_ChildStateMachines: []
|
||||
m_AnyStateTransitions: []
|
||||
m_EntryTransitions: []
|
||||
m_StateMachineTransitions: {}
|
||||
m_StateMachineBehaviours: []
|
||||
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||||
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||
m_DefaultState: {fileID: -495418818133929654}
|
||||
--- !u!1102 &7290751588143869655
|
||||
AnimatorState:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: IdolHide
|
||||
m_Speed: 1
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
m_Position: {x: 50, y: 50, z: 0}
|
||||
m_IKOnFeet: 0
|
||||
m_WriteDefaultValues: 1
|
||||
m_Mirror: 0
|
||||
m_SpeedParameterActive: 0
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: e855f909ddad4514eb396d008a52ad7b, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
m_CycleOffsetParameter:
|
||||
m_TimeParameter:
|