Compare commits
3 Commits
965d369673
...
a23b68cc51
| Author | SHA1 | Date | |
|---|---|---|---|
| a23b68cc51 | |||
| 0251cce123 | |||
| d316732a60 |
@ -1,21 +1,22 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 7be71f5aa7bcd0d41898263101b457d8
|
guid: 7144b46ba00d9fe4183b81b9b2781765
|
||||||
timeCreated: 1455381008
|
|
||||||
licenseType: Store
|
|
||||||
AudioImporter:
|
AudioImporter:
|
||||||
serializedVersion: 6
|
externalObjects: {}
|
||||||
|
serializedVersion: 7
|
||||||
defaultSettings:
|
defaultSettings:
|
||||||
|
serializedVersion: 2
|
||||||
loadType: 0
|
loadType: 0
|
||||||
sampleRateSetting: 0
|
sampleRateSetting: 0
|
||||||
sampleRateOverride: 44100
|
sampleRateOverride: 44100
|
||||||
compressionFormat: 1
|
compressionFormat: 1
|
||||||
quality: 1
|
quality: 1
|
||||||
conversionMode: 0
|
conversionMode: 0
|
||||||
|
preloadAudioData: 0
|
||||||
platformSettingOverrides: {}
|
platformSettingOverrides: {}
|
||||||
forceToMono: 0
|
forceToMono: 0
|
||||||
normalize: 1
|
normalize: 1
|
||||||
preloadAudioData: 1
|
|
||||||
loadInBackground: 0
|
loadInBackground: 0
|
||||||
|
ambisonic: 0
|
||||||
3D: 1
|
3D: 1
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
@ -1,7 +1,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
|
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
|
||||||
// version 1.6.3
|
// version 1.7.0
|
||||||
// from Assets/Input System Settings/InputActionMaps.inputactions
|
// from Assets/Input System Settings/InputActionMaps.inputactions
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
@ -45,15 +45,6 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
""interactions"": """",
|
""interactions"": """",
|
||||||
""initialStateCheck"": true
|
""initialStateCheck"": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
""name"": ""Reset"",
|
|
||||||
""type"": ""Button"",
|
|
||||||
""id"": ""6ab0c9d5-b21f-4819-b5c8-ad277a1246c7"",
|
|
||||||
""expectedControlType"": ""Button"",
|
|
||||||
""processors"": """",
|
|
||||||
""interactions"": """",
|
|
||||||
""initialStateCheck"": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
""name"": ""Boost"",
|
""name"": ""Boost"",
|
||||||
""type"": ""PassThrough"",
|
""type"": ""PassThrough"",
|
||||||
@ -362,28 +353,6 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
""isComposite"": false,
|
""isComposite"": false,
|
||||||
""isPartOfComposite"": true
|
""isPartOfComposite"": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
""name"": """",
|
|
||||||
""id"": ""8c09092a-7323-4f5c-80df-19bfe90a207c"",
|
|
||||||
""path"": ""<Keyboard>/r"",
|
|
||||||
""interactions"": """",
|
|
||||||
""processors"": """",
|
|
||||||
""groups"": ""Keyboard 1;Keyboard 2"",
|
|
||||||
""action"": ""Reset"",
|
|
||||||
""isComposite"": false,
|
|
||||||
""isPartOfComposite"": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": """",
|
|
||||||
""id"": ""b50ff906-5e23-4bd0-b5b7-98aeb46a2284"",
|
|
||||||
""path"": ""<Gamepad>/select"",
|
|
||||||
""interactions"": """",
|
|
||||||
""processors"": """",
|
|
||||||
""groups"": ""Controller"",
|
|
||||||
""action"": ""Reset"",
|
|
||||||
""isComposite"": false,
|
|
||||||
""isPartOfComposite"": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
""name"": """",
|
""name"": """",
|
||||||
""id"": ""f76aad49-c115-4d72-a860-b674c8489543"",
|
""id"": ""f76aad49-c115-4d72-a860-b674c8489543"",
|
||||||
@ -451,6 +420,15 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
""processors"": """",
|
""processors"": """",
|
||||||
""interactions"": """",
|
""interactions"": """",
|
||||||
""initialStateCheck"": false
|
""initialStateCheck"": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
""name"": ""Reset"",
|
||||||
|
""type"": ""Button"",
|
||||||
|
""id"": ""476b1454-7144-4728-a5f3-3f98f839aeca"",
|
||||||
|
""expectedControlType"": ""Button"",
|
||||||
|
""processors"": """",
|
||||||
|
""interactions"": """",
|
||||||
|
""initialStateCheck"": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
""bindings"": [
|
""bindings"": [
|
||||||
@ -497,6 +475,28 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
""action"": ""Pause"",
|
""action"": ""Pause"",
|
||||||
""isComposite"": false,
|
""isComposite"": false,
|
||||||
""isPartOfComposite"": false
|
""isPartOfComposite"": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
""name"": """",
|
||||||
|
""id"": ""2e99e546-209d-410c-9d54-3482c05d8e90"",
|
||||||
|
""path"": ""<Keyboard>/r"",
|
||||||
|
""interactions"": """",
|
||||||
|
""processors"": """",
|
||||||
|
""groups"": ""Keyboard 1;Keyboard 2"",
|
||||||
|
""action"": ""Reset"",
|
||||||
|
""isComposite"": false,
|
||||||
|
""isPartOfComposite"": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
""name"": """",
|
||||||
|
""id"": ""7e601b0a-6c05-4444-ac07-0e02fbf4b64b"",
|
||||||
|
""path"": ""<Gamepad>/select"",
|
||||||
|
""interactions"": """",
|
||||||
|
""processors"": """",
|
||||||
|
""groups"": ""Controller"",
|
||||||
|
""action"": ""Reset"",
|
||||||
|
""isComposite"": false,
|
||||||
|
""isPartOfComposite"": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -546,12 +546,12 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
m_Player = asset.FindActionMap("Player", throwIfNotFound: true);
|
m_Player = asset.FindActionMap("Player", throwIfNotFound: true);
|
||||||
m_Player_Thrust = m_Player.FindAction("Thrust", throwIfNotFound: true);
|
m_Player_Thrust = m_Player.FindAction("Thrust", throwIfNotFound: true);
|
||||||
m_Player_Steer = m_Player.FindAction("Steer", throwIfNotFound: true);
|
m_Player_Steer = m_Player.FindAction("Steer", throwIfNotFound: true);
|
||||||
m_Player_Reset = m_Player.FindAction("Reset", throwIfNotFound: true);
|
|
||||||
m_Player_Boost = m_Player.FindAction("Boost", throwIfNotFound: true);
|
m_Player_Boost = m_Player.FindAction("Boost", throwIfNotFound: true);
|
||||||
// Meta
|
// Meta
|
||||||
m_Meta = asset.FindActionMap("Meta", throwIfNotFound: true);
|
m_Meta = asset.FindActionMap("Meta", throwIfNotFound: true);
|
||||||
m_Meta_Start = m_Meta.FindAction("Start", throwIfNotFound: true);
|
m_Meta_Start = m_Meta.FindAction("Start", throwIfNotFound: true);
|
||||||
m_Meta_Pause = m_Meta.FindAction("Pause", throwIfNotFound: true);
|
m_Meta_Pause = m_Meta.FindAction("Pause", throwIfNotFound: true);
|
||||||
|
m_Meta_Reset = m_Meta.FindAction("Reset", throwIfNotFound: true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
@ -615,7 +615,6 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
private List<IPlayerActions> m_PlayerActionsCallbackInterfaces = new List<IPlayerActions>();
|
private List<IPlayerActions> m_PlayerActionsCallbackInterfaces = new List<IPlayerActions>();
|
||||||
private readonly InputAction m_Player_Thrust;
|
private readonly InputAction m_Player_Thrust;
|
||||||
private readonly InputAction m_Player_Steer;
|
private readonly InputAction m_Player_Steer;
|
||||||
private readonly InputAction m_Player_Reset;
|
|
||||||
private readonly InputAction m_Player_Boost;
|
private readonly InputAction m_Player_Boost;
|
||||||
public struct PlayerActions
|
public struct PlayerActions
|
||||||
{
|
{
|
||||||
@ -623,7 +622,6 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
public PlayerActions(@InputActionMaps wrapper) { m_Wrapper = wrapper; }
|
public PlayerActions(@InputActionMaps wrapper) { m_Wrapper = wrapper; }
|
||||||
public InputAction @Thrust => m_Wrapper.m_Player_Thrust;
|
public InputAction @Thrust => m_Wrapper.m_Player_Thrust;
|
||||||
public InputAction @Steer => m_Wrapper.m_Player_Steer;
|
public InputAction @Steer => m_Wrapper.m_Player_Steer;
|
||||||
public InputAction @Reset => m_Wrapper.m_Player_Reset;
|
|
||||||
public InputAction @Boost => m_Wrapper.m_Player_Boost;
|
public InputAction @Boost => m_Wrapper.m_Player_Boost;
|
||||||
public InputActionMap Get() { return m_Wrapper.m_Player; }
|
public InputActionMap Get() { return m_Wrapper.m_Player; }
|
||||||
public void Enable() { Get().Enable(); }
|
public void Enable() { Get().Enable(); }
|
||||||
@ -640,9 +638,6 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
@Steer.started += instance.OnSteer;
|
@Steer.started += instance.OnSteer;
|
||||||
@Steer.performed += instance.OnSteer;
|
@Steer.performed += instance.OnSteer;
|
||||||
@Steer.canceled += instance.OnSteer;
|
@Steer.canceled += instance.OnSteer;
|
||||||
@Reset.started += instance.OnReset;
|
|
||||||
@Reset.performed += instance.OnReset;
|
|
||||||
@Reset.canceled += instance.OnReset;
|
|
||||||
@Boost.started += instance.OnBoost;
|
@Boost.started += instance.OnBoost;
|
||||||
@Boost.performed += instance.OnBoost;
|
@Boost.performed += instance.OnBoost;
|
||||||
@Boost.canceled += instance.OnBoost;
|
@Boost.canceled += instance.OnBoost;
|
||||||
@ -656,9 +651,6 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
@Steer.started -= instance.OnSteer;
|
@Steer.started -= instance.OnSteer;
|
||||||
@Steer.performed -= instance.OnSteer;
|
@Steer.performed -= instance.OnSteer;
|
||||||
@Steer.canceled -= instance.OnSteer;
|
@Steer.canceled -= instance.OnSteer;
|
||||||
@Reset.started -= instance.OnReset;
|
|
||||||
@Reset.performed -= instance.OnReset;
|
|
||||||
@Reset.canceled -= instance.OnReset;
|
|
||||||
@Boost.started -= instance.OnBoost;
|
@Boost.started -= instance.OnBoost;
|
||||||
@Boost.performed -= instance.OnBoost;
|
@Boost.performed -= instance.OnBoost;
|
||||||
@Boost.canceled -= instance.OnBoost;
|
@Boost.canceled -= instance.OnBoost;
|
||||||
@ -685,12 +677,14 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
private List<IMetaActions> m_MetaActionsCallbackInterfaces = new List<IMetaActions>();
|
private List<IMetaActions> m_MetaActionsCallbackInterfaces = new List<IMetaActions>();
|
||||||
private readonly InputAction m_Meta_Start;
|
private readonly InputAction m_Meta_Start;
|
||||||
private readonly InputAction m_Meta_Pause;
|
private readonly InputAction m_Meta_Pause;
|
||||||
|
private readonly InputAction m_Meta_Reset;
|
||||||
public struct MetaActions
|
public struct MetaActions
|
||||||
{
|
{
|
||||||
private @InputActionMaps m_Wrapper;
|
private @InputActionMaps m_Wrapper;
|
||||||
public MetaActions(@InputActionMaps wrapper) { m_Wrapper = wrapper; }
|
public MetaActions(@InputActionMaps wrapper) { m_Wrapper = wrapper; }
|
||||||
public InputAction @Start => m_Wrapper.m_Meta_Start;
|
public InputAction @Start => m_Wrapper.m_Meta_Start;
|
||||||
public InputAction @Pause => m_Wrapper.m_Meta_Pause;
|
public InputAction @Pause => m_Wrapper.m_Meta_Pause;
|
||||||
|
public InputAction @Reset => m_Wrapper.m_Meta_Reset;
|
||||||
public InputActionMap Get() { return m_Wrapper.m_Meta; }
|
public InputActionMap Get() { return m_Wrapper.m_Meta; }
|
||||||
public void Enable() { Get().Enable(); }
|
public void Enable() { Get().Enable(); }
|
||||||
public void Disable() { Get().Disable(); }
|
public void Disable() { Get().Disable(); }
|
||||||
@ -706,6 +700,9 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
@Pause.started += instance.OnPause;
|
@Pause.started += instance.OnPause;
|
||||||
@Pause.performed += instance.OnPause;
|
@Pause.performed += instance.OnPause;
|
||||||
@Pause.canceled += instance.OnPause;
|
@Pause.canceled += instance.OnPause;
|
||||||
|
@Reset.started += instance.OnReset;
|
||||||
|
@Reset.performed += instance.OnReset;
|
||||||
|
@Reset.canceled += instance.OnReset;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UnregisterCallbacks(IMetaActions instance)
|
private void UnregisterCallbacks(IMetaActions instance)
|
||||||
@ -716,6 +713,9 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
@Pause.started -= instance.OnPause;
|
@Pause.started -= instance.OnPause;
|
||||||
@Pause.performed -= instance.OnPause;
|
@Pause.performed -= instance.OnPause;
|
||||||
@Pause.canceled -= instance.OnPause;
|
@Pause.canceled -= instance.OnPause;
|
||||||
|
@Reset.started -= instance.OnReset;
|
||||||
|
@Reset.performed -= instance.OnReset;
|
||||||
|
@Reset.canceled -= instance.OnReset;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RemoveCallbacks(IMetaActions instance)
|
public void RemoveCallbacks(IMetaActions instance)
|
||||||
@ -773,12 +773,12 @@ public partial class @InputActionMaps: IInputActionCollection2, IDisposable
|
|||||||
{
|
{
|
||||||
void OnThrust(InputAction.CallbackContext context);
|
void OnThrust(InputAction.CallbackContext context);
|
||||||
void OnSteer(InputAction.CallbackContext context);
|
void OnSteer(InputAction.CallbackContext context);
|
||||||
void OnReset(InputAction.CallbackContext context);
|
|
||||||
void OnBoost(InputAction.CallbackContext context);
|
void OnBoost(InputAction.CallbackContext context);
|
||||||
}
|
}
|
||||||
public interface IMetaActions
|
public interface IMetaActions
|
||||||
{
|
{
|
||||||
void OnStart(InputAction.CallbackContext context);
|
void OnStart(InputAction.CallbackContext context);
|
||||||
void OnPause(InputAction.CallbackContext context);
|
void OnPause(InputAction.CallbackContext context);
|
||||||
|
void OnReset(InputAction.CallbackContext context);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,15 +23,6 @@
|
|||||||
"interactions": "",
|
"interactions": "",
|
||||||
"initialStateCheck": true
|
"initialStateCheck": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Reset",
|
|
||||||
"type": "Button",
|
|
||||||
"id": "6ab0c9d5-b21f-4819-b5c8-ad277a1246c7",
|
|
||||||
"expectedControlType": "Button",
|
|
||||||
"processors": "",
|
|
||||||
"interactions": "",
|
|
||||||
"initialStateCheck": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Boost",
|
"name": "Boost",
|
||||||
"type": "PassThrough",
|
"type": "PassThrough",
|
||||||
@ -340,28 +331,6 @@
|
|||||||
"isComposite": false,
|
"isComposite": false,
|
||||||
"isPartOfComposite": true
|
"isPartOfComposite": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"id": "8c09092a-7323-4f5c-80df-19bfe90a207c",
|
|
||||||
"path": "<Keyboard>/r",
|
|
||||||
"interactions": "",
|
|
||||||
"processors": "",
|
|
||||||
"groups": "Keyboard 1;Keyboard 2",
|
|
||||||
"action": "Reset",
|
|
||||||
"isComposite": false,
|
|
||||||
"isPartOfComposite": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"id": "b50ff906-5e23-4bd0-b5b7-98aeb46a2284",
|
|
||||||
"path": "<Gamepad>/select",
|
|
||||||
"interactions": "",
|
|
||||||
"processors": "",
|
|
||||||
"groups": "Controller",
|
|
||||||
"action": "Reset",
|
|
||||||
"isComposite": false,
|
|
||||||
"isPartOfComposite": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "",
|
"name": "",
|
||||||
"id": "f76aad49-c115-4d72-a860-b674c8489543",
|
"id": "f76aad49-c115-4d72-a860-b674c8489543",
|
||||||
@ -429,6 +398,15 @@
|
|||||||
"processors": "",
|
"processors": "",
|
||||||
"interactions": "",
|
"interactions": "",
|
||||||
"initialStateCheck": false
|
"initialStateCheck": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Reset",
|
||||||
|
"type": "Button",
|
||||||
|
"id": "476b1454-7144-4728-a5f3-3f98f839aeca",
|
||||||
|
"expectedControlType": "Button",
|
||||||
|
"processors": "",
|
||||||
|
"interactions": "",
|
||||||
|
"initialStateCheck": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"bindings": [
|
"bindings": [
|
||||||
@ -475,6 +453,28 @@
|
|||||||
"action": "Pause",
|
"action": "Pause",
|
||||||
"isComposite": false,
|
"isComposite": false,
|
||||||
"isPartOfComposite": false
|
"isPartOfComposite": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"id": "2e99e546-209d-410c-9d54-3482c05d8e90",
|
||||||
|
"path": "<Keyboard>/r",
|
||||||
|
"interactions": "",
|
||||||
|
"processors": "",
|
||||||
|
"groups": "Keyboard 1;Keyboard 2",
|
||||||
|
"action": "Reset",
|
||||||
|
"isComposite": false,
|
||||||
|
"isPartOfComposite": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"id": "7e601b0a-6c05-4444-ac07-0e02fbf4b64b",
|
||||||
|
"path": "<Gamepad>/select",
|
||||||
|
"interactions": "",
|
||||||
|
"processors": "",
|
||||||
|
"groups": "Controller",
|
||||||
|
"action": "Reset",
|
||||||
|
"isComposite": false,
|
||||||
|
"isPartOfComposite": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 13170347bc506405f88d3a87bd0982b3
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4788bd8dfc445485781b23a4cf21188b
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public abstract class Animatable : MonoBehaviour {
|
|
||||||
public virtual void OnClick() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public abstract Sequence Animate(bool toEndValue);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f631a276db10467c9860e2814855df25
|
|
||||||
timeCreated: 1695283968
|
|
||||||
@ -1,29 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class Baggage : Animatable {
|
|
||||||
[SerializeField] Transform animationAnchor;
|
|
||||||
Sequence sequence;
|
|
||||||
|
|
||||||
public override void OnClick() {
|
|
||||||
PlayFlipAnimation();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override Sequence Animate(bool _) {
|
|
||||||
return PlayFlipAnimation();
|
|
||||||
}
|
|
||||||
|
|
||||||
Sequence PlayFlipAnimation() {
|
|
||||||
if (!sequence.isAlive) {
|
|
||||||
const float jumpDuration = 0.3f;
|
|
||||||
sequence = Tween.LocalPositionZ(animationAnchor, 0.2f, jumpDuration)
|
|
||||||
.Chain(Tween.LocalEulerAngles(animationAnchor, Vector3.zero, new Vector3(0, 360, 0), 0.9f, Ease.InOutBack))
|
|
||||||
.Chain(Tween.LocalPositionZ(animationAnchor, 0, jumpDuration));
|
|
||||||
}
|
|
||||||
return sequence;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 27b542649ab4a463aa343c437387783e
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,55 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.EventSystems;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class CameraController : MonoBehaviour {
|
|
||||||
[SerializeField] HighlightedElementController highlightedElementController;
|
|
||||||
[SerializeField] SwipeTutorial swipeTutorial;
|
|
||||||
[SerializeField] Camera mainCamera;
|
|
||||||
[SerializeField, Range(0f, 1f)] float cameraShakeStrength = 0.4f;
|
|
||||||
float currentAngle;
|
|
||||||
Vector3? inputBeginPos;
|
|
||||||
bool isAnimating;
|
|
||||||
float curRotationSpeed;
|
|
||||||
|
|
||||||
void OnEnable() {
|
|
||||||
currentAngle = transform.localEulerAngles.y;
|
|
||||||
isAnimating = true;
|
|
||||||
Tween.Custom(this, 0, 5, 2, (target, val) => target.curRotationSpeed = val);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Update() {
|
|
||||||
if (isAnimating) {
|
|
||||||
currentAngle += curRotationSpeed * Time.deltaTime;
|
|
||||||
transform.localEulerAngles = new Vector3(0f, currentAngle);
|
|
||||||
}
|
|
||||||
if (highlightedElementController.current == null && Input.GetMouseButtonDown(0) && !EventSystem.current.IsPointerOverGameObject()) {
|
|
||||||
inputBeginPos = Input.mousePosition;
|
|
||||||
}
|
|
||||||
if (Input.GetMouseButtonUp(0)) {
|
|
||||||
inputBeginPos = null;
|
|
||||||
}
|
|
||||||
if (inputBeginPos.HasValue) {
|
|
||||||
var deltaMove = Input.mousePosition - inputBeginPos.Value;
|
|
||||||
if (Mathf.Abs(deltaMove.x) / Screen.width > 0.05f) {
|
|
||||||
isAnimating = false;
|
|
||||||
inputBeginPos = null;
|
|
||||||
currentAngle += Mathf.Sign(deltaMove.x) * 45f;
|
|
||||||
Tween.LocalRotation(transform, new Vector3(0f, currentAngle), 1.5f, Ease.OutCubic);
|
|
||||||
swipeTutorial.Hide();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ShakeCamera() {
|
|
||||||
Shake();
|
|
||||||
}
|
|
||||||
|
|
||||||
internal Sequence Shake(float startDelay = 0) {
|
|
||||||
return Tween.ShakeCamera(mainCamera, cameraShakeStrength, startDelay: startDelay);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 3f2f29997e7148b98e1d84f3de1011bc
|
|
||||||
timeCreated: 1682326446
|
|
||||||
@ -1,40 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class CameraProjectionMatrixAnimation : MonoBehaviour {
|
|
||||||
[SerializeField] Camera mainCamera;
|
|
||||||
float interpolationFactor;
|
|
||||||
bool isOrthographic;
|
|
||||||
Tween tween;
|
|
||||||
|
|
||||||
public void AnimateCameraProjection() {
|
|
||||||
isOrthographic = !isOrthographic;
|
|
||||||
tween.Stop();
|
|
||||||
tween = Tween.Custom(this, interpolationFactor, isOrthographic ? 1 : 0, 0.6f, ease: Ease.InOutSine, onValueChange: (target, t) => {
|
|
||||||
target.InterpolateProjectionMatrix(t);
|
|
||||||
})
|
|
||||||
.OnComplete(this, target => {
|
|
||||||
target.mainCamera.orthographic = target.isOrthographic;
|
|
||||||
target.mainCamera.ResetProjectionMatrix();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
void InterpolateProjectionMatrix(float _interpolationFactor) {
|
|
||||||
interpolationFactor = _interpolationFactor;
|
|
||||||
float aspect = (float)Screen.width / Screen.height;
|
|
||||||
var orthographicSize = mainCamera.orthographicSize;
|
|
||||||
var perspectiveMatrix = Matrix4x4.Perspective(mainCamera.fieldOfView, aspect, mainCamera.nearClipPlane, mainCamera.farClipPlane);
|
|
||||||
var orthoMatrix = Matrix4x4.Ortho(-orthographicSize * aspect, orthographicSize * aspect, -orthographicSize, orthographicSize, mainCamera.nearClipPlane, mainCamera.farClipPlane);
|
|
||||||
Matrix4x4 projectionMatrix = default;
|
|
||||||
for (int i = 0; i < 16; i++) {
|
|
||||||
projectionMatrix[i] = Mathf.Lerp(perspectiveMatrix[i], orthoMatrix[i], _interpolationFactor);
|
|
||||||
}
|
|
||||||
mainCamera.projectionMatrix = projectionMatrix;
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool IsAnimating => tween.isAlive;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 900e84e1426b4fc8a386a58aaee3b4ba
|
|
||||||
timeCreated: 1685260544
|
|
||||||
@ -1,132 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
#endif
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class Demo : MonoBehaviour {
|
|
||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
[SerializeField] AnimateAllType animateAllType; enum AnimateAllType { Sequence, Async, Coroutine }
|
|
||||||
[SerializeField] Slider sequenceTimelineSlider;
|
|
||||||
[SerializeField] Text pausedLabel;
|
|
||||||
[SerializeField] Button animateAllPartsButton;
|
|
||||||
[SerializeField] TypewriterAnimatorExample typewriterAnimatorExample;
|
|
||||||
[SerializeField] Animatable[] animatables;
|
|
||||||
[SerializeField] Wheels wheels;
|
|
||||||
[SerializeField, Range(0.5f, 5f)] float timeScale = 1;
|
|
||||||
bool isAnimatingWithCoroutineOrAsync;
|
|
||||||
public Sequence animateAllSequence;
|
|
||||||
|
|
||||||
void Awake() {
|
|
||||||
PrimeTweenConfig.SetTweensCapacity(100);
|
|
||||||
}
|
|
||||||
|
|
||||||
void OnEnable() {
|
|
||||||
sequenceTimelineSlider.fillRect.gameObject.SetActive(false);
|
|
||||||
sequenceTimelineSlider.onValueChanged.AddListener(SequenceTimelineSliderChanged);
|
|
||||||
}
|
|
||||||
|
|
||||||
void OnDisable() => sequenceTimelineSlider.onValueChanged.RemoveListener(SequenceTimelineSliderChanged);
|
|
||||||
|
|
||||||
void SequenceTimelineSliderChanged(float sliderValue) {
|
|
||||||
if (!notifySliderChanged) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!animateAllSequence.isAlive) {
|
|
||||||
wheels.OnClick();
|
|
||||||
}
|
|
||||||
animateAllSequence.isPaused = true;
|
|
||||||
animateAllSequence.progressTotal = sliderValue;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool notifySliderChanged = true;
|
|
||||||
|
|
||||||
void UpdateSlider() {
|
|
||||||
var isSliderVisible = animateAllType == AnimateAllType.Sequence && !isAnimatingWithCoroutineOrAsync;
|
|
||||||
sequenceTimelineSlider.gameObject.SetActive(isSliderVisible);
|
|
||||||
if (!isSliderVisible) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
pausedLabel.gameObject.SetActive(animateAllSequence.isAlive && animateAllSequence.isPaused);
|
|
||||||
var isSequenceAlive = animateAllSequence.isAlive;
|
|
||||||
sequenceTimelineSlider.handleRect.gameObject.SetActive(isSequenceAlive);
|
|
||||||
if (isSequenceAlive) {
|
|
||||||
notifySliderChanged = false;
|
|
||||||
sequenceTimelineSlider.value = animateAllSequence.progressTotal; // Unity 2018 doesn't have SetValueWithoutNotify(), so use notifySliderChanged instead
|
|
||||||
notifySliderChanged = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void Update() {
|
|
||||||
Time.timeScale = timeScale;
|
|
||||||
|
|
||||||
animateAllPartsButton.GetComponent<Image>().enabled = !isAnimatingWithCoroutineOrAsync;
|
|
||||||
animateAllPartsButton.GetComponentInChildren<Text>().enabled = !isAnimatingWithCoroutineOrAsync;
|
|
||||||
|
|
||||||
UpdateSlider();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void AnimateAll(bool toEndValue) {
|
|
||||||
if (isAnimatingWithCoroutineOrAsync) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
switch (animateAllType) {
|
|
||||||
case AnimateAllType.Sequence:
|
|
||||||
AnimateAllSequence(toEndValue);
|
|
||||||
break;
|
|
||||||
case AnimateAllType.Async:
|
|
||||||
AnimateAllAsync(toEndValue);
|
|
||||||
break;
|
|
||||||
case AnimateAllType.Coroutine:
|
|
||||||
StartCoroutine(AnimateAllCoroutine(toEndValue));
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Tweens and sequences can be grouped with and chained to other tweens and sequences.
|
|
||||||
/// The advantage of using this method instead of <see cref="AnimateAllAsync"/> and <see cref="AnimateAllCoroutine"/> is the ability to stop/complete/pause the combined sequence.
|
|
||||||
/// Also, this method doesn't generate garbage related to starting a coroutine or awaiting an async method.
|
|
||||||
void AnimateAllSequence(bool toEndValue) {
|
|
||||||
if (animateAllSequence.isAlive) {
|
|
||||||
animateAllSequence.isPaused = !animateAllSequence.isPaused;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
animateAllSequence = Sequence.Create();
|
|
||||||
#if TEXT_MESH_PRO_INSTALLED
|
|
||||||
animateAllSequence.Group(typewriterAnimatorExample.Animate());
|
|
||||||
#endif
|
|
||||||
float delay = 0f;
|
|
||||||
foreach (var animatable in animatables) {
|
|
||||||
animateAllSequence.Insert(delay, animatable.Animate(toEndValue));
|
|
||||||
delay += 0.6f;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Tweens and sequences can be awaited in async methods.
|
|
||||||
async void AnimateAllAsync(bool toEndValue) {
|
|
||||||
isAnimatingWithCoroutineOrAsync = true;
|
|
||||||
foreach (var animatable in animatables) {
|
|
||||||
await animatable.Animate(toEndValue);
|
|
||||||
}
|
|
||||||
isAnimatingWithCoroutineOrAsync = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Tweens and sequences can also be used in coroutines with the help of ToYieldInstruction() method.
|
|
||||||
System.Collections.IEnumerator AnimateAllCoroutine(bool toEndValue) {
|
|
||||||
isAnimatingWithCoroutineOrAsync = true;
|
|
||||||
foreach (var animatable in animatables) {
|
|
||||||
yield return animatable.Animate(toEndValue).ToYieldInstruction();
|
|
||||||
}
|
|
||||||
isAnimatingWithCoroutineOrAsync = false;
|
|
||||||
}
|
|
||||||
#else // PRIME_TWEEN_INSTALLED
|
|
||||||
void Awake() {
|
|
||||||
Debug.LogError("Please install PrimeTween via 'Assets/Plugins/PrimeTween/PrimeTweenInstaller'.");
|
|
||||||
#if !UNITY_2019_1_OR_NEWER
|
|
||||||
Debug.LogError("And add the 'PRIME_TWEEN_INSTALLED' define to the 'Project Settings/Player/Scripting Define Symbols' to run the Demo in Unity 2018.");
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 945298e218f9841b08c8270c494cb200
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,35 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class DirectionalLightController : MonoBehaviour {
|
|
||||||
[SerializeField] Light directionalLight;
|
|
||||||
[SerializeField] Camera mainCamera;
|
|
||||||
[SerializeField] Color startColor;
|
|
||||||
[SerializeField] Color endColor;
|
|
||||||
float angleX;
|
|
||||||
float angleY;
|
|
||||||
|
|
||||||
void OnEnable() {
|
|
||||||
// This overload is simpler, but allocates small amount of garbage because 'this' reference is captured in a closure.
|
|
||||||
// It ok to use it once in a while but for hot code paths consider using the overload that accepts 'target' as first parameter.
|
|
||||||
var xRotationSettings = new TweenSettings<float>(45, 10, 10, Ease.Linear, -1, CycleMode.Yoyo);
|
|
||||||
Tween.Custom(xRotationSettings, newX => angleX = newX);
|
|
||||||
|
|
||||||
// This overload is more verbose, but doesn't allocate garbage.
|
|
||||||
var yRotationSettings = new TweenSettings<float>(45, 405, 20, Ease.Linear, -1);
|
|
||||||
Tween.Custom(this, yRotationSettings, (target, newY) => target.angleY = newY);
|
|
||||||
|
|
||||||
var colorSettings = new TweenSettings<Color>(startColor, endColor, 10, Ease.InCirc, -1, CycleMode.Rewind);
|
|
||||||
Tween.LightColor(directionalLight, colorSettings);
|
|
||||||
Tween.CameraBackgroundColor(mainCamera, colorSettings);
|
|
||||||
Tween.Custom(colorSettings, color => RenderSettings.fogColor = color);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Update() {
|
|
||||||
transform.localEulerAngles = new Vector3(angleX, angleY);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: db622a6d0e0fa4b68852ef1a7fc60dba
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,29 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class Door : Animatable {
|
|
||||||
[SerializeField] CameraController cameraController;
|
|
||||||
[SerializeField] Transform animationAnchor;
|
|
||||||
bool isClosed;
|
|
||||||
|
|
||||||
public override void OnClick() {
|
|
||||||
Animate(!isClosed);
|
|
||||||
}
|
|
||||||
|
|
||||||
public override Sequence Animate(bool _isClosed) {
|
|
||||||
if (isClosed == _isClosed) {
|
|
||||||
return Sequence.Create();
|
|
||||||
}
|
|
||||||
isClosed = _isClosed;
|
|
||||||
var rotationTween = Tween.LocalRotation(animationAnchor, _isClosed ? new Vector3(0, -90) : Vector3.zero, 0.7f, Ease.InOutElastic);
|
|
||||||
var sequence = Sequence.Create(rotationTween);
|
|
||||||
if (_isClosed) {
|
|
||||||
sequence.Group(cameraController.Shake(0.5f));
|
|
||||||
}
|
|
||||||
return sequence;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4efa7d4d94464bb0b3e6ea597eb13637
|
|
||||||
timeCreated: 1682159642
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class Headlights : Animatable {
|
|
||||||
[SerializeField] AnimationCurve ease;
|
|
||||||
[SerializeField] Light[] lights;
|
|
||||||
bool isOn;
|
|
||||||
|
|
||||||
public override void OnClick() {
|
|
||||||
Animate(!isOn);
|
|
||||||
}
|
|
||||||
|
|
||||||
public override Sequence Animate(bool _isOn) {
|
|
||||||
isOn = _isOn;
|
|
||||||
var sequence = Sequence.Create();
|
|
||||||
foreach (var _light in lights) {
|
|
||||||
sequence.Group(Tween.LightIntensity(_light, _isOn ? 0.7f : 0, 0.8f, ease));
|
|
||||||
}
|
|
||||||
return sequence;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7bc81275df8d244a1a7568f9443b5e93
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class HighlightableElement : MonoBehaviour {
|
|
||||||
[SerializeField] public Transform highlightAnchor;
|
|
||||||
public MeshRenderer[] models { get; private set; }
|
|
||||||
|
|
||||||
void OnEnable() {
|
|
||||||
models = GetComponentsInChildren<MeshRenderer>();
|
|
||||||
foreach (var mr in models) {
|
|
||||||
_ = mr.material; // copy shared material
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5fbd7d6a5982d440282a82998473a306
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,65 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using JetBrains.Annotations;
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class HighlightedElementController : MonoBehaviour {
|
|
||||||
[SerializeField] Camera mainCamera;
|
|
||||||
[SerializeField] CameraProjectionMatrixAnimation cameraProjectionMatrixAnimation;
|
|
||||||
[CanBeNull] public HighlightableElement current { get; private set; }
|
|
||||||
|
|
||||||
void Awake() {
|
|
||||||
#if UNITY_2019_1_OR_NEWER && !PHYSICS_MODULE_INSTALLED
|
|
||||||
Debug.LogError("Please install the package needed for Physics.Raycast(): 'Package Manager/Packages/Built-in/Physics' (com.unity.modules.physics).");
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void Update() {
|
|
||||||
if (cameraProjectionMatrixAnimation.IsAnimating) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (Input.touchSupported && !Input.GetMouseButton(0)) {
|
|
||||||
SetCurrentHighlighted(null);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
var ray = mainCamera.ScreenPointToRay(Input.mousePosition);
|
|
||||||
var highlightableElement = RaycastHighlightableElement(ray);
|
|
||||||
SetCurrentHighlighted(highlightableElement);
|
|
||||||
|
|
||||||
if (current != null && Input.GetMouseButtonDown(0)) {
|
|
||||||
current.GetComponent<Animatable>().OnClick();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[CanBeNull]
|
|
||||||
static HighlightableElement RaycastHighlightableElement(Ray ray) {
|
|
||||||
#if !UNITY_2019_1_OR_NEWER || PHYSICS_MODULE_INSTALLED
|
|
||||||
// If you're seeing a compilation error on the next line, please install the package needed for Physics.Raycast(): 'Package Manager/Packages/Built-in/Physics' (com.unity.modules.physics).
|
|
||||||
return Physics.Raycast(ray, out var hit) ? hit.collider.GetComponentInParent<HighlightableElement>() : null;
|
|
||||||
#else
|
|
||||||
return null;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void SetCurrentHighlighted([CanBeNull] HighlightableElement newHighlighted) {
|
|
||||||
if (newHighlighted != current) {
|
|
||||||
if (current != null) {
|
|
||||||
AnimateHighlightedElement(current, false);
|
|
||||||
}
|
|
||||||
current = newHighlighted;
|
|
||||||
if (newHighlighted != null) {
|
|
||||||
AnimateHighlightedElement(newHighlighted, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static void AnimateHighlightedElement([NotNull] HighlightableElement highlightable, bool isHighlighted) {
|
|
||||||
Tween.LocalPositionZ(highlightable.highlightAnchor, isHighlighted ? 0.08f : 0, 0.3f);
|
|
||||||
foreach (var model in highlightable.models) {
|
|
||||||
Tween.MaterialColor(model.material, Shader.PropertyToID("_EmissionColor"), isHighlighted ? Color.white * 0.25f : Color.black, 0.2f, Ease.OutQuad);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9e831710f8fb47e4a09c640d573d1358
|
|
||||||
timeCreated: 1682327543
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class JumpAnimation : MonoBehaviour {
|
|
||||||
[SerializeField] Transform target;
|
|
||||||
Sequence sequence;
|
|
||||||
|
|
||||||
public void PlayAnimation() {
|
|
||||||
if (!sequence.isAlive) {
|
|
||||||
const float jumpDuration = 0.3f;
|
|
||||||
sequence = Tween.Scale(target, new Vector3(1.1f, 0.8f, 1.1f), 0.15f, Ease.OutQuad, 2, CycleMode.Yoyo)
|
|
||||||
.Chain(Tween.LocalPositionY(target, 1, jumpDuration))
|
|
||||||
.Chain(Tween.LocalEulerAngles(target, Vector3.zero, new Vector3(0, 360), 1.5f, Ease.InOutBack))
|
|
||||||
.Chain(Tween.LocalPositionY(target, 0, jumpDuration));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 453932c77a72487599d5103bcde610da
|
|
||||||
timeCreated: 1685366944
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 8add66110a942479c9b69ed4eb7e777e
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,67 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED && UNITY_UGUI_INSTALLED
|
|
||||||
#if UNITY_EDITOR && UNITY_2019_1_OR_NEWER
|
|
||||||
using UnityEngine.Profiling;
|
|
||||||
#endif
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
/// <summary>
|
|
||||||
/// PrimeTween uses static delegates (lambdas with no external captures) to play animations.
|
|
||||||
/// The first time a particular animation is played, C# runtime caches the delegate for this animation, and the GC.Alloc is shown in Profiler.
|
|
||||||
/// Such allocations are not technically 'garbage' because they are not subject to garbage collection.
|
|
||||||
/// All subsequent calls will use the cached delegate and will never allocate again.
|
|
||||||
///
|
|
||||||
/// To replicate '0B' heap allocations shown in the promo video:
|
|
||||||
/// Disable the 'Project Settings/Editor/Enter Play Mode Settings/Reload Domain' setting.
|
|
||||||
/// Enable Profiler with Deep Profile.
|
|
||||||
/// Run the Demo and play all animations at least once. This will cache the aforementioned static delegates.
|
|
||||||
/// Restart the Demo scene and observe that PrimeTween doesn't allocate heap memory after static delegates warm-up.
|
|
||||||
/// </summary>
|
|
||||||
public class DebugInfo : MonoBehaviour {
|
|
||||||
#pragma warning disable 0414
|
|
||||||
[SerializeField] MeasureMemoryAllocations measureMemoryAllocations;
|
|
||||||
[SerializeField] Text tweensCountText;
|
|
||||||
[SerializeField] Text gcAllocText;
|
|
||||||
#pragma warning restore 0414
|
|
||||||
#if UNITY_EDITOR && UNITY_2019_1_OR_NEWER
|
|
||||||
int curTweensCount = -1;
|
|
||||||
int? curGCAlloc;
|
|
||||||
|
|
||||||
void Start() {
|
|
||||||
gcAllocText.text = string.Empty;
|
|
||||||
if (shouldDisable()) {
|
|
||||||
gameObject.SetActive(false);
|
|
||||||
}
|
|
||||||
if (Profiler.enabled && !UnityEditorInternal.ProfilerDriver.deepProfiling) {
|
|
||||||
Debug.LogWarning("Please enable 'Deep Profile' for more accurate memory allocation measurements.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool shouldDisable() {
|
|
||||||
if (!Application.isEditor) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (UnityEditor.EditorApplication.isPaused) {
|
|
||||||
return false; // Profiler.enabled returns false if scene is started paused in Unity 2021.3.26
|
|
||||||
}
|
|
||||||
return !Profiler.enabled;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Update() {
|
|
||||||
var newTweensCount = PrimeTweenManager.Instance.lastId;
|
|
||||||
if (curTweensCount != newTweensCount) {
|
|
||||||
curTweensCount = newTweensCount;
|
|
||||||
tweensCountText.text = $"Animations: {newTweensCount}";
|
|
||||||
}
|
|
||||||
var newGCAlloc = measureMemoryAllocations.gcAllocTotal;
|
|
||||||
if (newGCAlloc.HasValue && curGCAlloc != newGCAlloc.Value) {
|
|
||||||
curGCAlloc = newGCAlloc.Value;
|
|
||||||
gcAllocText.text = $"Heap allocations: {UnityEditor.EditorUtility.FormatBytes(newGCAlloc.Value)}";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c0ef97c778caf4b70aea23911ded98ab
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,148 +0,0 @@
|
|||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
#if UNITY_EDITOR && UNITY_2019_1_OR_NEWER
|
|
||||||
using System.Linq;
|
|
||||||
using UnityEditor;
|
|
||||||
using UnityEditor.Profiling;
|
|
||||||
using UnityEditorInternal;
|
|
||||||
using UnityEngine.Profiling;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class MeasureMemoryAllocations : MonoBehaviour {
|
|
||||||
#pragma warning disable 0414
|
|
||||||
[SerializeField] bool logAllocations;
|
|
||||||
[SerializeField] bool logFiltered;
|
|
||||||
[SerializeField] bool logIgnored;
|
|
||||||
[SerializeField] List<string> filterAllocations = new List<string>();
|
|
||||||
[SerializeField] List<string> ignoreAllocations = new List<string>();
|
|
||||||
#pragma warning restore 0414
|
|
||||||
#if UNITY_EDITOR && UNITY_2019_1_OR_NEWER
|
|
||||||
public int? gcAllocTotal { get; private set; }
|
|
||||||
readonly Stack<int> stack = new Stack<int>();
|
|
||||||
readonly List<int> childrenBuffer = new List<int>();
|
|
||||||
readonly List<int> fullIdPathBuffer = new List<int>();
|
|
||||||
readonly List<int[]> ignoredPaths = new List<int[]>();
|
|
||||||
readonly List<int[]> filteredPaths = new List<int[]>();
|
|
||||||
int lastProcessedFrame = -1;
|
|
||||||
|
|
||||||
void Awake() {
|
|
||||||
filterAllocations.Add("PrimeTween.Runtime");
|
|
||||||
filterAllocations.Add("PrimeTweenDemo");
|
|
||||||
}
|
|
||||||
|
|
||||||
void OnEnable() {
|
|
||||||
ProfilerDriver.ClearAllFrames();
|
|
||||||
}
|
|
||||||
|
|
||||||
void Update() {
|
|
||||||
if (!Profiler.enabled) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
var startFrame = Mathf.Max(lastProcessedFrame + 1, ProfilerDriver.firstFrameIndex);
|
|
||||||
for (int i = startFrame; i <= ProfilerDriver.lastFrameIndex; i++) {
|
|
||||||
var gcAlloc = calcGCAllocInFrame(i);
|
|
||||||
if (!gcAlloc.HasValue) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
lastProcessedFrame = i;
|
|
||||||
if (gcAllocTotal.HasValue) {
|
|
||||||
gcAllocTotal += gcAlloc.Value;
|
|
||||||
} else {
|
|
||||||
gcAllocTotal = gcAlloc.Value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
int? calcGCAllocInFrame(int frameIndex) {
|
|
||||||
int result = 0;
|
|
||||||
const HierarchyFrameDataView.ViewModes viewMode = HierarchyFrameDataView.ViewModes.MergeSamplesWithTheSameName | HierarchyFrameDataView.ViewModes.HideEditorOnlySamples;
|
|
||||||
using (var data = ProfilerDriver.GetHierarchyFrameDataView(frameIndex, 0, viewMode, HierarchyFrameDataView.columnGcMemory, false)) {
|
|
||||||
if (!data.valid) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
stack.Clear();
|
|
||||||
stack.Push(data.GetRootItemID());
|
|
||||||
while (stack.Count > 0) {
|
|
||||||
var current = stack.Pop();
|
|
||||||
UnityEngine.Assertions.Assert.IsTrue(data.HasItemChildren(current));
|
|
||||||
data.GetItemChildren(current, childrenBuffer);
|
|
||||||
foreach (var childId in childrenBuffer) {
|
|
||||||
var gcAlloc = (int)data.GetItemColumnDataAsSingle(childId, HierarchyFrameDataView.columnGcMemory);
|
|
||||||
if (gcAlloc == 0) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (data.HasItemChildren(childId)) {
|
|
||||||
stack.Push(childId);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
data.GetItemMarkerIDPath(childId, fullIdPathBuffer);
|
|
||||||
if (ContainsSequence(ignoredPaths, fullIdPathBuffer)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (!ContainsSequence(filteredPaths, fullIdPathBuffer)) {
|
|
||||||
if (shouldFilter()) {
|
|
||||||
filteredPaths.Add(fullIdPathBuffer.ToArray());
|
|
||||||
} else {
|
|
||||||
ignoredPaths.Add(fullIdPathBuffer.ToArray());
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
bool shouldFilter() {
|
|
||||||
if (filterAllocations.Count == 0) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
var itemPath = data.GetItemPath(childId);
|
|
||||||
foreach (var filter in filterAllocations) {
|
|
||||||
if (itemPath.Contains(filter) && !ignoreAllocations.Any(itemPath.Contains)) {
|
|
||||||
if (logFiltered) {
|
|
||||||
print($"FILTER {itemPath}");
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (logIgnored) {
|
|
||||||
print($"IGNORE {itemPath}");
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (logAllocations) {
|
|
||||||
print($"GC Alloc in frame {frameIndex}: {EditorUtility.FormatBytes(gcAlloc)}\n" +
|
|
||||||
$"Path: {data.GetItemPath(childId)}\n");
|
|
||||||
}
|
|
||||||
result += gcAlloc;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool ContainsSequence(List<int[]> arrays, List<int> list) {
|
|
||||||
foreach (var arr in arrays) {
|
|
||||||
if (SequenceEqual(arr, list)) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
|
|
||||||
// Unity 2019.4.40 doesn't support static local methods
|
|
||||||
// ReSharper disable once LocalFunctionCanBeMadeStatic
|
|
||||||
bool SequenceEqual(int[] arr, List<int> _list) {
|
|
||||||
if (arr.Length != _list.Count) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
for (var i = 0; i < arr.Length; i++) {
|
|
||||||
if (arr[i] != _list[i]) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
void Awake() {
|
|
||||||
Debug.LogWarning($"{nameof(MeasureMemoryAllocations)} is only supported in Unity 2019.1 or newer.", this);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6af581ca2a164600b2d47b0f7f7d5570
|
|
||||||
timeCreated: 1686221280
|
|
||||||
@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "PrimeTween.Debug",
|
|
||||||
"rootNamespace": "",
|
|
||||||
"references": [
|
|
||||||
"PrimeTween.Runtime"
|
|
||||||
],
|
|
||||||
"includePlatforms": [],
|
|
||||||
"excludePlatforms": [],
|
|
||||||
"allowUnsafeCode": false,
|
|
||||||
"overrideReferences": false,
|
|
||||||
"precompiledReferences": [],
|
|
||||||
"autoReferenced": true,
|
|
||||||
"defineConstraints": [],
|
|
||||||
"versionDefines": [
|
|
||||||
{
|
|
||||||
"name": "com.kyrylokuzyk.primetween",
|
|
||||||
"expression": "1.0.0",
|
|
||||||
"define": "PRIME_TWEEN_INSTALLED"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "com.unity.ugui",
|
|
||||||
"expression": "1.0.0",
|
|
||||||
"define": "UNITY_UGUI_INSTALLED"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"noEngineReferences": false
|
|
||||||
}
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: bd26724a735bb4282b7fbdef4681eb5f
|
|
||||||
AssemblyDefinitionImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,38 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "PrimeTween.Demo",
|
|
||||||
"rootNamespace": "",
|
|
||||||
"references": [
|
|
||||||
"PrimeTween.Runtime",
|
|
||||||
"Unity.TextMeshPro"
|
|
||||||
],
|
|
||||||
"includePlatforms": [],
|
|
||||||
"excludePlatforms": [],
|
|
||||||
"allowUnsafeCode": false,
|
|
||||||
"overrideReferences": false,
|
|
||||||
"precompiledReferences": [],
|
|
||||||
"autoReferenced": true,
|
|
||||||
"defineConstraints": [],
|
|
||||||
"versionDefines": [
|
|
||||||
{
|
|
||||||
"name": "com.unity.modules.physics",
|
|
||||||
"expression": "1.0.0",
|
|
||||||
"define": "PHYSICS_MODULE_INSTALLED"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "com.unity.ugui",
|
|
||||||
"expression": "1.0.0",
|
|
||||||
"define": "UNITY_UGUI_INSTALLED"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "com.kyrylokuzyk.primetween",
|
|
||||||
"expression": "1.0.0",
|
|
||||||
"define": "PRIME_TWEEN_INSTALLED"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "com.unity.textmeshpro",
|
|
||||||
"expression": "1.0.0",
|
|
||||||
"define": "TEXT_MESH_PRO_INSTALLED"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"noEngineReferences": false
|
|
||||||
}
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 85ffa6ed6408b405d94d60bf1dce1057
|
|
||||||
AssemblyDefinitionImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,29 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class Road : Animatable {
|
|
||||||
[SerializeField] MeshRenderer roadModel;
|
|
||||||
[SerializeField] AnimationCurve ease;
|
|
||||||
float currentSpeed;
|
|
||||||
|
|
||||||
void Awake() {
|
|
||||||
_ = roadModel.material; // copy shared material
|
|
||||||
}
|
|
||||||
|
|
||||||
public override Sequence Animate(bool isAnimating) {
|
|
||||||
var currentSpeedTween = Tween.Custom(this, currentSpeed, isAnimating ? 0.3f : 0, 1, (_this, val) => _this.currentSpeed = val);
|
|
||||||
var sequence = Sequence.Create(currentSpeedTween);
|
|
||||||
if (isAnimating) {
|
|
||||||
sequence.Group(Tween.LocalPositionY(transform, 0, -0.5f, 0.7f, ease));
|
|
||||||
}
|
|
||||||
return sequence;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Update() {
|
|
||||||
roadModel.material.mainTextureOffset += new Vector2(-1f, 1f) * currentSpeed * Time.deltaTime;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a4e192d6601c4753961099a3db72b66f
|
|
||||||
timeCreated: 1682262719
|
|
||||||
@ -1,39 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class SlidingDoor : Animatable {
|
|
||||||
[SerializeField] Transform animationAnchor;
|
|
||||||
[SerializeField] Vector3 openedPos, midPos, closedPos;
|
|
||||||
Demo demo;
|
|
||||||
bool isClosed;
|
|
||||||
Sequence sequence;
|
|
||||||
|
|
||||||
void Awake() {
|
|
||||||
demo = FindObjectOfType<Demo>();
|
|
||||||
UnityEngine.Assertions.Assert.IsNotNull(demo);
|
|
||||||
}
|
|
||||||
|
|
||||||
public override void OnClick() {
|
|
||||||
if (!demo.animateAllSequence.isAlive) {
|
|
||||||
Animate(!isClosed);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public override Sequence Animate(bool _isClosed) {
|
|
||||||
if (isClosed == _isClosed) {
|
|
||||||
return Sequence.Create();
|
|
||||||
}
|
|
||||||
isClosed = _isClosed;
|
|
||||||
if (sequence.isAlive) {
|
|
||||||
sequence.Stop();
|
|
||||||
}
|
|
||||||
var tweenSettings = new TweenSettings(0.4f, Ease.OutBack, endDelay: 0.1f);
|
|
||||||
sequence = Tween.LocalPosition(animationAnchor, midPos, tweenSettings)
|
|
||||||
.Chain(Tween.LocalPosition(animationAnchor, _isClosed ? closedPos : openedPos, tweenSettings));
|
|
||||||
return sequence;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c42977785d1b549d59c346556945e0c5
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class SqueezeAnimation : MonoBehaviour {
|
|
||||||
[SerializeField] Transform target;
|
|
||||||
Tween tween;
|
|
||||||
|
|
||||||
public void PlayAnimation() {
|
|
||||||
if (!tween.isAlive) {
|
|
||||||
tween = Tween.Scale(target, new Vector3(1.15f, 0.9f, 1.15f), 0.2f, Ease.OutSine, 2, CycleMode.Yoyo);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 613ad9fe5121a4b02b556b6b16cad710
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class SwipeTutorial : MonoBehaviour {
|
|
||||||
Tween tween;
|
|
||||||
|
|
||||||
void OnEnable() {
|
|
||||||
#if !UNITY_2019_1_OR_NEWER || UNITY_UGUI_INSTALLED
|
|
||||||
tween = Tween.Alpha(GetComponent<UnityEngine.UI.Text>(), 1, 0, 1, Ease.InOutSine, -1, CycleMode.Yoyo);
|
|
||||||
#else
|
|
||||||
Debug.LogError("Please install the package and re-open the Demo scene: 'Package Manager/Packages/Unity Registry/Unity UI' (com.unity.ugui).");
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Hide() {
|
|
||||||
if (tween.isAlive) {
|
|
||||||
// Stop cycling the animation when it reaches the 'endValue' (0)
|
|
||||||
tween.SetRemainingCycles(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d20b7aac1e6a4f1dbdbe52c7ca1ad4b4
|
|
||||||
timeCreated: 1685344395
|
|
||||||
@ -1,148 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
#if TEXT_MESH_PRO_INSTALLED
|
|
||||||
using TMPro;
|
|
||||||
#endif
|
|
||||||
using JetBrains.Annotations;
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
[PublicAPI]
|
|
||||||
public class TypewriterAnimatorExample : MonoBehaviour {
|
|
||||||
enum AnimationType { Simple, WithPunctuations, ByWords }
|
|
||||||
[SerializeField] AnimationType animationType = AnimationType.WithPunctuations;
|
|
||||||
[SerializeField] float charsPerSecond = 40f;
|
|
||||||
[SerializeField] int pauseAfterPunctuation = 20;
|
|
||||||
#if TEXT_MESH_PRO_INSTALLED
|
|
||||||
TextMeshProUGUI text;
|
|
||||||
|
|
||||||
void Awake() {
|
|
||||||
text = gameObject.AddComponent<TextMeshProUGUI>();
|
|
||||||
text.maxVisibleCharacters = 0;
|
|
||||||
text.alignment = TextAlignmentOptions.TopLeft;
|
|
||||||
text.fontSize = 12;
|
|
||||||
text.color = Color.black * 0.8f;
|
|
||||||
text.text = "This text is <color=orange>animated</color> with <b>zero allocations</b>, see <i>'TypewriterAnimatorExample'</i> script for more details.\n\n" +
|
|
||||||
"PrimeTween rocks!";
|
|
||||||
}
|
|
||||||
|
|
||||||
public Tween Animate() {
|
|
||||||
switch (animationType) {
|
|
||||||
case AnimationType.Simple:
|
|
||||||
return TypewriterAnimationSimple();
|
|
||||||
case AnimationType.WithPunctuations:
|
|
||||||
return TypewriterAnimationWithPunctuations();
|
|
||||||
case AnimationType.ByWords:
|
|
||||||
return TypewriterAnimationByWords();
|
|
||||||
default:
|
|
||||||
throw new System.Exception();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>A simple typewriter animation that uses built-in <see cref="Tween.TextMaxVisibleCharacters()"/> animation method.</summary>
|
|
||||||
public Tween TypewriterAnimationSimple() {
|
|
||||||
text.ForceMeshUpdate();
|
|
||||||
int characterCount = text.textInfo.characterCount;
|
|
||||||
float duration = characterCount / charsPerSecond;
|
|
||||||
return Tween.TextMaxVisibleCharacters(text, 0, characterCount, duration, Ease.Linear);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region TypewriterAnimationWithPunctuations
|
|
||||||
/// <summary>Typewriter animation which inserts pauses after punctuation marks.</summary>
|
|
||||||
public Tween TypewriterAnimationWithPunctuations() {
|
|
||||||
text.ForceMeshUpdate();
|
|
||||||
RemapWithPunctuations(text, int.MaxValue, out int remappedCount, out _);
|
|
||||||
float duration = remappedCount / charsPerSecond;
|
|
||||||
return Tween.Custom(this, 0f, remappedCount, duration, (t, x) => t.UpdateMaxVisibleCharsWithPunctuation(x), Ease.Linear);
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateMaxVisibleCharsWithPunctuation(float progress) {
|
|
||||||
int remappedEndIndex = Mathf.RoundToInt(progress);
|
|
||||||
RemapWithPunctuations(text, remappedEndIndex, out _, out int visibleCharsCount);
|
|
||||||
if (text.maxVisibleCharacters != visibleCharsCount) {
|
|
||||||
text.maxVisibleCharacters = visibleCharsCount;
|
|
||||||
// play keyboard typing sound here if needed
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void RemapWithPunctuations([NotNull] TMP_Text text, int remappedEndIndex, out int remappedCount, out int visibleCharsCount) {
|
|
||||||
remappedCount = 0;
|
|
||||||
visibleCharsCount = 0;
|
|
||||||
int count = text.textInfo.characterCount;
|
|
||||||
var characterInfos = text.textInfo.characterInfo;
|
|
||||||
for (int i = 0; i < count; i++) {
|
|
||||||
if (remappedCount >= remappedEndIndex) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
remappedCount++;
|
|
||||||
visibleCharsCount++;
|
|
||||||
if (IsPunctuationChar(characterInfos[i].character)) {
|
|
||||||
int nextIndex = i + 1;
|
|
||||||
if (nextIndex != count && !IsPunctuationChar(characterInfos[nextIndex].character)) {
|
|
||||||
// add pause after the last subsequent punctuation character
|
|
||||||
remappedCount += Mathf.Max(0, pauseAfterPunctuation);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IsPunctuationChar(char c) {
|
|
||||||
return ".,:;!?".IndexOf(c) != -1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region TypewriterAnimationByWords
|
|
||||||
/// <summary>Typewriter animation that shows text word by word.</summary>
|
|
||||||
public Tween TypewriterAnimationByWords() {
|
|
||||||
text.ForceMeshUpdate();
|
|
||||||
RemapWords(text, int.MaxValue, out int numWords, out _);
|
|
||||||
float duration = text.textInfo.characterCount / charsPerSecond;
|
|
||||||
return Tween.Custom(this, 0f, numWords, duration, (t, x) => t.UpdateVisibleWords(x), Ease.Linear);
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateVisibleWords(float progress) {
|
|
||||||
int curWordIndex = Mathf.RoundToInt(progress);
|
|
||||||
RemapWords(text, curWordIndex, out _, out int visibleCharsCount);
|
|
||||||
if (text.maxVisibleCharacters != visibleCharsCount) {
|
|
||||||
text.maxVisibleCharacters = visibleCharsCount;
|
|
||||||
// play keyboard typing sound here if needed
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static void RemapWords([NotNull] TMP_Text text, int remappedEndIndex, out int remappedCount, out int visibleCharsCount) {
|
|
||||||
visibleCharsCount = 0;
|
|
||||||
int count = text.textInfo.characterCount;
|
|
||||||
if (count == 0) {
|
|
||||||
remappedCount = 0;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
remappedCount = 1;
|
|
||||||
var characterInfos = text.textInfo.characterInfo;
|
|
||||||
for (int i = 0; i < count; i++) {
|
|
||||||
if (remappedCount >= remappedEndIndex) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
remappedCount++;
|
|
||||||
if (IsWordSeparatorChar(characterInfos[i].character)) {
|
|
||||||
int nextIndex = i + 1;
|
|
||||||
if (nextIndex == count || !IsWordSeparatorChar(characterInfos[nextIndex].character)) {
|
|
||||||
remappedCount++;
|
|
||||||
visibleCharsCount = nextIndex;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
visibleCharsCount = count;
|
|
||||||
|
|
||||||
bool IsWordSeparatorChar(char ch) {
|
|
||||||
return " \n".IndexOf(ch) != -1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
#else
|
|
||||||
void Awake() {
|
|
||||||
Debug.LogWarning("Please install TextMeshPro 'com.unity.textmeshpro' to enable TypewriterAnimatorExample.", this);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f62b6e70f1114e5d867a36459e0352bf
|
|
||||||
timeCreated: 1702471534
|
|
||||||
@ -1,38 +0,0 @@
|
|||||||
#if PRIME_TWEEN_INSTALLED
|
|
||||||
using PrimeTween;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace PrimeTweenDemo {
|
|
||||||
public class Wheels : Animatable {
|
|
||||||
[SerializeField] Demo demo;
|
|
||||||
[SerializeField] Transform[] wheels;
|
|
||||||
bool isAnimating;
|
|
||||||
Sequence sequence;
|
|
||||||
|
|
||||||
public override void OnClick() {
|
|
||||||
demo.AnimateAll(!isAnimating);
|
|
||||||
}
|
|
||||||
|
|
||||||
public override Sequence Animate(bool _isAnimating) {
|
|
||||||
isAnimating = _isAnimating;
|
|
||||||
// Spinning wheels is an infinite animation, and we should not return it as result of this method.
|
|
||||||
// Instead, we should wrap the SpinWheelsInfinitely() call inside the empty Sequence. This way, the SpinWheelsInfinitely() call can be grouped and chained with other tweens and sequences.
|
|
||||||
return Sequence.Create().ChainCallback(this, target => target.SpinWheelsInfinitely());
|
|
||||||
}
|
|
||||||
|
|
||||||
void SpinWheelsInfinitely() {
|
|
||||||
if (isAnimating) {
|
|
||||||
sequence.Complete();
|
|
||||||
sequence = Sequence.Create(-1);
|
|
||||||
foreach (var wheel in wheels) {
|
|
||||||
sequence.Group(Tween.LocalEulerAngles(wheel, Vector3.zero, new Vector3(360, 0), 1, Ease.Linear));
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (sequence.isAlive) {
|
|
||||||
sequence.SetRemainingCycles(0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6113f6e98f16c489f87f373fc4133597
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b7265872bef874265b6a013be67f7ef9
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
Thanks for the model to Fero Andezo (feroz)!
|
|
||||||
Model link:
|
|
||||||
https://skfb.ly/6SZVz
|
|
||||||
|
|
||||||
If you like what Fero does, follow him on Sketchfab:
|
|
||||||
https://sketchfab.com/ferofluid
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 064ca2a5c3a844e29a2223f62216e16e
|
|
||||||
timeCreated: 1683535537
|
|
||||||
|
Before Width: | Height: | Size: 2.7 MiB |
@ -1,147 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f94c989c837ae4db8bd9b10ab17903ce
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 12
|
|
||||||
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
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMasterTextureLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 0
|
|
||||||
wrapV: 0
|
|
||||||
wrapW: 0
|
|
||||||
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
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
cookieLightType: 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
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Server
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: iPhone
|
|
||||||
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: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
spritePackingTag:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
pSDShowRemoveMatteOption: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
|
Before Width: | Height: | Size: 3.2 MiB |
@ -1,147 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d9cb62c342d1047c088a4343b86104f5
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 12
|
|
||||||
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
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMasterTextureLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 0
|
|
||||||
wrapV: 0
|
|
||||||
wrapW: 0
|
|
||||||
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
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
cookieLightType: 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
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Server
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: iPhone
|
|
||||||
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: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
spritePackingTag:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
pSDShowRemoveMatteOption: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b43cf3f34f8b246978c0dd5eda5ce9fe
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,86 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!21 &2100000
|
|
||||||
Material:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Exterior
|
|
||||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_Parent: {fileID: 0}
|
|
||||||
m_ModifiedSerializedProperties: 0
|
|
||||||
m_ValidKeywords:
|
|
||||||
- _EMISSION
|
|
||||||
- _GLOSSYREFLECTIONS_OFF
|
|
||||||
- _SPECULARHIGHLIGHTS_OFF
|
|
||||||
m_InvalidKeywords: []
|
|
||||||
m_LightmapFlags: 1
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap: {}
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_LockedProperties:
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: f94c989c837ae4db8bd9b10ab17903ce, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _GlossMapScale: 1
|
|
||||||
- _Glossiness: 0
|
|
||||||
- _GlossyReflections: 0
|
|
||||||
- _Metallic: 0
|
|
||||||
- _Mode: 0
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.02
|
|
||||||
- _SmoothnessTextureChannel: 0
|
|
||||||
- _SpecularHighlights: 0
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _UVSec: 0
|
|
||||||
- _ZWrite: 1
|
|
||||||
m_Colors:
|
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: e3fb3841a697f42f18609c8864d87886
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,86 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!21 &2100000
|
|
||||||
Material:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Wheel
|
|
||||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_Parent: {fileID: 0}
|
|
||||||
m_ModifiedSerializedProperties: 0
|
|
||||||
m_ValidKeywords:
|
|
||||||
- _EMISSION
|
|
||||||
- _GLOSSYREFLECTIONS_OFF
|
|
||||||
- _SPECULARHIGHLIGHTS_OFF
|
|
||||||
m_InvalidKeywords: []
|
|
||||||
m_LightmapFlags: 1
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap: {}
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_LockedProperties:
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: a6031cf05af9b4bea8d67125e8027bdf, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _GlossMapScale: 1
|
|
||||||
- _Glossiness: 0
|
|
||||||
- _GlossyReflections: 0
|
|
||||||
- _Metallic: 0
|
|
||||||
- _Mode: 0
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.02
|
|
||||||
- _SmoothnessTextureChannel: 0
|
|
||||||
- _SpecularHighlights: 0
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _UVSec: 0
|
|
||||||
- _ZWrite: 1
|
|
||||||
m_Colors:
|
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 697445d70f82745a39de4df5f36c514c
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,78 +0,0 @@
|
|||||||
%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: Window
|
|
||||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_ShaderKeywords: _ALPHAPREMULTIPLY_ON _EMISSION
|
|
||||||
m_LightmapFlags: 1
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: 3000
|
|
||||||
stringTagMap:
|
|
||||||
RenderType: Transparent
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: b294bf67965a84cc8b4efe16fa9aa316, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Floats:
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 10
|
|
||||||
- _GlossMapScale: 1
|
|
||||||
- _Glossiness: 0
|
|
||||||
- _GlossyReflections: 1
|
|
||||||
- _Metallic: 0
|
|
||||||
- _Mode: 3
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.02
|
|
||||||
- _SmoothnessTextureChannel: 0
|
|
||||||
- _SpecularHighlights: 1
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _UVSec: 0
|
|
||||||
- _ZWrite: 0
|
|
||||||
m_Colors:
|
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 0.19999999}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c6826ed5c575c40c58f681e880fad469
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,86 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!21 &2100000
|
|
||||||
Material:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: interior
|
|
||||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_Parent: {fileID: 0}
|
|
||||||
m_ModifiedSerializedProperties: 0
|
|
||||||
m_ValidKeywords:
|
|
||||||
- _EMISSION
|
|
||||||
- _GLOSSYREFLECTIONS_OFF
|
|
||||||
- _SPECULARHIGHLIGHTS_OFF
|
|
||||||
m_InvalidKeywords: []
|
|
||||||
m_LightmapFlags: 1
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap: {}
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_LockedProperties:
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: d9cb62c342d1047c088a4343b86104f5, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _GlossMapScale: 1
|
|
||||||
- _Glossiness: 0
|
|
||||||
- _GlossyReflections: 0
|
|
||||||
- _Metallic: 0
|
|
||||||
- _Mode: 0
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.02
|
|
||||||
- _SmoothnessTextureChannel: 0
|
|
||||||
- _SpecularHighlights: 0
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _UVSec: 0
|
|
||||||
- _ZWrite: 1
|
|
||||||
m_Colors:
|
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 004ae8b11200d44ac83be82a3ee1ebb8
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9f482305119714e1e89e90d6468dc350
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,139 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!21 &2100000
|
|
||||||
Material:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Exterior
|
|
||||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
|
||||||
m_Parent: {fileID: 0}
|
|
||||||
m_ModifiedSerializedProperties: 0
|
|
||||||
m_ValidKeywords:
|
|
||||||
- _EMISSION
|
|
||||||
- _ENVIRONMENTREFLECTIONS_OFF
|
|
||||||
- _SPECULARHIGHLIGHTS_OFF
|
|
||||||
m_InvalidKeywords:
|
|
||||||
- _GLOSSYREFLECTIONS_OFF
|
|
||||||
m_LightmapFlags: 1
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap:
|
|
||||||
RenderType: Opaque
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_LockedProperties:
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BaseMap:
|
|
||||||
m_Texture: {fileID: 2800000, guid: f94c989c837ae4db8bd9b10ab17903ce, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: f94c989c837ae4db8bd9b10ab17903ce, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _SpecGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_Lightmaps:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_LightmapsInd:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_ShadowMasks:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _AlphaClip: 0
|
|
||||||
- _AlphaToMask: 0
|
|
||||||
- _Blend: 0
|
|
||||||
- _BlendModePreserveSpecular: 1
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _ClearCoatMask: 0
|
|
||||||
- _ClearCoatSmoothness: 0
|
|
||||||
- _Cull: 2
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailAlbedoMapScale: 1
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _DstBlendAlpha: 0
|
|
||||||
- _EnvironmentReflections: 0
|
|
||||||
- _GlossMapScale: 1
|
|
||||||
- _Glossiness: 0
|
|
||||||
- _GlossyReflections: 0
|
|
||||||
- _Metallic: 0
|
|
||||||
- _Mode: 0
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.02
|
|
||||||
- _QueueOffset: 0
|
|
||||||
- _ReceiveShadows: 1
|
|
||||||
- _Smoothness: 0
|
|
||||||
- _SmoothnessTextureChannel: 0
|
|
||||||
- _SpecularHighlights: 0
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _SrcBlendAlpha: 1
|
|
||||||
- _Surface: 0
|
|
||||||
- _UVSec: 0
|
|
||||||
- _WorkflowMode: 1
|
|
||||||
- _ZWrite: 1
|
|
||||||
m_Colors:
|
|
||||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
--- !u!114 &7263079360766289332
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 11
|
|
||||||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
version: 7
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4664d12bb5ac04e998b3008d8f2803dc
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,139 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &-4735658937689173692
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 11
|
|
||||||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
version: 7
|
|
||||||
--- !u!21 &2100000
|
|
||||||
Material:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Wheel
|
|
||||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
|
||||||
m_Parent: {fileID: 0}
|
|
||||||
m_ModifiedSerializedProperties: 0
|
|
||||||
m_ValidKeywords:
|
|
||||||
- _EMISSION
|
|
||||||
- _ENVIRONMENTREFLECTIONS_OFF
|
|
||||||
- _SPECULARHIGHLIGHTS_OFF
|
|
||||||
m_InvalidKeywords:
|
|
||||||
- _GLOSSYREFLECTIONS_OFF
|
|
||||||
m_LightmapFlags: 1
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap:
|
|
||||||
RenderType: Opaque
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_LockedProperties:
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BaseMap:
|
|
||||||
m_Texture: {fileID: 2800000, guid: a6031cf05af9b4bea8d67125e8027bdf, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: a6031cf05af9b4bea8d67125e8027bdf, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _SpecGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_Lightmaps:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_LightmapsInd:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_ShadowMasks:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _AlphaClip: 0
|
|
||||||
- _AlphaToMask: 0
|
|
||||||
- _Blend: 0
|
|
||||||
- _BlendModePreserveSpecular: 1
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _ClearCoatMask: 0
|
|
||||||
- _ClearCoatSmoothness: 0
|
|
||||||
- _Cull: 2
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailAlbedoMapScale: 1
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _DstBlendAlpha: 0
|
|
||||||
- _EnvironmentReflections: 0
|
|
||||||
- _GlossMapScale: 1
|
|
||||||
- _Glossiness: 0
|
|
||||||
- _GlossyReflections: 0
|
|
||||||
- _Metallic: 0
|
|
||||||
- _Mode: 0
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.02
|
|
||||||
- _QueueOffset: 0
|
|
||||||
- _ReceiveShadows: 1
|
|
||||||
- _Smoothness: 0
|
|
||||||
- _SmoothnessTextureChannel: 0
|
|
||||||
- _SpecularHighlights: 0
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _SrcBlendAlpha: 1
|
|
||||||
- _Surface: 0
|
|
||||||
- _UVSec: 0
|
|
||||||
- _WorkflowMode: 1
|
|
||||||
- _ZWrite: 1
|
|
||||||
m_Colors:
|
|
||||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b18e327865ce74717850a9fa00d61d6a
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,140 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!21 &2100000
|
|
||||||
Material:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Window
|
|
||||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
|
||||||
m_Parent: {fileID: 0}
|
|
||||||
m_ModifiedSerializedProperties: 0
|
|
||||||
m_ValidKeywords:
|
|
||||||
- _ALPHAPREMULTIPLY_ON
|
|
||||||
- _EMISSION
|
|
||||||
- _SURFACE_TYPE_TRANSPARENT
|
|
||||||
m_InvalidKeywords: []
|
|
||||||
m_LightmapFlags: 1
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: 3000
|
|
||||||
stringTagMap:
|
|
||||||
RenderType: Transparent
|
|
||||||
disabledShaderPasses:
|
|
||||||
- DepthOnly
|
|
||||||
- SHADOWCASTER
|
|
||||||
m_LockedProperties:
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BaseMap:
|
|
||||||
m_Texture: {fileID: 2800000, guid: b294bf67965a84cc8b4efe16fa9aa316, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: b294bf67965a84cc8b4efe16fa9aa316, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _SpecGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_Lightmaps:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_LightmapsInd:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_ShadowMasks:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _AlphaClip: 0
|
|
||||||
- _AlphaToMask: 0
|
|
||||||
- _Blend: 0
|
|
||||||
- _BlendModePreserveSpecular: 1
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _ClearCoatMask: 0
|
|
||||||
- _ClearCoatSmoothness: 0
|
|
||||||
- _Cull: 2
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailAlbedoMapScale: 1
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 10
|
|
||||||
- _DstBlendAlpha: 10
|
|
||||||
- _EnvironmentReflections: 1
|
|
||||||
- _GlossMapScale: 1
|
|
||||||
- _Glossiness: 0
|
|
||||||
- _GlossyReflections: 1
|
|
||||||
- _Metallic: 0
|
|
||||||
- _Mode: 3
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.02
|
|
||||||
- _QueueOffset: 0
|
|
||||||
- _ReceiveShadows: 1
|
|
||||||
- _Smoothness: 0
|
|
||||||
- _SmoothnessTextureChannel: 0
|
|
||||||
- _SpecularHighlights: 1
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _SrcBlendAlpha: 1
|
|
||||||
- _Surface: 1
|
|
||||||
- _UVSec: 0
|
|
||||||
- _WorkflowMode: 1
|
|
||||||
- _ZWrite: 0
|
|
||||||
m_Colors:
|
|
||||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 0.19999999}
|
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 0.19999999}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
--- !u!114 &3728866138871552857
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 11
|
|
||||||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
version: 7
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 1b921feeacddd4a24ba5661d0ce5d33e
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,139 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!21 &2100000
|
|
||||||
Material:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: interior
|
|
||||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
|
||||||
m_Parent: {fileID: 0}
|
|
||||||
m_ModifiedSerializedProperties: 0
|
|
||||||
m_ValidKeywords:
|
|
||||||
- _EMISSION
|
|
||||||
- _ENVIRONMENTREFLECTIONS_OFF
|
|
||||||
- _SPECULARHIGHLIGHTS_OFF
|
|
||||||
m_InvalidKeywords:
|
|
||||||
- _GLOSSYREFLECTIONS_OFF
|
|
||||||
m_LightmapFlags: 1
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap:
|
|
||||||
RenderType: Opaque
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_LockedProperties:
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BaseMap:
|
|
||||||
m_Texture: {fileID: 2800000, guid: d9cb62c342d1047c088a4343b86104f5, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: d9cb62c342d1047c088a4343b86104f5, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _SpecGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_Lightmaps:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_LightmapsInd:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_ShadowMasks:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _AlphaClip: 0
|
|
||||||
- _AlphaToMask: 0
|
|
||||||
- _Blend: 0
|
|
||||||
- _BlendModePreserveSpecular: 1
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _ClearCoatMask: 0
|
|
||||||
- _ClearCoatSmoothness: 0
|
|
||||||
- _Cull: 2
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailAlbedoMapScale: 1
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _DstBlendAlpha: 0
|
|
||||||
- _EnvironmentReflections: 0
|
|
||||||
- _GlossMapScale: 1
|
|
||||||
- _Glossiness: 0
|
|
||||||
- _GlossyReflections: 0
|
|
||||||
- _Metallic: 0
|
|
||||||
- _Mode: 0
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.02
|
|
||||||
- _QueueOffset: 0
|
|
||||||
- _ReceiveShadows: 1
|
|
||||||
- _Smoothness: 0
|
|
||||||
- _SmoothnessTextureChannel: 0
|
|
||||||
- _SpecularHighlights: 0
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _SrcBlendAlpha: 1
|
|
||||||
- _Surface: 0
|
|
||||||
- _UVSec: 0
|
|
||||||
- _WorkflowMode: 1
|
|
||||||
- _ZWrite: 1
|
|
||||||
m_Colors:
|
|
||||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
--- !u!114 &6538925729129028096
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 11
|
|
||||||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
version: 7
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4ba9f664d3cac4d60b6c273c337e94b1
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,250 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c9da341d2d3a64cf8b2adc9bba8ec9ec
|
|
||||||
ModelImporter:
|
|
||||||
serializedVersion: 23
|
|
||||||
fileIDToRecycleName:
|
|
||||||
100000: animationAnchor
|
|
||||||
100002: animationAnchor.001
|
|
||||||
100004: animationAnchor.002
|
|
||||||
100006: animationAnchor.003
|
|
||||||
100008: baggage
|
|
||||||
100010: baggage.001
|
|
||||||
100012: door_ext_l
|
|
||||||
100014: door_l
|
|
||||||
100016: door_r
|
|
||||||
100018: exterior
|
|
||||||
100020: exterior.001
|
|
||||||
100022: highlightAnchor
|
|
||||||
100024: highlightAnchor.001
|
|
||||||
100026: highlightAnchor.002
|
|
||||||
100028: highlightAnchor.003
|
|
||||||
100030: highlightAnchor.004
|
|
||||||
100032: highlightAnchor.005
|
|
||||||
100034: interior
|
|
||||||
100036: model
|
|
||||||
100038: sliding_door
|
|
||||||
100040: trunk
|
|
||||||
100042: trunk_model
|
|
||||||
100044: //RootNode
|
|
||||||
100046: Wheels
|
|
||||||
100048: Wheels.001
|
|
||||||
100050: Wheels.002
|
|
||||||
100052: Wheels.003
|
|
||||||
100054: Wheels.004
|
|
||||||
100056: windows
|
|
||||||
100058: wnd
|
|
||||||
100060: wnd_r
|
|
||||||
100062: wnd_sliding_door
|
|
||||||
100064: wnd_trunk
|
|
||||||
100066: exterior.002
|
|
||||||
100068: Headlights
|
|
||||||
400000: animationAnchor
|
|
||||||
400002: animationAnchor.001
|
|
||||||
400004: animationAnchor.002
|
|
||||||
400006: animationAnchor.003
|
|
||||||
400008: baggage
|
|
||||||
400010: baggage.001
|
|
||||||
400012: door_ext_l
|
|
||||||
400014: door_l
|
|
||||||
400016: door_r
|
|
||||||
400018: exterior
|
|
||||||
400020: exterior.001
|
|
||||||
400022: highlightAnchor
|
|
||||||
400024: highlightAnchor.001
|
|
||||||
400026: highlightAnchor.002
|
|
||||||
400028: highlightAnchor.003
|
|
||||||
400030: highlightAnchor.004
|
|
||||||
400032: highlightAnchor.005
|
|
||||||
400034: interior
|
|
||||||
400036: model
|
|
||||||
400038: sliding_door
|
|
||||||
400040: trunk
|
|
||||||
400042: trunk_model
|
|
||||||
400044: //RootNode
|
|
||||||
400046: Wheels
|
|
||||||
400048: Wheels.001
|
|
||||||
400050: Wheels.002
|
|
||||||
400052: Wheels.003
|
|
||||||
400054: Wheels.004
|
|
||||||
400056: windows
|
|
||||||
400058: wnd
|
|
||||||
400060: wnd_r
|
|
||||||
400062: wnd_sliding_door
|
|
||||||
400064: wnd_trunk
|
|
||||||
400066: exterior.002
|
|
||||||
400068: Headlights
|
|
||||||
2300000: baggage.001
|
|
||||||
2300002: door_ext_l
|
|
||||||
2300004: exterior
|
|
||||||
2300006: exterior.001
|
|
||||||
2300008: interior
|
|
||||||
2300010: model
|
|
||||||
2300012: trunk_model
|
|
||||||
2300014: Wheels.001
|
|
||||||
2300016: Wheels.002
|
|
||||||
2300018: Wheels.003
|
|
||||||
2300020: Wheels.004
|
|
||||||
2300022: windows
|
|
||||||
2300024: wnd
|
|
||||||
2300026: wnd_r
|
|
||||||
2300028: wnd_sliding_door
|
|
||||||
2300030: wnd_trunk
|
|
||||||
2300032: exterior.002
|
|
||||||
3300000: baggage.001
|
|
||||||
3300002: door_ext_l
|
|
||||||
3300004: exterior
|
|
||||||
3300006: exterior.001
|
|
||||||
3300008: interior
|
|
||||||
3300010: model
|
|
||||||
3300012: trunk_model
|
|
||||||
3300014: Wheels.001
|
|
||||||
3300016: Wheels.002
|
|
||||||
3300018: Wheels.003
|
|
||||||
3300020: Wheels.004
|
|
||||||
3300022: windows
|
|
||||||
3300024: wnd
|
|
||||||
3300026: wnd_r
|
|
||||||
3300028: wnd_sliding_door
|
|
||||||
3300030: wnd_trunk
|
|
||||||
3300032: exterior.002
|
|
||||||
4300000: windows
|
|
||||||
4300002: exterior
|
|
||||||
4300004: interior
|
|
||||||
4300006: door_ext_l
|
|
||||||
4300008: wnd
|
|
||||||
4300010: model
|
|
||||||
4300012: wnd_sliding_door
|
|
||||||
4300014: baggage.001
|
|
||||||
4300016: exterior.001
|
|
||||||
4300018: wnd_r
|
|
||||||
4300020: Wheels.001
|
|
||||||
4300022: Wheels.002
|
|
||||||
4300024: Wheels.003
|
|
||||||
4300026: Wheels.004
|
|
||||||
4300028: trunk_model
|
|
||||||
4300030: wnd_trunk
|
|
||||||
4300032: exterior.002
|
|
||||||
6400000: baggage.001
|
|
||||||
6400002: door_ext_l
|
|
||||||
6400004: exterior
|
|
||||||
6400006: exterior.001
|
|
||||||
6400008: interior
|
|
||||||
6400010: model
|
|
||||||
6400012: trunk_model
|
|
||||||
6400014: Wheels.001
|
|
||||||
6400016: Wheels.002
|
|
||||||
6400018: Wheels.003
|
|
||||||
6400020: Wheels.004
|
|
||||||
6400022: windows
|
|
||||||
6400024: wnd
|
|
||||||
6400026: wnd_r
|
|
||||||
6400028: wnd_sliding_door
|
|
||||||
6400030: wnd_trunk
|
|
||||||
6400032: exterior.002
|
|
||||||
9500000: //RootNode
|
|
||||||
externalObjects:
|
|
||||||
- first:
|
|
||||||
type: UnityEngine:Material
|
|
||||||
assembly: UnityEngine.CoreModule
|
|
||||||
name: Exterior
|
|
||||||
second: {fileID: 2100000, guid: e3fb3841a697f42f18609c8864d87886, type: 2}
|
|
||||||
- first:
|
|
||||||
type: UnityEngine:Material
|
|
||||||
assembly: UnityEngine.CoreModule
|
|
||||||
name: Wheel
|
|
||||||
second: {fileID: 2100000, guid: 697445d70f82745a39de4df5f36c514c, type: 2}
|
|
||||||
- first:
|
|
||||||
type: UnityEngine:Material
|
|
||||||
assembly: UnityEngine.CoreModule
|
|
||||||
name: Window
|
|
||||||
second: {fileID: 2100000, guid: c6826ed5c575c40c58f681e880fad469, type: 2}
|
|
||||||
- first:
|
|
||||||
type: UnityEngine:Material
|
|
||||||
assembly: UnityEngine.CoreModule
|
|
||||||
name: interior
|
|
||||||
second: {fileID: 2100000, guid: 004ae8b11200d44ac83be82a3ee1ebb8, type: 2}
|
|
||||||
materials:
|
|
||||||
importMaterials: 0
|
|
||||||
materialName: 0
|
|
||||||
materialSearch: 1
|
|
||||||
materialLocation: 0
|
|
||||||
animations:
|
|
||||||
legacyGenerateAnimations: 4
|
|
||||||
bakeSimulation: 0
|
|
||||||
resampleCurves: 1
|
|
||||||
optimizeGameObjects: 0
|
|
||||||
motionNodeName:
|
|
||||||
rigImportErrors:
|
|
||||||
rigImportWarnings:
|
|
||||||
animationImportErrors:
|
|
||||||
animationImportWarnings:
|
|
||||||
animationRetargetingWarnings:
|
|
||||||
animationDoRetargetingWarnings: 0
|
|
||||||
importAnimatedCustomProperties: 0
|
|
||||||
importConstraints: 0
|
|
||||||
animationCompression: 1
|
|
||||||
animationRotationError: 0.5
|
|
||||||
animationPositionError: 0.5
|
|
||||||
animationScaleError: 0.5
|
|
||||||
animationWrapMode: 0
|
|
||||||
extraExposedTransformPaths: []
|
|
||||||
extraUserProperties: []
|
|
||||||
clipAnimations: []
|
|
||||||
isReadable: 1
|
|
||||||
meshes:
|
|
||||||
lODScreenPercentages: []
|
|
||||||
globalScale: 1
|
|
||||||
meshCompression: 0
|
|
||||||
addColliders: 1
|
|
||||||
useSRGBMaterialColor: 1
|
|
||||||
importVisibility: 0
|
|
||||||
importBlendShapes: 0
|
|
||||||
importCameras: 0
|
|
||||||
importLights: 0
|
|
||||||
swapUVChannels: 0
|
|
||||||
generateSecondaryUV: 0
|
|
||||||
useFileUnits: 1
|
|
||||||
optimizeMeshForGPU: 1
|
|
||||||
keepQuads: 0
|
|
||||||
weldVertices: 1
|
|
||||||
preserveHierarchy: 0
|
|
||||||
indexFormat: 0
|
|
||||||
secondaryUVAngleDistortion: 8
|
|
||||||
secondaryUVAreaDistortion: 15.000001
|
|
||||||
secondaryUVHardAngle: 88
|
|
||||||
secondaryUVPackMargin: 4
|
|
||||||
useFileScale: 0
|
|
||||||
previousCalculatedGlobalScale: 1
|
|
||||||
hasPreviousCalculatedGlobalScale: 1
|
|
||||||
tangentSpace:
|
|
||||||
normalSmoothAngle: 60
|
|
||||||
normalImportMode: 0
|
|
||||||
tangentImportMode: 3
|
|
||||||
normalCalculationMode: 4
|
|
||||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
|
||||||
blendShapeNormalImportMode: 1
|
|
||||||
normalSmoothingSource: 0
|
|
||||||
importAnimation: 0
|
|
||||||
copyAvatar: 0
|
|
||||||
humanDescription:
|
|
||||||
serializedVersion: 2
|
|
||||||
human: []
|
|
||||||
skeleton: []
|
|
||||||
armTwist: 0.5
|
|
||||||
foreArmTwist: 0.5
|
|
||||||
upperLegTwist: 0.5
|
|
||||||
legTwist: 0.5
|
|
||||||
armStretch: 0.05
|
|
||||||
legStretch: 0.05
|
|
||||||
feetSpacing: 0
|
|
||||||
rootMotionBoneName:
|
|
||||||
hasTranslationDoF: 0
|
|
||||||
hasExtraRoot: 1
|
|
||||||
skeletonHasParents: 1
|
|
||||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
|
||||||
animationType: 0
|
|
||||||
humanoidOversampling: 1
|
|
||||||
additionalBone: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
|
Before Width: | Height: | Size: 1.1 MiB |
@ -1,147 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a6031cf05af9b4bea8d67125e8027bdf
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 12
|
|
||||||
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
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMasterTextureLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 0
|
|
||||||
wrapV: 0
|
|
||||||
wrapW: 0
|
|
||||||
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
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
cookieLightType: 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
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Server
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: iPhone
|
|
||||||
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: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
spritePackingTag:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
pSDShowRemoveMatteOption: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
|
Before Width: | Height: | Size: 1.9 MiB |
@ -1,147 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b294bf67965a84cc8b4efe16fa9aa316
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 12
|
|
||||||
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
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMasterTextureLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 0
|
|
||||||
wrapV: 0
|
|
||||||
wrapW: 0
|
|
||||||
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
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
cookieLightType: 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
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Server
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: iPhone
|
|
||||||
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: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
spritePackingTag:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
pSDShowRemoveMatteOption: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5b354bf83193b4a368b1277ed473048c
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
Thanks for the texture to João Paulo!
|
|
||||||
Texture link:
|
|
||||||
https://3dtextures.me/2020/06/25/stylized-sand-001/
|
|
||||||
|
|
||||||
If you like what João does, consider subscribing to his Patreon for more awesome textures:
|
|
||||||
https://www.patreon.com/gendo
|
|
||||||
|
|
||||||
Or buy him a coffee :)
|
|
||||||
https://ko-fi.com/katsukagi
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 888c010893c54ac1853f8034ca33eb3a
|
|
||||||
timeCreated: 1683535263
|
|
||||||
|
Before Width: | Height: | Size: 71 KiB |
@ -1,147 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: dbd48884ce5a84f42b722cf62cb95fc3
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 12
|
|
||||||
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
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMasterTextureLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 0
|
|
||||||
wrapV: 0
|
|
||||||
wrapW: 0
|
|
||||||
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
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
cookieLightType: 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
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Server
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: iPhone
|
|
||||||
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: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
spritePackingTag:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
pSDShowRemoveMatteOption: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
|
Before Width: | Height: | Size: 163 KiB |
@ -1,147 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4438c948bc895459fa8cb061c3a59f08
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 12
|
|
||||||
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
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMasterTextureLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 0
|
|
||||||
wrapV: 0
|
|
||||||
wrapW: 0
|
|
||||||
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
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
cookieLightType: 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
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Server
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: iPhone
|
|
||||||
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: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
spritePackingTag:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
pSDShowRemoveMatteOption: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,83 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!21 &2100000
|
|
||||||
Material:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Stylized_Sand_001_basecolor
|
|
||||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_ValidKeywords:
|
|
||||||
- _NORMALMAP
|
|
||||||
- _PARALLAXMAP
|
|
||||||
- _SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A
|
|
||||||
m_InvalidKeywords: []
|
|
||||||
m_LightmapFlags: 4
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap: {}
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 1a3bff52702914ae3852de7736bd754d, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 2800000, guid: bec405a93954d4bf78b26a45fa4d1278, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 4438c948bc895459fa8cb061c3a59f08, type: 3}
|
|
||||||
m_Scale: {x: 100, y: 100}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 2800000, guid: dbd48884ce5a84f42b722cf62cb95fc3, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 593e1963d5983481bb7a93634ccbdf4c, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _GlossMapScale: 0.356
|
|
||||||
- _Glossiness: 0.438
|
|
||||||
- _GlossyReflections: 1
|
|
||||||
- _Metallic: 0
|
|
||||||
- _Mode: 0
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.0369
|
|
||||||
- _SmoothnessTextureChannel: 1
|
|
||||||
- _SpecularHighlights: 1
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _UVSec: 0
|
|
||||||
- _ZWrite: 1
|
|
||||||
m_Colors:
|
|
||||||
- _Color: {r: 0.509434, g: 0.509434, b: 0.509434, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 26e88e1e3f85449949238833334c3914
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,139 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!21 &2100000
|
|
||||||
Material:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Stylized_Sand_001_basecolor_URP
|
|
||||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
|
||||||
m_Parent: {fileID: 0}
|
|
||||||
m_ModifiedSerializedProperties: 0
|
|
||||||
m_ValidKeywords:
|
|
||||||
- _NORMALMAP
|
|
||||||
- _OCCLUSIONMAP
|
|
||||||
- _PARALLAXMAP
|
|
||||||
- _SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A
|
|
||||||
m_InvalidKeywords: []
|
|
||||||
m_LightmapFlags: 4
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap:
|
|
||||||
RenderType: Opaque
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_LockedProperties:
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BaseMap:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 4438c948bc895459fa8cb061c3a59f08, type: 3}
|
|
||||||
m_Scale: {x: 100, y: 100}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 1a3bff52702914ae3852de7736bd754d, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 2800000, guid: bec405a93954d4bf78b26a45fa4d1278, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 4438c948bc895459fa8cb061c3a59f08, type: 3}
|
|
||||||
m_Scale: {x: 100, y: 100}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 2800000, guid: dbd48884ce5a84f42b722cf62cb95fc3, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 593e1963d5983481bb7a93634ccbdf4c, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _SpecGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_Lightmaps:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_LightmapsInd:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_ShadowMasks:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _AlphaClip: 0
|
|
||||||
- _AlphaToMask: 0
|
|
||||||
- _Blend: 0
|
|
||||||
- _BlendModePreserveSpecular: 1
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _ClearCoatMask: 0
|
|
||||||
- _ClearCoatSmoothness: 0
|
|
||||||
- _Cull: 2
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailAlbedoMapScale: 1
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _DstBlendAlpha: 0
|
|
||||||
- _EnvironmentReflections: 1
|
|
||||||
- _GlossMapScale: 0.356
|
|
||||||
- _Glossiness: 0.438
|
|
||||||
- _GlossyReflections: 1
|
|
||||||
- _Metallic: 0
|
|
||||||
- _Mode: 0
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.0369
|
|
||||||
- _QueueOffset: 0
|
|
||||||
- _ReceiveShadows: 1
|
|
||||||
- _Smoothness: 0.438
|
|
||||||
- _SmoothnessTextureChannel: 1
|
|
||||||
- _SpecularHighlights: 1
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _SrcBlendAlpha: 1
|
|
||||||
- _Surface: 0
|
|
||||||
- _UVSec: 0
|
|
||||||
- _WorkflowMode: 1
|
|
||||||
- _ZWrite: 1
|
|
||||||
m_Colors:
|
|
||||||
- _BaseColor: {r: 0.509434, g: 0.509434, b: 0.509434, a: 1}
|
|
||||||
- _Color: {r: 0.509434, g: 0.509434, b: 0.509434, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
--- !u!114 &8482762829682952528
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 11
|
|
||||||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
version: 7
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5b3bd009b3212427983eb7f4e416527a
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
|
Before Width: | Height: | Size: 387 KiB |
@ -1,147 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 593e1963d5983481bb7a93634ccbdf4c
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 12
|
|
||||||
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
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMasterTextureLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 0
|
|
||||||
wrapV: 0
|
|
||||||
wrapW: 0
|
|
||||||
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
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
cookieLightType: 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
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Server
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: iPhone
|
|
||||||
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: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
spritePackingTag:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
pSDShowRemoveMatteOption: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
|
Before Width: | Height: | Size: 90 KiB |
@ -1,147 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 1a3bff52702914ae3852de7736bd754d
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 12
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 1
|
|
||||||
sRGBTexture: 0
|
|
||||||
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
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMasterTextureLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 0
|
|
||||||
wrapV: 0
|
|
||||||
wrapW: 0
|
|
||||||
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: 1
|
|
||||||
textureShape: 1
|
|
||||||
singleChannelComponent: 0
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
cookieLightType: 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
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Server
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: iPhone
|
|
||||||
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: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
spritePackingTag:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
pSDShowRemoveMatteOption: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
|
Before Width: | Height: | Size: 371 KiB |
@ -1,147 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: bec405a93954d4bf78b26a45fa4d1278
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 12
|
|
||||||
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
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMasterTextureLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 0
|
|
||||||
wrapV: 0
|
|
||||||
wrapW: 0
|
|
||||||
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
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
cookieLightType: 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
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Server
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: iPhone
|
|
||||||
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: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
spritePackingTag:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
pSDShowRemoveMatteOption: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,5 +1,4 @@
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using JetBrains.Annotations;
|
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEditor.PackageManager;
|
using UnityEditor.PackageManager;
|
||||||
using UnityEditor.SceneManagement;
|
using UnityEditor.SceneManagement;
|
||||||
@ -110,28 +109,35 @@ namespace PrimeTween {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !PRIME_TWEEN_INSTALLED && UNITY_2019_1_OR_NEWER
|
[InitializeOnLoadMethod]
|
||||||
internal class AssetPostprocessor : UnityEditor.AssetPostprocessor {
|
static void InitOnLoad() {
|
||||||
static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths) {
|
AssetDatabase.importPackageCompleted += name => {
|
||||||
foreach (var path in importedAssets) {
|
if (name.Contains(pluginName)) {
|
||||||
if (path == tgzPath) {
|
if (ReviewRequest.PRIME_TWEEN_INSTALLED) {
|
||||||
Selection.activeObject = AssetDatabase.LoadAssetAtPath<PrimeTweenInstaller>("Assets/Plugins/PrimeTween/PrimeTweenInstaller.asset");
|
ReviewRequest.TryAskForReview();
|
||||||
|
} else {
|
||||||
|
var installer = AssetDatabase.LoadAssetAtPath<PrimeTweenInstaller>("Assets/Plugins/PrimeTween/PrimeTweenInstaller.asset");
|
||||||
|
EditorUtility.FocusProjectWindow(); // this is important to show the installer object in the Project window
|
||||||
|
Selection.activeObject = installer;
|
||||||
|
EditorGUIUtility.PingObject(installer);
|
||||||
|
EditorApplication.update += InstallAndUnsubscribeFromUpdate;
|
||||||
|
void InstallAndUnsubscribeFromUpdate() {
|
||||||
|
EditorApplication.update -= InstallAndUnsubscribeFromUpdate;
|
||||||
installPlugin();
|
installPlugin();
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
};
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static class ReviewRequest {
|
internal static class ReviewRequest {
|
||||||
const string version = "1.1.13";
|
const string version = "1.1.15";
|
||||||
const string canAskKey = "PrimeTween.canAskForReview";
|
const string canAskKey = "PrimeTween.canAskForReview";
|
||||||
const string versionKey = "PrimeTween.version";
|
const string versionKey = "PrimeTween.version";
|
||||||
|
|
||||||
[InitializeOnLoadMethod]
|
internal static void TryAskForReview() {
|
||||||
static void TryAskForReview() {
|
log("TryAskForReview");
|
||||||
if (!PRIME_TWEEN_INSTALLED) {
|
if (!PRIME_TWEEN_INSTALLED) {
|
||||||
log("not installed");
|
log("not installed");
|
||||||
return;
|
return;
|
||||||
@ -157,7 +163,7 @@ namespace PrimeTween {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool PRIME_TWEEN_INSTALLED {
|
internal static bool PRIME_TWEEN_INSTALLED {
|
||||||
get {
|
get {
|
||||||
#if PRIME_TWEEN_INSTALLED
|
#if PRIME_TWEEN_INSTALLED
|
||||||
return true;
|
return true;
|
||||||
@ -202,9 +208,9 @@ namespace PrimeTween {
|
|||||||
EditorPrefs.DeleteKey(canAskKey);
|
EditorPrefs.DeleteKey(canAskKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
[PublicAPI]
|
[System.Diagnostics.Conditional("_")]
|
||||||
static void log(string msg) {
|
static void log(string msg) {
|
||||||
// Debug.Log($"ReviewRequest: {msg}");
|
Debug.Log($"ReviewRequest: {msg}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||