Compare commits
3 Commits
MainMenuUi
...
e0a4cf31b2
| Author | SHA1 | Date | |
|---|---|---|---|
| e0a4cf31b2 | |||
| 023bddc91b | |||
| ab6263cb10 |
8
Assets/Adaptive Performance.meta
Normal file
8
Assets/Adaptive Performance.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7eaf47040f6a6ba4bb9df4eab675de30
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/Adaptive Performance/Settings.meta
Normal file
8
Assets/Adaptive Performance/Settings.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a369fde97a303eb4ebfe7de3af10fac4
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/Editor.meta
Normal file
8
Assets/Editor.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8fa0d9c695119af49bd1693054cf3174
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/Editor/com.unity.mobile.notifications.meta
Normal file
8
Assets/Editor/com.unity.mobile.notifications.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 70729d202603eef42955f52bd64f7c69
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using GeoSus.Client;
|
using GeoSus.Client;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
@@ -16,6 +16,292 @@ namespace Subsystems
|
|||||||
Running,
|
Running,
|
||||||
Failed
|
Failed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Position source backend. Selectable at runtime via the GPS overlay
|
||||||
|
/// "Source" button so the user can recover when one path misbehaves on
|
||||||
|
/// their phone:
|
||||||
|
/// Auto - JNI: subscribe to gps + network, pick most recent fix.
|
||||||
|
/// GpsOnly - JNI: subscribe to gps only (network's frequent indoor
|
||||||
|
/// fixes don't drown out the slower-but-precise gps fix).
|
||||||
|
/// NetworkOnly - JNI: subscribe to network only (cell tower / WiFi).
|
||||||
|
/// Useful indoors when no satellite lock is possible.
|
||||||
|
/// UnityInput - Unity's Input.location wrapper. Verified to hang on
|
||||||
|
/// Mi 9T / A20e (which is why JNI exists), but works on
|
||||||
|
/// newer Android where the JNI streaming-callbacks path
|
||||||
|
/// silently doesn't fire (MIUI/HyperOS battery saver,
|
||||||
|
/// approximate-vs-precise permission split, minDistance
|
||||||
|
/// gating on stationary phones).
|
||||||
|
/// EditorWasd - WASD-driven simulated position. Available regardless
|
||||||
|
/// of testMode flag so desktop builds and editor sessions
|
||||||
|
/// can navigate the map without real GPS.
|
||||||
|
/// </summary>
|
||||||
|
public enum PositionSource
|
||||||
|
{
|
||||||
|
Auto,
|
||||||
|
GpsOnly,
|
||||||
|
NetworkOnly,
|
||||||
|
UnityInput,
|
||||||
|
EditorWasd,
|
||||||
|
}
|
||||||
|
|
||||||
|
#if UNITY_ANDROID && !UNITY_EDITOR
|
||||||
|
/// <summary>
|
||||||
|
/// Bridges android.location.LocationListener to managed code. The method
|
||||||
|
/// names here must match Java's LocationListener interface exactly so
|
||||||
|
/// AndroidJavaProxy's reflection dispatcher can find them.
|
||||||
|
/// </summary>
|
||||||
|
internal class AndroidLocationProxy : AndroidJavaProxy
|
||||||
|
{
|
||||||
|
public AndroidLocationProvider Owner { get; set; }
|
||||||
|
public AndroidLocationProxy() : base("android.location.LocationListener") { }
|
||||||
|
|
||||||
|
// Called by Android each time a new fix arrives from the registered provider.
|
||||||
|
public void onLocationChanged(AndroidJavaObject location)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (location == null) return;
|
||||||
|
double lat = location.Call<double>("getLatitude");
|
||||||
|
double lon = location.Call<double>("getLongitude");
|
||||||
|
long t = location.Call<long>("getTime");
|
||||||
|
string provider = "";
|
||||||
|
try { provider = location.Call<string>("getProvider"); } catch { }
|
||||||
|
// Streaming callbacks are LIVE (never cached). The cached path
|
||||||
|
// calls UpdateLocation directly with isCached=true.
|
||||||
|
Owner?.UpdateLocation(lat, lon, t, provider, isCached: false);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Debug.LogWarning("[GPS-JNI] onLocationChanged failed: " + ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Required by the LocationListener interface even if we don't use them.
|
||||||
|
// Missing methods cause java.lang.AbstractMethodError at runtime.
|
||||||
|
public void onStatusChanged(string provider, int status, AndroidJavaObject extras) { }
|
||||||
|
public void onProviderEnabled(string provider) { }
|
||||||
|
public void onProviderDisabled(string provider) { }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Direct wrapper around android.location.LocationManager via JNI, used as
|
||||||
|
/// a replacement for Unity's Input.location on Android when the user picks
|
||||||
|
/// Auto/GpsOnly/NetworkOnly. Subscribed providers are configurable so the
|
||||||
|
/// position-source picker can rewire live without restart.
|
||||||
|
/// </summary>
|
||||||
|
internal class AndroidLocationProvider
|
||||||
|
{
|
||||||
|
private AndroidJavaObject _activity;
|
||||||
|
private AndroidJavaObject _locationManager;
|
||||||
|
private AndroidLocationProxy _gpsListener;
|
||||||
|
private AndroidLocationProxy _networkListener;
|
||||||
|
private double _lat, _lon;
|
||||||
|
private long _lastTimeMillis;
|
||||||
|
private long _lastLiveTimeMillis; // Time of most recent NON-cached fix.
|
||||||
|
private bool _hasFix;
|
||||||
|
private bool _hasLiveFix; // True once any streaming callback fired.
|
||||||
|
private string _activeProvider = "";
|
||||||
|
|
||||||
|
// Captured at Initialize() so the diagnostic can report
|
||||||
|
// "GPS provider DISABLED, only network enabled" etc.
|
||||||
|
private bool _gpsProviderEnabled;
|
||||||
|
private bool _networkProviderEnabled;
|
||||||
|
private bool _gpsLastKnownExists;
|
||||||
|
private bool _networkLastKnownExists;
|
||||||
|
private string _enabledProvidersList = "";
|
||||||
|
|
||||||
|
// Subscription scope - set in Initialize, used in Shutdown to know
|
||||||
|
// which listeners we registered.
|
||||||
|
private bool _subscribedGps;
|
||||||
|
private bool _subscribedNetwork;
|
||||||
|
|
||||||
|
public bool HasFix => _hasFix;
|
||||||
|
public bool HasLiveFix => _hasLiveFix;
|
||||||
|
public long LastLiveTimeMillis => _lastLiveTimeMillis;
|
||||||
|
public long LastTimeMillis => _lastTimeMillis;
|
||||||
|
public double Lat => _lat;
|
||||||
|
public double Lon => _lon;
|
||||||
|
public string ActiveProvider => _activeProvider;
|
||||||
|
public bool GpsProviderEnabled => _gpsProviderEnabled;
|
||||||
|
public bool NetworkProviderEnabled => _networkProviderEnabled;
|
||||||
|
public bool GpsLastKnownExists => _gpsLastKnownExists;
|
||||||
|
public bool NetworkLastKnownExists => _networkLastKnownExists;
|
||||||
|
public string EnabledProvidersList => _enabledProvidersList;
|
||||||
|
public bool SubscribedGps => _subscribedGps;
|
||||||
|
public bool SubscribedNetwork => _subscribedNetwork;
|
||||||
|
|
||||||
|
public bool Initialize(out string error, bool useGps, bool useNetwork)
|
||||||
|
{
|
||||||
|
error = "";
|
||||||
|
try
|
||||||
|
{
|
||||||
|
using (var unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"))
|
||||||
|
{
|
||||||
|
_activity = unityPlayer.GetStatic<AndroidJavaObject>("currentActivity");
|
||||||
|
}
|
||||||
|
if (_activity == null) { error = "no current activity"; return false; }
|
||||||
|
|
||||||
|
_locationManager = _activity.Call<AndroidJavaObject>("getSystemService", "location");
|
||||||
|
if (_locationManager == null) { error = "getSystemService(\"location\") returned null"; return false; }
|
||||||
|
|
||||||
|
// Capture provider enable state up front so the diagnostic
|
||||||
|
// can distinguish "provider disabled at OS level" from
|
||||||
|
// "provider enabled but produced no fix yet".
|
||||||
|
_gpsProviderEnabled = SafeIsProviderEnabled("gps");
|
||||||
|
_networkProviderEnabled = SafeIsProviderEnabled("network");
|
||||||
|
_enabledProvidersList = SafeGetEnabledProviders();
|
||||||
|
|
||||||
|
Debug.Log($"[GPS-JNI] init useGps={useGps} useNetwork={useNetwork} gps enabled={_gpsProviderEnabled} network enabled={_networkProviderEnabled} all enabled=[{_enabledProvidersList}]");
|
||||||
|
|
||||||
|
// Try cached last-known fixes from the providers we're about
|
||||||
|
// to subscribe to. If the OS already knows where we are
|
||||||
|
// (e.g. from another app that recently used GPS), we get a
|
||||||
|
// fix at zero cost and zero wait time. Tagged isCached so
|
||||||
|
// the diagnostic can mark them and we know we still need
|
||||||
|
// to wait for a streaming callback.
|
||||||
|
if (useNetwork) TryLastKnown("network", out _networkLastKnownExists);
|
||||||
|
if (useGps) TryLastKnown("gps", out _gpsLastKnownExists);
|
||||||
|
|
||||||
|
_subscribedGps = useGps;
|
||||||
|
_subscribedNetwork = useNetwork;
|
||||||
|
|
||||||
|
if (useGps) _gpsListener = new AndroidLocationProxy { Owner = this };
|
||||||
|
if (useNetwork) _networkListener = new AndroidLocationProxy { Owner = this };
|
||||||
|
|
||||||
|
// requestLocationUpdates must be called on a thread with a
|
||||||
|
// Looper. Use the Activity's UI thread, which always has one.
|
||||||
|
// minTime=1000ms, minDistance=0f - we want updates on every
|
||||||
|
// fix the OS produces. Previously this was 1f which gated
|
||||||
|
// out updates from a stationary phone (MIUI/newer Android
|
||||||
|
// are stricter about this and that's the suspected cause of
|
||||||
|
// "via gps (cached)" sticking forever).
|
||||||
|
_activity.Call("runOnUiThread", new AndroidJavaRunnable(() =>
|
||||||
|
{
|
||||||
|
if (useGps)
|
||||||
|
{
|
||||||
|
try { _locationManager.Call("requestLocationUpdates", "gps", 1000L, 0f, _gpsListener); }
|
||||||
|
catch (Exception ex) { Debug.LogWarning("[GPS-JNI] gps subscribe failed: " + ex.Message); }
|
||||||
|
}
|
||||||
|
if (useNetwork)
|
||||||
|
{
|
||||||
|
try { _locationManager.Call("requestLocationUpdates", "network", 1000L, 0f, _networkListener); }
|
||||||
|
catch (Exception ex) { Debug.LogWarning("[GPS-JNI] network subscribe failed: " + ex.Message); }
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
error = "JNI init exception: " + ex.Message;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void TryLastKnown(string provider, out bool nonNullReturned)
|
||||||
|
{
|
||||||
|
nonNullReturned = false;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var loc = _locationManager.Call<AndroidJavaObject>("getLastKnownLocation", provider);
|
||||||
|
if (loc != null)
|
||||||
|
{
|
||||||
|
nonNullReturned = true;
|
||||||
|
double lat = loc.Call<double>("getLatitude");
|
||||||
|
double lon = loc.Call<double>("getLongitude");
|
||||||
|
long t = loc.Call<long>("getTime");
|
||||||
|
UpdateLocation(lat, lon, t, provider, isCached: true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Debug.LogWarning($"[GPS-JNI] getLastKnownLocation({provider}) failed: " + ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SafeIsProviderEnabled(string provider)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
return _locationManager.Call<bool>("isProviderEnabled", provider);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Debug.LogWarning($"[GPS-JNI] isProviderEnabled({provider}) failed: " + ex.Message);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Build a comma-separated list of currently-enabled providers via
|
||||||
|
// LocationManager.getProviders(true). We iterate the returned
|
||||||
|
// java.util.List by index because AndroidJavaObject does not
|
||||||
|
// implement IEnumerable.
|
||||||
|
string SafeGetEnabledProviders()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var list = _locationManager.Call<AndroidJavaObject>("getProviders", true);
|
||||||
|
if (list == null) return "";
|
||||||
|
int size = list.Call<int>("size");
|
||||||
|
var parts = new System.Text.StringBuilder();
|
||||||
|
for (int i = 0; i < size; i++)
|
||||||
|
{
|
||||||
|
var name = list.Call<string>("get", i);
|
||||||
|
if (i > 0) parts.Append(",");
|
||||||
|
parts.Append(name);
|
||||||
|
}
|
||||||
|
return parts.ToString();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Debug.LogWarning("[GPS-JNI] getProviders failed: " + ex.Message);
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void UpdateLocation(double lat, double lon, long timeMillis, string provider, bool isCached)
|
||||||
|
{
|
||||||
|
// Ignore older fixes if a newer one is already in hand. This lets
|
||||||
|
// both gps + network listeners feed us without ping-ponging
|
||||||
|
// between stale and fresh data.
|
||||||
|
if (timeMillis < _lastTimeMillis) return;
|
||||||
|
_lat = lat;
|
||||||
|
_lon = lon;
|
||||||
|
_lastTimeMillis = timeMillis;
|
||||||
|
// Active-provider name carries cached/live state in the diagnostic
|
||||||
|
// banner so the user can see at a glance whether streaming has
|
||||||
|
// kicked in or we're still on the initial cached snapshot.
|
||||||
|
_activeProvider = (provider ?? "") + (isCached ? " (cached)" : "");
|
||||||
|
_hasFix = true;
|
||||||
|
if (!isCached)
|
||||||
|
{
|
||||||
|
_hasLiveFix = true;
|
||||||
|
_lastLiveTimeMillis = timeMillis;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Shutdown()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (_locationManager != null)
|
||||||
|
{
|
||||||
|
if (_gpsListener != null) _locationManager.Call("removeUpdates", _gpsListener);
|
||||||
|
if (_networkListener != null) _locationManager.Call("removeUpdates", _networkListener);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Debug.LogWarning("[GPS-JNI] Shutdown failed: " + ex.Message);
|
||||||
|
}
|
||||||
|
_gpsListener = null;
|
||||||
|
_networkListener = null;
|
||||||
|
_locationManager = null;
|
||||||
|
_activity = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
public static class PositonExtensions
|
public static class PositonExtensions
|
||||||
{
|
{
|
||||||
public static Position ToLocal(this Position position, Position center)
|
public static Position ToLocal(this Position position, Position center)
|
||||||
@@ -51,34 +337,283 @@ namespace Subsystems
|
|||||||
private GameObject _player;
|
private GameObject _player;
|
||||||
private bool _testMode;
|
private bool _testMode;
|
||||||
|
|
||||||
|
// PlayerPrefs key for the user's chosen position source. Persists
|
||||||
|
// across app restarts so a user who flipped to UnityInput because
|
||||||
|
// their phone hated the JNI path doesn't have to flip again every
|
||||||
|
// launch.
|
||||||
|
private const string PrefsSourceKey = "PositionSource_v1";
|
||||||
|
private PositionSource _currentSource = PositionSource.Auto;
|
||||||
|
|
||||||
|
// When the multi-client editor test mode picks a non-host bot as
|
||||||
|
// active, we need the host's WASD path to NOT also move. Set true
|
||||||
|
// by GameManager when active slot != 0.
|
||||||
|
public bool SuppressWasd = false;
|
||||||
|
|
||||||
private GPSState _GPSState = GPSState.Uninitialized;
|
private GPSState _GPSState = GPSState.Uninitialized;
|
||||||
private float _speed = 0.00001f;
|
private float _speed = 0.00001f;
|
||||||
private Position _mapCenter;
|
private Position _mapCenter;
|
||||||
private CoroutineHost _coroutineHost = new CoroutineHost();
|
private CoroutineHost _coroutineHost;
|
||||||
|
|
||||||
|
private int _gpsRetryCount = 0;
|
||||||
|
private const int _maxGpsRetries = 5;
|
||||||
|
private float _lastPositionSendTime;
|
||||||
|
private const float _positionKeepAliveSeconds = 1.0f;
|
||||||
|
|
||||||
|
// Diagnostic state. We capture *why* GPS init failed so the UI can
|
||||||
|
// surface it to the user without requiring logcat. Older Android
|
||||||
|
// phones (Mi 9T, A20e) hit silent failure modes that are impossible
|
||||||
|
// to distinguish from "still warming up" without this.
|
||||||
|
private string _lastGpsError = "";
|
||||||
|
private float _gpsInitStartTime = -1f;
|
||||||
|
// Bump from the original 20s. Cold-start GPS on older Android can
|
||||||
|
// easily exceed 20s indoors or under cloud cover - by the time the
|
||||||
|
// user notices nothing is happening, we've already given up.
|
||||||
|
private const int _gpsInitTimeoutSeconds = 60;
|
||||||
|
|
||||||
|
#if UNITY_ANDROID && !UNITY_EDITOR
|
||||||
|
// JNI-backed location provider, used for Auto/GpsOnly/NetworkOnly.
|
||||||
|
// UnityInput uses Input.location instead and leaves this null.
|
||||||
|
private AndroidLocationProvider _androidProvider;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/// <summary>Last known GPS position (for CreateLobby centre point)</summary>
|
||||||
|
public Position? LastKnownPosition => _currentPosition.Lat != 0 || _currentPosition.Lon != 0 ? _currentPosition : (Position?)null;
|
||||||
|
|
||||||
|
/// <summary>Current GPS state machine value (debug/diagnostic).</summary>
|
||||||
|
public string GpsStateName => _GPSState.ToString();
|
||||||
|
|
||||||
|
/// <summary>Last GPS error reason captured during init (empty if none).</summary>
|
||||||
|
public string LastGpsError => _lastGpsError ?? "";
|
||||||
|
|
||||||
|
/// <summary>Retry count out of max (debug/diagnostic).</summary>
|
||||||
|
public string GpsRetryProgress => $"{_gpsRetryCount}/{_maxGpsRetries}";
|
||||||
|
|
||||||
|
/// <summary>Currently selected position source (for UI cycle button).</summary>
|
||||||
|
public PositionSource CurrentSource => _currentSource;
|
||||||
|
|
||||||
|
/// <summary>Display name for the current source (for UI label).</summary>
|
||||||
|
public string CurrentSourceName
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
switch (_currentSource)
|
||||||
|
{
|
||||||
|
case PositionSource.Auto: return "Auto (GPS+Net)";
|
||||||
|
case PositionSource.GpsOnly: return "GPS only";
|
||||||
|
case PositionSource.NetworkOnly: return "Network only";
|
||||||
|
case PositionSource.UnityInput: return "Unity Input";
|
||||||
|
case PositionSource.EditorWasd: return "WASD";
|
||||||
|
default: return _currentSource.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Human-readable one-line GPS status for on-screen overlay. Designed
|
||||||
|
/// to be visible without ADB so users can self-diagnose permission
|
||||||
|
/// vs. timeout vs. device-disabled vs. running-but-no-fix-yet.
|
||||||
|
/// </summary>
|
||||||
|
public string GpsDiagnostic
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_currentSource == PositionSource.EditorWasd)
|
||||||
|
{
|
||||||
|
if (_currentPosition.Lat == 0 && _currentPosition.Lon == 0)
|
||||||
|
return "WASD: waiting for map center";
|
||||||
|
return $"WASD lat={_currentPosition.Lat:F5} lon={_currentPosition.Lon:F5}";
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (_GPSState)
|
||||||
|
{
|
||||||
|
case GPSState.Uninitialized:
|
||||||
|
return "Uninitialized (will start on first lobby action)";
|
||||||
|
case GPSState.Initializing:
|
||||||
|
{
|
||||||
|
float elapsed = _gpsInitStartTime >= 0 ? Time.time - _gpsInitStartTime : 0;
|
||||||
|
string providers = "";
|
||||||
|
#if UNITY_ANDROID && !UNITY_EDITOR
|
||||||
|
if (_androidProvider != null && !string.IsNullOrEmpty(_androidProvider.EnabledProvidersList))
|
||||||
|
providers = $" providers=[{_androidProvider.EnabledProvidersList}]";
|
||||||
|
#endif
|
||||||
|
return $"Initializing ({elapsed:F1}s / max {_gpsInitTimeoutSeconds}s){providers}";
|
||||||
|
}
|
||||||
|
case GPSState.Running:
|
||||||
|
{
|
||||||
|
string suffix = "";
|
||||||
|
#if UNITY_ANDROID && !UNITY_EDITOR
|
||||||
|
if (_androidProvider != null)
|
||||||
|
{
|
||||||
|
string p = _androidProvider.ActiveProvider;
|
||||||
|
if (!string.IsNullOrEmpty(p)) suffix = " via " + p;
|
||||||
|
// Show how stale the most recent fix is (ms-level
|
||||||
|
// resolution) so "stuck on cached" is obvious at
|
||||||
|
// a glance: "via gps (cached) [no live, 47s old]".
|
||||||
|
if (!_androidProvider.HasLiveFix)
|
||||||
|
{
|
||||||
|
long now = (long)(DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalMilliseconds;
|
||||||
|
long ageMs = now - _androidProvider.LastTimeMillis;
|
||||||
|
if (_androidProvider.LastTimeMillis > 0 && ageMs > 0)
|
||||||
|
suffix += $" [no live, {ageMs / 1000}s old]";
|
||||||
|
else
|
||||||
|
suffix += " [no live]";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
long now = (long)(DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalMilliseconds;
|
||||||
|
long ageMs = now - _androidProvider.LastLiveTimeMillis;
|
||||||
|
if (ageMs > 5000) suffix += $" [live {ageMs / 1000}s old]";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
if (_currentPosition.Lat == 0 && _currentPosition.Lon == 0)
|
||||||
|
return "Running but no fix yet (waiting for satellites)" + suffix;
|
||||||
|
return $"Running lat={_currentPosition.Lat:F5} lon={_currentPosition.Lon:F5}" + suffix;
|
||||||
|
}
|
||||||
|
case GPSState.Failed:
|
||||||
|
return $"Failed: {(_lastGpsError ?? "unknown")} (retries {GpsRetryProgress})";
|
||||||
|
default:
|
||||||
|
return "?";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public GameManager_Input(GameClient gameClient, GameObject player, bool testMode)
|
public GameManager_Input(GameClient gameClient, GameObject player, bool testMode)
|
||||||
{
|
{
|
||||||
_gameClient = gameClient;
|
_gameClient = gameClient;
|
||||||
_player = player;
|
_player = player;
|
||||||
_testMode = testMode;
|
_testMode = testMode;
|
||||||
|
// CoroutineHost needs a MonoBehaviour on a real GameObject
|
||||||
|
var hostGO = new UnityEngine.GameObject("_CoroutineHost");
|
||||||
|
UnityEngine.Object.DontDestroyOnLoad(hostGO);
|
||||||
|
_coroutineHost = hostGO.AddComponent<CoroutineHost>();
|
||||||
|
|
||||||
|
// Restore the user's last picked source. Default depends on
|
||||||
|
// platform: editor defaults to EditorWasd (no GPS hardware in
|
||||||
|
// editor anyway); device defaults to Auto.
|
||||||
|
string saved = PlayerPrefs.GetString(PrefsSourceKey, "");
|
||||||
|
if (!string.IsNullOrEmpty(saved) && Enum.TryParse(saved, out PositionSource parsed))
|
||||||
|
{
|
||||||
|
_currentSource = parsed;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
_currentSource = PositionSource.EditorWasd;
|
||||||
|
#else
|
||||||
|
_currentSource = PositionSource.Auto;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
// Legacy testMode flag forces EditorWasd. New code paths should
|
||||||
|
// use SwitchPositionSource(EditorWasd) instead, but we keep the
|
||||||
|
// old behavior for backward compatibility with the inspector flag.
|
||||||
|
if (_testMode) _currentSource = PositionSource.EditorWasd;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Called from OnSceneLoaded when Client.unity loads so the
|
||||||
|
/// Player capsule (which lives in Client.unity) can be wired at runtime.</summary>
|
||||||
|
public void SetPlayerObject(GameObject player) { _player = player; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Switch the active position source backend live. Tears down the
|
||||||
|
/// current backend's listeners (JNI proxies, Input.location), resets
|
||||||
|
/// the state machine, and kicks off init for the new source. Persists
|
||||||
|
/// the choice to PlayerPrefs.
|
||||||
|
/// </summary>
|
||||||
|
public void SwitchPositionSource(PositionSource newSource)
|
||||||
|
{
|
||||||
|
if (_currentSource == newSource) return;
|
||||||
|
Debug.Log($"[GPS] SwitchPositionSource {_currentSource} -> {newSource}");
|
||||||
|
|
||||||
|
// Tear down whatever's running.
|
||||||
|
ShutdownCurrentBackend();
|
||||||
|
|
||||||
|
_currentSource = newSource;
|
||||||
|
PlayerPrefs.SetString(PrefsSourceKey, newSource.ToString());
|
||||||
|
PlayerPrefs.Save();
|
||||||
|
|
||||||
|
_GPSState = GPSState.Uninitialized;
|
||||||
|
_gpsRetryCount = 0;
|
||||||
|
_lastGpsError = "";
|
||||||
|
_gpsInitStartTime = -1f;
|
||||||
|
// Don't clear _currentPosition - the user has presumably been
|
||||||
|
// playing somewhere. Map markers/avatar position can stay until
|
||||||
|
// the next fix arrives from the new source.
|
||||||
|
|
||||||
|
EnsureGPSStarted();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Cycle through the available sources for tap-to-cycle UI.</summary>
|
||||||
|
public void CycleNextPositionSource()
|
||||||
|
{
|
||||||
|
var values = (PositionSource[])Enum.GetValues(typeof(PositionSource));
|
||||||
|
int idx = Array.IndexOf(values, _currentSource);
|
||||||
|
var next = values[(idx + 1) % values.Length];
|
||||||
|
SwitchPositionSource(next);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ShutdownCurrentBackend()
|
||||||
|
{
|
||||||
|
#if UNITY_ANDROID && !UNITY_EDITOR
|
||||||
|
if (_androidProvider != null)
|
||||||
|
{
|
||||||
|
_androidProvider.Shutdown();
|
||||||
|
_androidProvider = null;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
// Stop Unity Input.location too, in case it was running.
|
||||||
|
try { Input.location.Stop(); } catch { }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Kick off GPS initialization if it hasn't started yet. Safe to call
|
||||||
|
/// repeatedly. Hosts must call this from the lobby setup screen so
|
||||||
|
/// that by the time they click "Create Lobby" we have a real GPS
|
||||||
|
/// fix to use as the play-area center, instead of falling back to
|
||||||
|
/// the hardcoded coordinates.
|
||||||
|
/// </summary>
|
||||||
|
public void EnsureGPSStarted()
|
||||||
|
{
|
||||||
|
if (_currentSource == PositionSource.EditorWasd) return;
|
||||||
|
if (_coroutineHost == null) return;
|
||||||
|
// Allow tapping "Create Lobby" again (or any caller of this
|
||||||
|
// method) to retry from Failed up to _maxGpsRetries times.
|
||||||
|
if (_GPSState == GPSState.Uninitialized)
|
||||||
|
{
|
||||||
|
_coroutineHost.StartCoroutine(InitiallizeGPS());
|
||||||
|
}
|
||||||
|
else if (_GPSState == GPSState.Failed && _gpsRetryCount < _maxGpsRetries)
|
||||||
|
{
|
||||||
|
_gpsRetryCount++;
|
||||||
|
_coroutineHost.StartCoroutine(InitiallizeGPS());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
public void positionCheck()
|
public void positionCheck()
|
||||||
{
|
{
|
||||||
|
var state = _gameClient?.CurrentLobbyState;
|
||||||
|
if (state == null || state.Phase != GamePhase.Playing)
|
||||||
|
return;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (_gameClient.CurrentLobbyState.Phase == GamePhase.Playing)
|
if (_currentSource == PositionSource.EditorWasd)
|
||||||
{
|
{
|
||||||
if (_testMode)
|
if (_currentPosition == new Position(0, 0))
|
||||||
{
|
{
|
||||||
|
if (state.MapData == null)
|
||||||
|
return;
|
||||||
|
|
||||||
if (_currentPosition == null || _currentPosition == new Position(0, 0))
|
|
||||||
{
|
|
||||||
//Init blok
|
//Init blok
|
||||||
_currentPosition = _gameClient.CurrentLobbyState.MapData.Center;
|
_currentPosition = state.MapData.Center;
|
||||||
_mapCenter = _gameClient.CurrentLobbyState.MapData.Center;
|
_mapCenter = state.MapData.Center;
|
||||||
_lastSentPosition = _currentPosition;
|
_lastSentPosition = _currentPosition;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!SuppressWasd)
|
||||||
TestPlayerPosition();
|
TestPlayerPosition();
|
||||||
|
else
|
||||||
|
TrySendCurrentPosition(); // keep-alive only
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -93,54 +628,84 @@ namespace Subsystems
|
|||||||
}
|
}
|
||||||
else if (_GPSState == GPSState.Running)
|
else if (_GPSState == GPSState.Running)
|
||||||
{
|
{
|
||||||
try
|
EnsureMapCenter();
|
||||||
|
TrySendCurrentPosition();
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
if (_currentPosition != _lastSentPosition)
|
Debug.Log("GPS failed, trying again...");
|
||||||
|
if (_gpsRetryCount < _maxGpsRetries)
|
||||||
{
|
{
|
||||||
_gameClient.UpdatePosition(_currentPosition);
|
_gpsRetryCount++;
|
||||||
_lastSentPosition = _currentPosition;
|
_GPSState = GPSState.Uninitialized;
|
||||||
_player.transform.position = _currentPosition.ToLocalVector3(_mapCenter);
|
}
|
||||||
_player.transform.rotation = Quaternion.Euler(0, (float)CalculateHeading(_lastSentPosition.ToLocalVector3(_mapCenter), _currentPosition.ToLocalVector3(_mapCenter)), 0);
|
else
|
||||||
|
{
|
||||||
|
Debug.LogWarning("GPS unavailable after max retries. Using last known position.");
|
||||||
|
// Keep _GPSState = Failed so we stop retrying
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Debug.Log(ex);
|
Debug.LogWarning($"[Input] positionCheck failed: {ex.Message}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
private void EnsureMapCenter()
|
||||||
{
|
{
|
||||||
Debug.Log("GPS failed, trying again...");)
|
if (_mapCenter.Lat != 0 || _mapCenter.Lon != 0)
|
||||||
_GPSState = GPSState.Uninitialized;
|
return;
|
||||||
|
|
||||||
|
var md = _gameClient?.CurrentLobbyState?.MapData;
|
||||||
|
if (md != null)
|
||||||
|
_mapCenter = md.Center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void TrySendCurrentPosition()
|
||||||
|
{
|
||||||
|
bool moved = _currentPosition != _lastSentPosition;
|
||||||
|
bool keepAliveDue = (Time.time - _lastPositionSendTime) >= _positionKeepAliveSeconds;
|
||||||
|
if (!moved && !keepAliveDue)
|
||||||
|
return;
|
||||||
|
|
||||||
|
var previous = _lastSentPosition;
|
||||||
|
_gameClient.UpdatePosition(_currentPosition);
|
||||||
|
_lastSentPosition = _currentPosition;
|
||||||
|
_lastPositionSendTime = Time.time;
|
||||||
|
|
||||||
|
if (_player == null || (_mapCenter.Lat == 0 && _mapCenter.Lon == 0))
|
||||||
|
return;
|
||||||
|
|
||||||
|
var localCurrent = _currentPosition.ToLocalVector3(_mapCenter);
|
||||||
|
_player.transform.position = localCurrent;
|
||||||
|
|
||||||
|
if (previous.Lat == 0 && previous.Lon == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
|
var heading = CalculateHeading(previous.ToLocalVector3(_mapCenter), localCurrent);
|
||||||
|
if (heading.HasValue)
|
||||||
|
_player.transform.rotation = Quaternion.Euler(0, (float)heading.Value, 0);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
catch (NullReferenceException ex) { Debug.Log(ex); }
|
|
||||||
}
|
|
||||||
private void TestPlayerPosition()
|
private void TestPlayerPosition()
|
||||||
{
|
{
|
||||||
double x = Input.GetAxis("Horizontal");
|
double x = Input.GetAxis("Horizontal");
|
||||||
double y = Input.GetAxis("Vertical");
|
double y = Input.GetAxis("Vertical");
|
||||||
Debug.Log($"Input: {x}, {y}");
|
|
||||||
_currentPosition = new Position( _lastSentPosition.Lat + y * _speed, _lastSentPosition.Lon + x * _speed);
|
_currentPosition = new Position( _lastSentPosition.Lat + y * _speed, _lastSentPosition.Lon + x * _speed);
|
||||||
Debug.Log($"Current Position: {_currentPosition.Lat}, {_currentPosition.Lon}");
|
|
||||||
var localCurrent = _currentPosition.ToLocalVector3(_mapCenter);
|
var localCurrent = _currentPosition.ToLocalVector3(_mapCenter);
|
||||||
Debug.Log($"Local Current Position: {localCurrent}");
|
|
||||||
var heading = CalculateHeading(_lastSentPosition.ToLocalVector3(_mapCenter), localCurrent);
|
var heading = CalculateHeading(_lastSentPosition.ToLocalVector3(_mapCenter), localCurrent);
|
||||||
if (heading != null)
|
if (heading != null)
|
||||||
{
|
{
|
||||||
Debug.Log($"Heading: {heading}");
|
if (_player != null)
|
||||||
_player.transform.rotation = Quaternion.Euler(0, (float)heading, 0);
|
_player.transform.rotation = Quaternion.Euler(0, (float)heading, 0);
|
||||||
}
|
}
|
||||||
|
if (_player != null)
|
||||||
_player.transform.position = localCurrent;
|
_player.transform.position = localCurrent;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (_currentPosition != _lastSentPosition)
|
TrySendCurrentPosition();
|
||||||
{
|
|
||||||
_gameClient.UpdatePosition(_currentPosition);
|
|
||||||
_lastSentPosition = _currentPosition;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
@@ -150,105 +715,212 @@ namespace Subsystems
|
|||||||
}
|
}
|
||||||
private double? CalculateHeading(Vector3 first, Vector3 second)
|
private double? CalculateHeading(Vector3 first, Vector3 second)
|
||||||
{
|
{
|
||||||
double? heading = null;
|
if ((first - second).magnitude < 0.0001f) return null;
|
||||||
if ((first - second).magnitude == 0)
|
float dx = second.x - first.x;
|
||||||
{
|
float dz = second.z - first.z;
|
||||||
return null;
|
float heading = Mathf.Atan2(dx, dz) * Mathf.Rad2Deg;
|
||||||
}
|
if (heading < 0) heading += 360f;
|
||||||
else if (first.x == second.x && first.z < second.z)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
else if (first.x == second.x && first.z > second.z)
|
|
||||||
{
|
|
||||||
return 180;
|
|
||||||
}
|
|
||||||
else if (first.x > second.x && first.z == second.z)
|
|
||||||
{
|
|
||||||
return 270;
|
|
||||||
}
|
|
||||||
else if (first.x < second.x && first.z == second.z)
|
|
||||||
{
|
|
||||||
return 90;
|
|
||||||
}
|
|
||||||
else if (first.x < second.x && first.z < second.z)
|
|
||||||
{
|
|
||||||
heading = Math.Asin((second.z - first.z) / first.DistanceTo(second));
|
|
||||||
return (heading * 180) / Math.PI;
|
|
||||||
}
|
|
||||||
else if (first.x < second.x && first.z > second.z)
|
|
||||||
{
|
|
||||||
heading = Math.Asin((second.z - first.z) / first.DistanceTo(second));
|
|
||||||
return (heading * 180) / Math.PI + 180;
|
|
||||||
}
|
|
||||||
else if (first.x > second.x && first.z < second.z)
|
|
||||||
{
|
|
||||||
heading = Math.Asin((second.z - first.z) / first.DistanceTo(second));
|
|
||||||
return (heading * 180) / Math.PI - 90;
|
|
||||||
}
|
|
||||||
else if (first.x > second.x && first.z > second.z)
|
|
||||||
{
|
|
||||||
heading = Math.Asin((second.z - first.z) / first.DistanceTo(second));
|
|
||||||
return (heading * 180) / Math.PI - 90;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return heading;
|
return heading;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
IEnumerator InitiallizeGPS()
|
IEnumerator InitiallizeGPS()
|
||||||
{
|
{
|
||||||
_GPSState = GPSState.Initializing;
|
_GPSState = GPSState.Initializing;
|
||||||
|
_gpsInitStartTime = Time.time;
|
||||||
|
_lastGpsError = "";
|
||||||
|
|
||||||
|
#if UNITY_ANDROID
|
||||||
|
// Request fine location permission if not already granted.
|
||||||
|
// On Android 12+ a "precise" toggle exists separately from coarse,
|
||||||
|
// but Unity's FineLocation request covers both for our purposes.
|
||||||
|
if (!UnityEngine.Android.Permission.HasUserAuthorizedPermission(UnityEngine.Android.Permission.FineLocation))
|
||||||
|
{
|
||||||
|
UnityEngine.Android.Permission.RequestUserPermission(UnityEngine.Android.Permission.FineLocation);
|
||||||
|
// Wait up to 10 seconds for user to respond to the permission dialog
|
||||||
|
float waited = 0f;
|
||||||
|
while (!UnityEngine.Android.Permission.HasUserAuthorizedPermission(UnityEngine.Android.Permission.FineLocation) && waited < 10f)
|
||||||
|
{
|
||||||
|
yield return new WaitForSeconds(0.5f);
|
||||||
|
waited += 0.5f;
|
||||||
|
}
|
||||||
|
if (!UnityEngine.Android.Permission.HasUserAuthorizedPermission(UnityEngine.Android.Permission.FineLocation))
|
||||||
|
{
|
||||||
|
_lastGpsError = "Permission denied (fine location)";
|
||||||
|
Debug.LogError("[GPS] " + _lastGpsError);
|
||||||
|
_GPSState = GPSState.Failed;
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if UNITY_ANDROID && !UNITY_EDITOR
|
||||||
|
// Choose subscription scope based on selected source. UnityInput
|
||||||
|
// skips JNI entirely and falls through to the Input.location path
|
||||||
|
// below (the same path iOS / editor use).
|
||||||
|
if (_currentSource == PositionSource.Auto ||
|
||||||
|
_currentSource == PositionSource.GpsOnly ||
|
||||||
|
_currentSource == PositionSource.NetworkOnly)
|
||||||
|
{
|
||||||
|
bool useGps = (_currentSource != PositionSource.NetworkOnly);
|
||||||
|
bool useNetwork = (_currentSource != PositionSource.GpsOnly);
|
||||||
|
|
||||||
|
if (_androidProvider != null)
|
||||||
|
{
|
||||||
|
_androidProvider.Shutdown();
|
||||||
|
_androidProvider = null;
|
||||||
|
}
|
||||||
|
_androidProvider = new AndroidLocationProvider();
|
||||||
|
if (!_androidProvider.Initialize(out var initError, useGps, useNetwork))
|
||||||
|
{
|
||||||
|
_lastGpsError = "Native LocationManager failed: " + initError;
|
||||||
|
Debug.LogError("[GPS] " + _lastGpsError);
|
||||||
|
_androidProvider = null;
|
||||||
|
_GPSState = GPSState.Failed;
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fast-fail if neither subscribed provider is enabled at OS
|
||||||
|
// level. Waiting 60s for fixes from disabled providers is
|
||||||
|
// pointless - tell the user immediately what's wrong.
|
||||||
|
bool anyUsableEnabled =
|
||||||
|
(useGps && _androidProvider.GpsProviderEnabled) ||
|
||||||
|
(useNetwork && _androidProvider.NetworkProviderEnabled);
|
||||||
|
if (!anyUsableEnabled)
|
||||||
|
{
|
||||||
|
string which = useGps && useNetwork ? "gps + network"
|
||||||
|
: useGps ? "gps"
|
||||||
|
: "network";
|
||||||
|
_lastGpsError = $"{which} provider DISABLED at OS level. Open Settings > Location and switch it ON. Or tap [Source] to try a different backend.";
|
||||||
|
Debug.LogError("[GPS] " + _lastGpsError);
|
||||||
|
_androidProvider.Shutdown();
|
||||||
|
_androidProvider = null;
|
||||||
|
_GPSState = GPSState.Failed;
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Wait for the first fix (cached or live).
|
||||||
|
int maxWaitJni = _gpsInitTimeoutSeconds;
|
||||||
|
while (!_androidProvider.HasFix && maxWaitJni > 0)
|
||||||
|
{
|
||||||
|
yield return new WaitForSeconds(1);
|
||||||
|
maxWaitJni--;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!_androidProvider.HasFix)
|
||||||
|
{
|
||||||
|
string enabled = _androidProvider.EnabledProvidersList ?? "";
|
||||||
|
string gpsState = _androidProvider.GpsProviderEnabled ? "ON" : "OFF";
|
||||||
|
string netState = _androidProvider.NetworkProviderEnabled ? "ON" : "OFF";
|
||||||
|
string lastKnown = $"lastKnown[gps={(_androidProvider.GpsLastKnownExists ? "yes" : "no")}, net={(_androidProvider.NetworkLastKnownExists ? "yes" : "no")}]";
|
||||||
|
|
||||||
|
_lastGpsError = $"Timeout {_gpsInitTimeoutSeconds}s on {_currentSource}. enabled=[{enabled}] gps={gpsState} net={netState} {lastKnown}. Try [Source] cycle to switch backends.";
|
||||||
|
Debug.LogError("[GPS] " + _lastGpsError);
|
||||||
|
_androidProvider.Shutdown();
|
||||||
|
_androidProvider = null;
|
||||||
|
_GPSState = GPSState.Failed;
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
|
||||||
|
_currentPosition = new Position(_androidProvider.Lat, _androidProvider.Lon);
|
||||||
|
_GPSState = GPSState.Running;
|
||||||
|
_gpsRetryCount = 0;
|
||||||
|
_coroutineHost.StartCoroutine(AndroidGPSService());
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
|
||||||
|
// _currentSource == UnityInput on Android: fall through to the
|
||||||
|
// Input.location path below. This is the recovery path for
|
||||||
|
// newer Android phones where JNI's streaming-callbacks don't
|
||||||
|
// fire (MIUI/HyperOS background restrictions, approximate-vs-
|
||||||
|
// precise permission, minDistance gating on stationary phones).
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// iOS / editor / non-Android / Android-with-UnityInput-source:
|
||||||
|
// use Unity's Input.location.
|
||||||
if (!Input.location.isEnabledByUser)
|
if (!Input.location.isEnabledByUser)
|
||||||
{
|
{
|
||||||
Debug.LogError("Location not enabled on device or app does not have permission to access location");
|
_lastGpsError = "Location services not enabled by user";
|
||||||
|
Debug.LogError("[GPS] " + _lastGpsError);
|
||||||
|
_GPSState = GPSState.Failed;
|
||||||
|
yield break;
|
||||||
}
|
}
|
||||||
// Starts the location service.
|
|
||||||
|
|
||||||
float desiredAccuracyInMeters = 10f;
|
float desiredAccuracyInMeters = 5f;
|
||||||
float updateDistanceInMeters = 10f;
|
float updateDistanceInMeters = 1f;
|
||||||
|
|
||||||
Input.location.Start(desiredAccuracyInMeters, updateDistanceInMeters);
|
Input.location.Start(desiredAccuracyInMeters, updateDistanceInMeters);
|
||||||
|
|
||||||
// Waits until the location service initializes
|
int maxWait = _gpsInitTimeoutSeconds;
|
||||||
int maxWait = 20;
|
|
||||||
while (Input.location.status == LocationServiceStatus.Initializing && maxWait > 0)
|
while (Input.location.status == LocationServiceStatus.Initializing && maxWait > 0)
|
||||||
{
|
{
|
||||||
yield return new WaitForSeconds(1);
|
yield return new WaitForSeconds(1);
|
||||||
maxWait--;
|
maxWait--;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the service didn't initialize in 20 seconds this cancels location service use.
|
|
||||||
if (maxWait < 1)
|
if (maxWait < 1)
|
||||||
{
|
{
|
||||||
|
_lastGpsError = $"Timed out after {_gpsInitTimeoutSeconds}s waiting for first fix (try moving outdoors, or tap [Source] to try a different backend)";
|
||||||
|
Debug.LogError("[GPS] " + _lastGpsError);
|
||||||
_GPSState = GPSState.Failed;
|
_GPSState = GPSState.Failed;
|
||||||
Debug.LogError("Timed out");
|
|
||||||
yield break;
|
yield break;
|
||||||
}
|
}
|
||||||
_GPSState = GPSState.Running;
|
|
||||||
yield return _coroutineHost.StartCoroutine(GPSService());
|
|
||||||
}
|
|
||||||
IEnumerator GPSService()
|
|
||||||
{
|
|
||||||
// Check if the user has location service enabled.
|
|
||||||
|
|
||||||
|
|
||||||
// If the connection failed this cancels location service use.
|
|
||||||
if (Input.location.status == LocationServiceStatus.Failed)
|
if (Input.location.status == LocationServiceStatus.Failed)
|
||||||
{
|
{
|
||||||
Debug.LogError("Unable to determine device location");
|
_lastGpsError = "Unity Input.location reported Failed status";
|
||||||
|
Debug.LogError("[GPS] " + _lastGpsError);
|
||||||
|
_GPSState = GPSState.Failed;
|
||||||
yield break;
|
yield break;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
_GPSState = GPSState.Running;
|
||||||
// If the connection succeeded, this retrieves the device's current location and displays it in the Console window.
|
_gpsRetryCount = 0;
|
||||||
_currentPosition = new Position(Input.location.lastData.latitude, Input.location.lastData.longitude);
|
_coroutineHost.StartCoroutine(GPSService());
|
||||||
Debug.Log("Location: " + Input.location.lastData.latitude + " " + Input.location.lastData.longitude + " " + Input.location.lastData.altitude + " " + Input.location.lastData.horizontalAccuracy + " " + Input.location.lastData.timestamp);
|
|
||||||
yield return new WaitForSeconds(5f);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stops the location service if there is no need to query location updates continuously.
|
#if UNITY_ANDROID && !UNITY_EDITOR
|
||||||
yield return _coroutineHost.StartCoroutine(GPSService());
|
/// <summary>
|
||||||
|
/// Mirrors the JNI provider's most recent fix into _currentPosition
|
||||||
|
/// every 0.5s so the rest of the game (which polls _currentPosition
|
||||||
|
/// indirectly via LastKnownPosition / TrySendCurrentPosition) keeps
|
||||||
|
/// working unchanged. Replaces GPSService on Android.
|
||||||
|
/// </summary>
|
||||||
|
IEnumerator AndroidGPSService()
|
||||||
|
{
|
||||||
|
while (_GPSState == GPSState.Running && _androidProvider != null)
|
||||||
|
{
|
||||||
|
if (_androidProvider.HasFix)
|
||||||
|
{
|
||||||
|
_currentPosition = new Position(_androidProvider.Lat, _androidProvider.Lon);
|
||||||
|
}
|
||||||
|
yield return new WaitForSeconds(0.5f);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Loop ended (state != Running or provider disposed). Clean up
|
||||||
|
// listeners so we don't leak across retries.
|
||||||
|
if (_androidProvider != null)
|
||||||
|
{
|
||||||
|
_androidProvider.Shutdown();
|
||||||
|
_androidProvider = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
IEnumerator GPSService()
|
||||||
|
{
|
||||||
|
while (_GPSState == GPSState.Running)
|
||||||
|
{
|
||||||
|
if (Input.location.status == LocationServiceStatus.Failed)
|
||||||
|
{
|
||||||
|
_lastGpsError = "Location service died after init (provider stopped)";
|
||||||
|
Debug.LogError("[GPS] " + _lastGpsError);
|
||||||
|
_GPSState = GPSState.Failed;
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Keep current GPS position fresh; sending is throttled in positionCheck().
|
||||||
|
var data = Input.location.lastData;
|
||||||
|
_currentPosition = new Position(data.latitude, data.longitude);
|
||||||
|
yield return new WaitForSeconds(0.5f);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3,9 +3,8 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using UnityEditor;
|
using TMPro;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.Localization.Pseudo;
|
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
|
||||||
@@ -13,8 +12,8 @@ namespace Subsystems{
|
|||||||
[System.Serializable]
|
[System.Serializable]
|
||||||
public class BuildingSettings
|
public class BuildingSettings
|
||||||
{
|
{
|
||||||
public Material ResidentalBuildingsMat;
|
public Material ResidentialBuildingsMat;
|
||||||
public float ResidentalBuildingHeight;
|
public float ResidentialBuildingHeight;
|
||||||
public Material CommercialBuildingsMat;
|
public Material CommercialBuildingsMat;
|
||||||
public float CommercialBuildingHeight;
|
public float CommercialBuildingHeight;
|
||||||
public Material IndustrialBuildingsMat;
|
public Material IndustrialBuildingsMat;
|
||||||
@@ -66,6 +65,43 @@ namespace Subsystems{
|
|||||||
private PathwaySettings _pathwaySettings;
|
private PathwaySettings _pathwaySettings;
|
||||||
private AreaSettings _areaSettings;
|
private AreaSettings _areaSettings;
|
||||||
private const float _metersPerUnit = 1f;
|
private const float _metersPerUnit = 1f;
|
||||||
|
|
||||||
|
// ── Layer Y separation (single source of truth for vertical stacking) ───
|
||||||
|
// Areas at the bottom, paths above areas, buildings extruded upward from
|
||||||
|
// their own base, POIs floating well above everything else. Z-fighting
|
||||||
|
// happens when adjacent geometry shares a Y; these constants keep each
|
||||||
|
// logical layer at a distinct elevation.
|
||||||
|
private const float kAreaBaseY = 0.10f;
|
||||||
|
private const float kPathY = 0.30f;
|
||||||
|
private const float kBuildingBaseY = 0.50f;
|
||||||
|
private const float kPoiY = 2.00f;
|
||||||
|
|
||||||
|
// Render-queue forcing was tried in P3 to disambiguate same-Y geometry
|
||||||
|
// but turned out to be the cause of the "blank map in mobile game view,
|
||||||
|
// fine in scene view" regression: forcing transparent-class shaders
|
||||||
|
// (default queue 3000+) into the Geometry range (2000-2150) breaks
|
||||||
|
// their depth-write/blend assumptions on mobile shader paths. The
|
||||||
|
// editor's scene view masks it because it uses different render paths
|
||||||
|
// and post-process is off there. Queue forcing removed in P8;
|
||||||
|
// disambiguation is now via Y-layering + per-area Y-stagger alone,
|
||||||
|
// which the depth buffer resolves correctly even on weak mobile GPUs.
|
||||||
|
|
||||||
|
// ── Marker sizing (top-down camera, units = meters) ─────────────────
|
||||||
|
// The camera's orthographic size pushes "1 meter" to a small fraction
|
||||||
|
// of the screen. Markers need to be visibly larger than buildings'
|
||||||
|
// footprints for instant recognition.
|
||||||
|
private const float kMarkerHeight = 8f; // pillar height
|
||||||
|
private const float kMarkerRadius = 3f; // pillar radius (cylinder X/Z)
|
||||||
|
private const float kMarkerY = 4f; // base Y so pillar centers ~mid-height
|
||||||
|
private const float kLabelY = 9f; // text label sits above pillar top
|
||||||
|
private const float kLabelFontSize = 14f; // 3D text size in world units
|
||||||
|
|
||||||
|
// Runtime marker collections
|
||||||
|
private Dictionary<string, GameObject> _taskMarkers = new Dictionary<string, GameObject>();
|
||||||
|
private Dictionary<string, GameObject> _bodyMarkers = new Dictionary<string, GameObject>();
|
||||||
|
private Dictionary<string, GameObject> _playerAvatars = new Dictionary<string, GameObject>();
|
||||||
|
private List<GameObject> _sabotageMarkers = new List<GameObject>();
|
||||||
|
|
||||||
public GameManager_Map(GameClient gameClient, GameObject mapCenterPoint, BuildingSettings buildingSettings, PathwaySettings pathwaySettings, AreaSettings areaSettings)
|
public GameManager_Map(GameClient gameClient, GameObject mapCenterPoint, BuildingSettings buildingSettings, PathwaySettings pathwaySettings, AreaSettings areaSettings)
|
||||||
{
|
{
|
||||||
_gameClient = gameClient;
|
_gameClient = gameClient;
|
||||||
@@ -74,8 +110,25 @@ namespace Subsystems{
|
|||||||
_pathwaySettings = pathwaySettings;
|
_pathwaySettings = pathwaySettings;
|
||||||
_areaSettings = areaSettings;
|
_areaSettings = areaSettings;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public bool IsSceneReady => _mapCenterPoint != null;
|
||||||
|
|
||||||
|
/// <summary>Called from OnSceneLoaded when Client.unity is loaded so the
|
||||||
|
/// MapCenterPoint (which lives in Client.unity) can be wired at runtime.</summary>
|
||||||
|
public void SetMapCenterPoint(GameObject go) { _mapCenterPoint = go; }
|
||||||
public void BuildMap()
|
public void BuildMap()
|
||||||
{
|
{
|
||||||
|
if (_mapCenterPoint == null)
|
||||||
|
{
|
||||||
|
Debug.LogWarning("[Map] BuildMap skipped: MapCenterPoint is not yet bound.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (_gameClient?.CurrentLobbyState?.MapData == null)
|
||||||
|
{
|
||||||
|
Debug.LogWarning("[Map] BuildMap skipped: no MapData in CurrentLobbyState.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
ClearChildren();
|
ClearChildren();
|
||||||
_centerPosition = _gameClient.CurrentLobbyState.MapData.Center;
|
_centerPosition = _gameClient.CurrentLobbyState.MapData.Center;
|
||||||
GameObject buildingsRoot = new GameObject("Buildings");
|
GameObject buildingsRoot = new GameObject("Buildings");
|
||||||
@@ -109,7 +162,133 @@ namespace Subsystems{
|
|||||||
GameObject a = BuildAreaMesh(area);
|
GameObject a = BuildAreaMesh(area);
|
||||||
a.transform.parent = areaRoot.transform;
|
a.transform.parent = areaRoot.transform;
|
||||||
}
|
}
|
||||||
//TODO: POIs
|
|
||||||
|
GameObject poiRoot = new GameObject("POIs");
|
||||||
|
poiRoot.transform.parent = _mapCenterPoint.transform;
|
||||||
|
int poiCount = 0;
|
||||||
|
foreach (var poi in _gameClient.CurrentLobbyState.MapData.GetPOIs())
|
||||||
|
{
|
||||||
|
GameObject p = BuildPOIMarker(poi);
|
||||||
|
if (p != null) { p.transform.parent = poiRoot.transform; poiCount++; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// Diagnostic - if the user reports "map missing in game view" but
|
||||||
|
// the counts here are non-zero, the bug is camera/culling related,
|
||||||
|
// not a build issue.
|
||||||
|
int buildings = _gameClient.CurrentLobbyState.MapData.GetBuildings()?.Count ?? 0;
|
||||||
|
int paths = _gameClient.CurrentLobbyState.MapData.GetPathways()?.Count ?? 0;
|
||||||
|
int areas = _gameClient.CurrentLobbyState.MapData.GetAreas()?.Count ?? 0;
|
||||||
|
Debug.Log($"[Map] BuildMap done: {buildings} buildings, {paths} paths, " +
|
||||||
|
$"{areas} areas, {poiCount} POIs. MapCenterPoint={_mapCenterPoint.name} " +
|
||||||
|
$"layer={_mapCenterPoint.layer} pos={_mapCenterPoint.transform.position} " +
|
||||||
|
$"scale={_mapCenterPoint.transform.localScale}");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Build a tall, brightly-colored pillar for a Point of Interest with
|
||||||
|
/// a 3D text label above it (e.g. "FOOD", "SHOP"). The label is laid
|
||||||
|
/// flat on the XZ plane facing UP so it reads correctly under the
|
||||||
|
/// orthogonal top-down camera.
|
||||||
|
/// </summary>
|
||||||
|
private GameObject BuildPOIMarker(MapPOI poi)
|
||||||
|
{
|
||||||
|
if (poi == null) return null;
|
||||||
|
var color = ColorForPOI(poi.POIType);
|
||||||
|
string label = LabelForPOI(poi.POIType);
|
||||||
|
var pos = poi.Location.ToLocalVector3(_centerPosition);
|
||||||
|
return CreateMarkerWithLabel($"POI_{poi.POIType}_{poi.Id}", pos, color, label);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Shared marker builder: tall colored cylinder pillar + 3D text label
|
||||||
|
/// above it. Used by POIs, tasks, bodies, and sabotage stations so
|
||||||
|
/// they all share a visual language ("colored pillar with a name").
|
||||||
|
/// </summary>
|
||||||
|
private GameObject CreateMarkerWithLabel(string name, Vector3 worldPos, Color color, string label)
|
||||||
|
{
|
||||||
|
var go = GameObject.CreatePrimitive(PrimitiveType.Cylinder);
|
||||||
|
go.name = name;
|
||||||
|
|
||||||
|
// Strip the auto-added collider - markers are visual only.
|
||||||
|
var col = go.GetComponent<Collider>();
|
||||||
|
if (col != null) UnityEngine.Object.Destroy(col);
|
||||||
|
|
||||||
|
go.transform.position = worldPos + Vector3.up * kMarkerY;
|
||||||
|
// Cylinder's default unit is 2 tall, 1 wide. Scale Y by half of
|
||||||
|
// kMarkerHeight (built-in is 2 units), X/Z by kMarkerRadius.
|
||||||
|
go.transform.localScale = new Vector3(kMarkerRadius, kMarkerHeight * 0.5f, kMarkerRadius);
|
||||||
|
|
||||||
|
var mr = go.GetComponent<MeshRenderer>();
|
||||||
|
if (mr != null)
|
||||||
|
{
|
||||||
|
// One .material access -> single clone of the primitive's
|
||||||
|
// default mat. Don't touch renderQueue (P3 regression cause).
|
||||||
|
var inst = mr.material;
|
||||||
|
if (inst != null) inst.color = color;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 3D text label - lays flat on top of the pillar facing up.
|
||||||
|
// Parented to the marker so it follows position changes.
|
||||||
|
var labelGO = new GameObject("Label");
|
||||||
|
labelGO.transform.SetParent(go.transform, worldPositionStays: false);
|
||||||
|
// Local Y offset: pillar's local scale Y is kMarkerHeight/2, but
|
||||||
|
// the cylinder primitive is 2 units tall in local space, so its
|
||||||
|
// top is at local +1. Label sits a hair above that.
|
||||||
|
labelGO.transform.localPosition = new Vector3(0, 1.05f, 0);
|
||||||
|
// Rotate 90 around X so the text quad's normal points +Y (toward
|
||||||
|
// the top-down camera). The default TMP forward is +Z.
|
||||||
|
labelGO.transform.localRotation = Quaternion.Euler(90f, 0f, 0f);
|
||||||
|
// Compensate for the cylinder's non-uniform parent scale so the
|
||||||
|
// text size in world units matches kLabelFontSize regardless of
|
||||||
|
// how the pillar was scaled.
|
||||||
|
labelGO.transform.localScale = new Vector3(
|
||||||
|
1f / kMarkerRadius,
|
||||||
|
1f / (kMarkerHeight * 0.5f),
|
||||||
|
1f / kMarkerRadius);
|
||||||
|
|
||||||
|
var tmp = labelGO.AddComponent<TextMeshPro>();
|
||||||
|
tmp.text = label;
|
||||||
|
tmp.fontSize = kLabelFontSize;
|
||||||
|
tmp.color = Color.white;
|
||||||
|
tmp.fontStyle = FontStyles.Bold;
|
||||||
|
tmp.alignment = TextAlignmentOptions.Center;
|
||||||
|
tmp.outlineColor = Color.black;
|
||||||
|
tmp.outlineWidth = 0.25f;
|
||||||
|
// Reasonable bounds so the text mesh isn't auto-clipped.
|
||||||
|
var rt = tmp.rectTransform;
|
||||||
|
rt.sizeDelta = new Vector2(20, 4);
|
||||||
|
|
||||||
|
return go;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Color ColorForPOI(MapPOIType type)
|
||||||
|
{
|
||||||
|
switch (type)
|
||||||
|
{
|
||||||
|
case MapPOIType.FoodDrink: return new Color(1.00f, 0.55f, 0.00f); // orange
|
||||||
|
case MapPOIType.Shop: return new Color(0.20f, 0.60f, 1.00f); // blue
|
||||||
|
case MapPOIType.Health: return new Color(0.96f, 0.27f, 0.27f); // red
|
||||||
|
case MapPOIType.Transport: return new Color(0.85f, 0.85f, 0.20f); // yellow
|
||||||
|
case MapPOIType.Culture: return new Color(0.65f, 0.30f, 0.95f); // purple
|
||||||
|
case MapPOIType.Landmark: return new Color(0.95f, 0.85f, 0.40f); // gold
|
||||||
|
case MapPOIType.Recreation: return new Color(0.30f, 0.85f, 0.30f); // green
|
||||||
|
default: return new Color(0.75f, 0.75f, 0.80f); // muted grey
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string LabelForPOI(MapPOIType type)
|
||||||
|
{
|
||||||
|
switch (type)
|
||||||
|
{
|
||||||
|
case MapPOIType.FoodDrink: return "FOOD";
|
||||||
|
case MapPOIType.Shop: return "SHOP";
|
||||||
|
case MapPOIType.Health: return "HEALTH";
|
||||||
|
case MapPOIType.Transport: return "TRANSIT";
|
||||||
|
case MapPOIType.Culture: return "CULTURE";
|
||||||
|
case MapPOIType.Landmark: return "LANDMARK";
|
||||||
|
case MapPOIType.Recreation: return "PARK";
|
||||||
|
default: return "POI";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
void ClearChildren()
|
void ClearChildren()
|
||||||
{
|
{
|
||||||
@@ -126,9 +305,12 @@ namespace Subsystems{
|
|||||||
{
|
{
|
||||||
var building = new GameObject($"Building_{b.Name ?? "Unknown"}");
|
var building = new GameObject($"Building_{b.Name ?? "Unknown"}");
|
||||||
|
|
||||||
// Výpočet středu budovy
|
// Výpočet středu budovy. Lift the base above kPathY so building
|
||||||
|
// walls visibly extrude *upward* from above the road/area layer
|
||||||
|
// instead of starting at ground (which made them clip into paved
|
||||||
|
// areas that share their footprint).
|
||||||
Vector3 center = CalculatePolygonCenter(b.Outline);
|
Vector3 center = CalculatePolygonCenter(b.Outline);
|
||||||
building.transform.position = center;
|
building.transform.position = center + Vector3.up * kBuildingBaseY;
|
||||||
|
|
||||||
// Vytvoření mesh pro budovu
|
// Vytvoření mesh pro budovu
|
||||||
MeshFilter meshFilter = building.AddComponent<MeshFilter>();
|
MeshFilter meshFilter = building.AddComponent<MeshFilter>();
|
||||||
@@ -139,8 +321,8 @@ namespace Subsystems{
|
|||||||
switch (b.BuildingType.ToLower())
|
switch (b.BuildingType.ToLower())
|
||||||
{
|
{
|
||||||
case "residential":
|
case "residential":
|
||||||
mat = _buildingSettings.ResidentalBuildingsMat;
|
mat = _buildingSettings.ResidentialBuildingsMat;
|
||||||
height = _buildingSettings.ResidentalBuildingHeight;
|
height = _buildingSettings.ResidentialBuildingHeight;
|
||||||
break;
|
break;
|
||||||
case "commercial":
|
case "commercial":
|
||||||
mat = _buildingSettings.CommercialBuildingsMat;
|
mat = _buildingSettings.CommercialBuildingsMat;
|
||||||
@@ -159,8 +341,12 @@ namespace Subsystems{
|
|||||||
meshFilter.mesh = mesh;
|
meshFilter.mesh = mesh;
|
||||||
|
|
||||||
//TODO: material by type
|
//TODO: material by type
|
||||||
// Použijeme barvu podle typu budovy
|
// Použijeme barvu podle typu budovy. Use sharedMaterial to keep
|
||||||
meshRenderer.material = mat;
|
// the project's Material asset reference - no clone, no leak.
|
||||||
|
// Y-position alone disambiguates building geometry from area/path
|
||||||
|
// layers; we don't need renderQueue overrides (which broke mobile
|
||||||
|
// rendering for transparent-class shaders in P3).
|
||||||
|
meshRenderer.sharedMaterial = mat;
|
||||||
|
|
||||||
// Přidání collideru pro interakci
|
// Přidání collideru pro interakci
|
||||||
building.AddComponent<MeshCollider>();
|
building.AddComponent<MeshCollider>();
|
||||||
@@ -219,15 +405,19 @@ namespace Subsystems{
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
line.material = mat;
|
// sharedMaterial avoids the LineRenderer cloning the project's
|
||||||
|
// shared path Material on every BuildMap call. Queue overrides
|
||||||
|
// dropped (P3 mobile-render regression cause).
|
||||||
|
line.sharedMaterial = mat;
|
||||||
line.widthMultiplier = width;
|
line.widthMultiplier = width;
|
||||||
|
|
||||||
// Nastavení bodů cesty
|
// Nastavení bodů cesty - kPathY sits above all area polygons but
|
||||||
|
// below building bases, so paths visibly run on top of areas.
|
||||||
line.positionCount = w.Points.Count;
|
line.positionCount = w.Points.Count;
|
||||||
for (int i = 0; i < w.Points.Count; i++)
|
for (int i = 0; i < w.Points.Count; i++)
|
||||||
{
|
{
|
||||||
Vector3 pos = w.Points[i].ToLocalVector3(_gameClient.CurrentLobbyState.MapData.Center);
|
Vector3 pos = w.Points[i].ToLocalVector3(_gameClient.CurrentLobbyState.MapData.Center);
|
||||||
pos.y = 0.1f; // Mírně nad zemí
|
pos.y = kPathY;
|
||||||
line.SetPosition(i, pos);
|
line.SetPosition(i, pos);
|
||||||
}
|
}
|
||||||
return path;
|
return path;
|
||||||
@@ -270,13 +460,58 @@ namespace Subsystems{
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
meshRenderer.material = mat;
|
// sharedMaterial: no per-area material clone. Render-queue forcing
|
||||||
|
// dropped in P8 (caused mobile-render regression). The Y-stagger
|
||||||
|
// below alone now drives "smaller polygon on top of larger one"
|
||||||
|
// depth ordering - which is what the depth buffer was always
|
||||||
|
// designed to do, and works on mobile GPUs with weak precision
|
||||||
|
// because the stagger spread (0.04 units) is well above any
|
||||||
|
// reasonable depth-buffer epsilon.
|
||||||
|
meshRenderer.sharedMaterial = mat;
|
||||||
|
|
||||||
area.transform.position = new Vector3(0, 0.05f, 0); // Těsně nad zemí
|
// Y stagger: smaller polygons sit a hair higher than larger ones,
|
||||||
|
// so depth-test draws them on top of bigger area polygons they sit
|
||||||
|
// inside (e.g. a playground inside a park). Total spread is 0.04
|
||||||
|
// units - visually invisible but plenty for the depth buffer.
|
||||||
|
float yStagger = ComputeAreaYStagger(a.Outline);
|
||||||
|
area.transform.position = new Vector3(0, kAreaBaseY + yStagger, 0);
|
||||||
|
|
||||||
return area;
|
return area;
|
||||||
}
|
}
|
||||||
//TODO: POIs
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns a non-negative size proxy used to bucket areas by footprint.
|
||||||
|
/// Larger polygons return higher numbers; used inversely for queue/Y.
|
||||||
|
/// </summary>
|
||||||
|
private float AreaSizeBucket(List<Position> outline)
|
||||||
|
{
|
||||||
|
if (outline == null || outline.Count < 3) return 1f;
|
||||||
|
// Cheap bbox area in lat-lon space scaled by 1e6 - we only need a
|
||||||
|
// monotonic ordering, not a real geographic area.
|
||||||
|
double minLat = outline[0].Lat, maxLat = outline[0].Lat;
|
||||||
|
double minLon = outline[0].Lon, maxLon = outline[0].Lon;
|
||||||
|
for (int i = 1; i < outline.Count; i++)
|
||||||
|
{
|
||||||
|
if (outline[i].Lat < minLat) minLat = outline[i].Lat;
|
||||||
|
if (outline[i].Lat > maxLat) maxLat = outline[i].Lat;
|
||||||
|
if (outline[i].Lon < minLon) minLon = outline[i].Lon;
|
||||||
|
if (outline[i].Lon > maxLon) maxLon = outline[i].Lon;
|
||||||
|
}
|
||||||
|
double bbox = (maxLat - minLat) * (maxLon - minLon) * 1e6;
|
||||||
|
return (float)System.Math.Max(0.001, bbox);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Smaller areas get a higher Y so they render on top of any larger
|
||||||
|
/// area they overlap. Returns a value in [0, 0.04] units.
|
||||||
|
/// </summary>
|
||||||
|
private float ComputeAreaYStagger(List<Position> outline)
|
||||||
|
{
|
||||||
|
float bucket = AreaSizeBucket(outline);
|
||||||
|
// Inverse mapping: huge area -> 0, tiny area -> 0.04.
|
||||||
|
float t = Mathf.Clamp01(1f - bucket / (bucket + 50f));
|
||||||
|
return t * 0.04f;
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region Polygon Utils
|
#region Polygon Utils
|
||||||
private Vector3 CalculatePolygonCenter(List<Position> points)
|
private Vector3 CalculatePolygonCenter(List<Position> points)
|
||||||
@@ -288,19 +523,52 @@ namespace Subsystems{
|
|||||||
}
|
}
|
||||||
return center / points.Count;
|
return center / points.Count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Signed XZ shoelace area for a polygon expressed in local Vector3.
|
||||||
|
/// Positive = CCW (Unity left-handed Y-up: upward-facing normal),
|
||||||
|
/// negative = CW (downward-facing normal -> top face invisible from
|
||||||
|
/// above unless we reverse the winding before triangulating).
|
||||||
|
/// </summary>
|
||||||
|
private static float PolygonSignedAreaXZ(List<Vector3> verts)
|
||||||
|
{
|
||||||
|
float area = 0f;
|
||||||
|
int n = verts.Count;
|
||||||
|
for (int i = 0; i < n; i++)
|
||||||
|
{
|
||||||
|
var a = verts[i];
|
||||||
|
var b = verts[(i + 1) % n];
|
||||||
|
area += (b.x - a.x) * (a.z + b.z);
|
||||||
|
}
|
||||||
|
return area * 0.5f;
|
||||||
|
}
|
||||||
private Mesh CreateExtrudedPolygonMesh(List<Position> outline, float height)
|
private Mesh CreateExtrudedPolygonMesh(List<Position> outline, float height)
|
||||||
{
|
{
|
||||||
Mesh mesh = new Mesh();
|
Mesh mesh = new Mesh();
|
||||||
|
|
||||||
|
// Reject degenerates - Recast/Overpass can hand back 1-2 vertex
|
||||||
|
// outlines on broken ways. Empty mesh -> renderer draws nothing,
|
||||||
|
// safer than a malformed triangle list.
|
||||||
|
if (outline == null || outline.Count < 3) return mesh;
|
||||||
|
|
||||||
|
// Convert to local space first so we can run a winding check, then
|
||||||
|
// reverse if needed. Without this, CW outlines from Overpass yield
|
||||||
|
// downward-facing top normals and the building roof is invisible
|
||||||
|
// from the top-down map camera.
|
||||||
int vertexCount = outline.Count;
|
int vertexCount = outline.Count;
|
||||||
|
var localVerts = new List<Vector3>(vertexCount);
|
||||||
|
Vector3 center = CalculatePolygonCenter(outline);
|
||||||
|
for (int i = 0; i < vertexCount; i++)
|
||||||
|
localVerts.Add(outline[i].ToLocalVector3(_gameClient.CurrentLobbyState.MapData.Center) - center);
|
||||||
|
|
||||||
|
if (PolygonSignedAreaXZ(localVerts) < 0f)
|
||||||
|
localVerts.Reverse();
|
||||||
|
|
||||||
// Vertices - spodní a horní podstava
|
// Vertices - spodní a horní podstava
|
||||||
Vector3[] vertices = new Vector3[vertexCount * 2];
|
Vector3[] vertices = new Vector3[vertexCount * 2];
|
||||||
Vector3 center = CalculatePolygonCenter(outline);
|
|
||||||
|
|
||||||
for (int i = 0; i < vertexCount; i++)
|
for (int i = 0; i < vertexCount; i++)
|
||||||
{
|
{
|
||||||
Vector3 pos = outline[i].ToLocalVector3(_gameClient.CurrentLobbyState.MapData.Center) - center;
|
Vector3 pos = localVerts[i];
|
||||||
vertices[i] = pos; // Spodní
|
vertices[i] = pos; // Spodní
|
||||||
vertices[i + vertexCount] = pos + Vector3.up * height; // Horní
|
vertices[i + vertexCount] = pos + Vector3.up * height; // Horní
|
||||||
}
|
}
|
||||||
@@ -344,26 +612,31 @@ namespace Subsystems{
|
|||||||
{
|
{
|
||||||
Mesh mesh = new Mesh();
|
Mesh mesh = new Mesh();
|
||||||
|
|
||||||
int vertexCount = outline.Count;
|
// Reject degenerates (matches CreateExtrudedPolygonMesh).
|
||||||
Vector3[] vertices = new Vector3[vertexCount];
|
if (outline == null || outline.Count < 3) return mesh;
|
||||||
Vector3 center = CalculatePolygonCenter(outline);
|
|
||||||
|
|
||||||
|
int vertexCount = outline.Count;
|
||||||
|
var localVerts = new List<Vector3>(vertexCount);
|
||||||
|
Vector3 center = CalculatePolygonCenter(outline);
|
||||||
for (int i = 0; i < vertexCount; i++)
|
for (int i = 0; i < vertexCount; i++)
|
||||||
{
|
localVerts.Add(outline[i].ToLocalVector3(_gameClient.CurrentLobbyState.MapData.Center) - center);
|
||||||
vertices[i] = outline[i].ToLocalVector3(_gameClient.CurrentLobbyState.MapData.Center) - center;
|
|
||||||
}
|
// Force CCW so RecalculateNormals produces an upward-facing normal.
|
||||||
|
// CW polygons from Overpass would otherwise render as black voids
|
||||||
|
// when the top-down camera looks at their back face.
|
||||||
|
if (PolygonSignedAreaXZ(localVerts) < 0f)
|
||||||
|
localVerts.Reverse();
|
||||||
|
|
||||||
|
Vector3[] vertices = localVerts.ToArray();
|
||||||
|
|
||||||
// Triangulace - fan pattern
|
// Triangulace - fan pattern
|
||||||
List<int> triangles = new List<int>();
|
List<int> triangles = new List<int>();
|
||||||
if (vertexCount >= 3)
|
|
||||||
{
|
|
||||||
for (int i = 1; i < vertexCount - 1; i++)
|
for (int i = 1; i < vertexCount - 1; i++)
|
||||||
{
|
{
|
||||||
triangles.Add(0);
|
triangles.Add(0);
|
||||||
triangles.Add(i);
|
triangles.Add(i);
|
||||||
triangles.Add(i + 1);
|
triangles.Add(i + 1);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
mesh.vertices = vertices;
|
mesh.vertices = vertices;
|
||||||
mesh.triangles = triangles.ToArray();
|
mesh.triangles = triangles.ToArray();
|
||||||
@@ -372,5 +645,164 @@ namespace Subsystems{
|
|||||||
return mesh;
|
return mesh;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
#region Markers
|
||||||
|
|
||||||
|
public void CreateTaskMarkers(List<GeoSus.Client.GameTask> tasks)
|
||||||
|
{
|
||||||
|
if (_mapCenterPoint == null) return;
|
||||||
|
if (_centerPosition.Lat == 0 && _centerPosition.Lon == 0)
|
||||||
|
{
|
||||||
|
var md = _gameClient?.CurrentLobbyState?.MapData;
|
||||||
|
if (md != null) _centerPosition = md.Center;
|
||||||
|
}
|
||||||
|
if (_centerPosition.Lat == 0 && _centerPosition.Lon == 0) return;
|
||||||
|
var taskColor = new Color(0.20f, 0.95f, 0.55f); // bright green - "GO HERE"
|
||||||
|
foreach (var task in tasks)
|
||||||
|
{
|
||||||
|
if (_taskMarkers.ContainsKey(task.TaskId)) continue;
|
||||||
|
var pos = task.Location.ToLocalVector3(_centerPosition);
|
||||||
|
var go = CreateMarkerWithLabel($"Task_{task.TaskId}", pos, taskColor, "TASK");
|
||||||
|
go.transform.parent = _mapCenterPoint.transform;
|
||||||
|
|
||||||
|
// Pulsing point light so the task literally glows on the map.
|
||||||
|
var light = go.AddComponent<Light>();
|
||||||
|
light.color = taskColor;
|
||||||
|
light.intensity = 3f;
|
||||||
|
light.range = 25f;
|
||||||
|
_taskMarkers[task.TaskId] = go;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void RemoveTaskMarker(string taskId)
|
||||||
|
{
|
||||||
|
if (_taskMarkers.TryGetValue(taskId, out var go))
|
||||||
|
{
|
||||||
|
UnityEngine.Object.Destroy(go);
|
||||||
|
_taskMarkers.Remove(taskId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void CreateBodyMarker(string bodyId, Position location)
|
||||||
|
{
|
||||||
|
if (_mapCenterPoint == null) return;
|
||||||
|
if (_bodyMarkers.ContainsKey(bodyId)) return;
|
||||||
|
var pos = location.ToLocalVector3(_centerPosition);
|
||||||
|
// Bright red pillar with "BODY" label - players need to see this
|
||||||
|
// from across the map to call it in.
|
||||||
|
var go = CreateMarkerWithLabel($"Body_{bodyId}", pos,
|
||||||
|
new Color(0.96f, 0.18f, 0.18f), "BODY");
|
||||||
|
go.transform.parent = _mapCenterPoint?.transform;
|
||||||
|
_bodyMarkers[bodyId] = go;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ClearBodyMarkers()
|
||||||
|
{
|
||||||
|
foreach (var go in _bodyMarkers.Values)
|
||||||
|
if (go) UnityEngine.Object.Destroy(go);
|
||||||
|
_bodyMarkers.Clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Player avatar sizing ────────────────────────────────────────────
|
||||||
|
// The default Unity capsule primitive is 2m tall in local space. The
|
||||||
|
// map camera defaults to 150m orthographic-ish height (see
|
||||||
|
// MapCameraController), so anything smaller than ~3m world-size is a
|
||||||
|
// pixel on screen. Original code used scale=0.4 (~0.8m capsule) which
|
||||||
|
// was invisible. Markers (POIs/tasks/bodies) are 8m pillars; players
|
||||||
|
// need to be visibly distinct from those AND from each other. The
|
||||||
|
// local player gets a halo light + larger scale so the user can find
|
||||||
|
// themselves on the map at a glance.
|
||||||
|
private const float kLocalPlayerScale = 4f; // ~8m capsule (matches marker height)
|
||||||
|
private const float kRemotePlayerScale = 2f; // ~4m capsule (smaller than markers)
|
||||||
|
private const float kLocalPlayerHaloRange = 18f;
|
||||||
|
private const float kLocalPlayerHaloIntensity = 2.5f;
|
||||||
|
|
||||||
|
public void UpdatePlayerAvatars(Dictionary<string, PlayerPositionInfo> positions, string myUuid)
|
||||||
|
{
|
||||||
|
if (_mapCenterPoint == null) return;
|
||||||
|
if (_centerPosition.Lat == 0 && _centerPosition.Lon == 0)
|
||||||
|
{
|
||||||
|
var md = _gameClient?.CurrentLobbyState?.MapData;
|
||||||
|
if (md != null) _centerPosition = md.Center;
|
||||||
|
}
|
||||||
|
if (_centerPosition.Lat == 0 && _centerPosition.Lon == 0) return;
|
||||||
|
foreach (var kvp in positions)
|
||||||
|
{
|
||||||
|
string uuid = kvp.Key;
|
||||||
|
var info = kvp.Value;
|
||||||
|
bool isLocal = uuid == myUuid;
|
||||||
|
if (!_playerAvatars.TryGetValue(uuid, out var go) || go == null)
|
||||||
|
{
|
||||||
|
go = GameObject.CreatePrimitive(PrimitiveType.Capsule);
|
||||||
|
go.name = $"Player_{uuid.Substring(0, Mathf.Min(8, uuid.Length))}";
|
||||||
|
go.transform.parent = _mapCenterPoint?.transform;
|
||||||
|
// Strip the auto-collider - avatars are visual only and the
|
||||||
|
// collider would interact with the map's MeshColliders.
|
||||||
|
var col = go.GetComponent<Collider>();
|
||||||
|
if (col != null) UnityEngine.Object.Destroy(col);
|
||||||
|
|
||||||
|
float scale = isLocal ? kLocalPlayerScale : kRemotePlayerScale;
|
||||||
|
go.transform.localScale = Vector3.one * scale;
|
||||||
|
|
||||||
|
if (isLocal)
|
||||||
|
{
|
||||||
|
// Halo light around the local player so the user can
|
||||||
|
// find themselves at a glance even at the widest zoom.
|
||||||
|
// Range/intensity tuned so it reads as "this is me"
|
||||||
|
// without bleeding far enough to drown POI markers.
|
||||||
|
var halo = go.AddComponent<Light>();
|
||||||
|
halo.color = new Color(0.30f, 1.00f, 0.55f); // matches green capsule color
|
||||||
|
halo.intensity = kLocalPlayerHaloIntensity;
|
||||||
|
halo.range = kLocalPlayerHaloRange;
|
||||||
|
}
|
||||||
|
|
||||||
|
_playerAvatars[uuid] = go;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Lift the avatar so the bottom of the capsule sits roughly at
|
||||||
|
// ground level despite the larger scale. Capsule's local pivot
|
||||||
|
// is at center, height = 2 * localScale.y world units, so we
|
||||||
|
// raise by half the local height.
|
||||||
|
float halfHeight = (isLocal ? kLocalPlayerScale : kRemotePlayerScale);
|
||||||
|
go.transform.position = info.Position.ToLocalVector3(_centerPosition)
|
||||||
|
+ Vector3.up * halfHeight;
|
||||||
|
|
||||||
|
var mr = go.GetComponent<MeshRenderer>();
|
||||||
|
if (mr)
|
||||||
|
{
|
||||||
|
if (isLocal) mr.material.color = new Color(0.30f, 1.00f, 0.55f);
|
||||||
|
else if (info.State == GeoSus.Client.PlayerState.Dead) mr.material.color = Color.grey;
|
||||||
|
else mr.material.color = Color.white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void CreateSabotageMarkers(List<RepairStationInfo> stations)
|
||||||
|
{
|
||||||
|
var color = new Color(1.0f, 0.55f, 0.0f); // strong orange = repair urgency
|
||||||
|
foreach (var station in stations)
|
||||||
|
{
|
||||||
|
var pos = station.Location.ToLocalVector3(_centerPosition);
|
||||||
|
var go = CreateMarkerWithLabel($"Sabotage_{station.StationId}", pos,
|
||||||
|
color, "REPAIR");
|
||||||
|
go.transform.parent = _mapCenterPoint?.transform;
|
||||||
|
|
||||||
|
// Repair stations also pulse light so impostors and crew see
|
||||||
|
// the urgency from across the map.
|
||||||
|
var light = go.AddComponent<Light>();
|
||||||
|
light.color = color;
|
||||||
|
light.intensity = 4f;
|
||||||
|
light.range = 30f;
|
||||||
|
_sabotageMarkers.Add(go);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ClearSabotageMarkers()
|
||||||
|
{
|
||||||
|
foreach (var go in _sabotageMarkers)
|
||||||
|
if (go) UnityEngine.Object.Destroy(go);
|
||||||
|
_sabotageMarkers.Clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
101
Assets/GameManager/New Material.mat
Normal file
101
Assets/GameManager/New Material.mat
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
%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: New Material
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: 0}
|
||||||
|
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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _ColorMask: 15
|
||||||
|
- _CullMode: 0
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _Stencil: 0
|
||||||
|
- _StencilComp: 8
|
||||||
|
- _StencilOp: 0
|
||||||
|
- _StencilReadMask: 255
|
||||||
|
- _StencilWriteMask: 255
|
||||||
|
- _UVSec: 0
|
||||||
|
- _UseUIAlphaClip: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/GameManager/New Material.mat.meta
Normal file
8
Assets/GameManager/New Material.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: dac0a6a54861f2c438fc5fd58864473d
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/MainScreenUI.meta
Normal file
8
Assets/MainScreenUI.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1bc3c07f160332843b2a60af3513f7f6
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/Materials.meta
Normal file
8
Assets/Materials.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2230bf768ecb84610af77bea6cdd7074
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
297
Assets/Materials/DOMEKBARVA.mat
Normal file
297
Assets/Materials/DOMEKBARVA.mat
Normal file
@@ -0,0 +1,297 @@
|
|||||||
|
%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: DOMEKBARVA
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _EMISSION
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
- _SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A
|
||||||
|
m_LightmapFlags: 1
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 1
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses:
|
||||||
|
- MOTIONVECTORS
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _BackTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _BaseMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: c72a02e6a4cda274ba055c14119e8b9c, 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}
|
||||||
|
- _Control:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DecalTex:
|
||||||
|
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}
|
||||||
|
- _DownTex:
|
||||||
|
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}
|
||||||
|
- _FrontTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Illum:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _LeftTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _LightMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: c72a02e6a4cda274ba055c14119e8b9c, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Mask0:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Mask1:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Mask2:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Mask3:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MaskTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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}
|
||||||
|
- _Normal0:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Normal1:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Normal2:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Normal3:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _NormalMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: c72a02e6a4cda274ba055c14119e8b9c, type: 3}
|
||||||
|
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}
|
||||||
|
- _RightTex:
|
||||||
|
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}
|
||||||
|
- _Splat0:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Splat1:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Splat2:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Splat3:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _TerrainHolesTexture:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Tex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _UpTex:
|
||||||
|
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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _AddPrecomputedVelocity: 0
|
||||||
|
- _AlphaClip: 0
|
||||||
|
- _AlphaToMask: 0
|
||||||
|
- _AtmosphereThickness: 1
|
||||||
|
- _Blend: 0
|
||||||
|
- _BlendModePreserveSpecular: 1
|
||||||
|
- _BlendOp: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _CameraFadingEnabled: 0
|
||||||
|
- _CameraFarFadeDistance: 2
|
||||||
|
- _CameraNearFadeDistance: 1
|
||||||
|
- _ClearCoatMask: 0
|
||||||
|
- _ClearCoatSmoothness: 0
|
||||||
|
- _ColorMask: 15
|
||||||
|
- _Cull: 0
|
||||||
|
- _CullMode: 18.7
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailAlbedoMapScale: 1
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DistortionBlend: 0.5
|
||||||
|
- _DistortionEnabled: 0
|
||||||
|
- _DistortionStrength: 1
|
||||||
|
- _DistortionStrengthScaled: 0
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _DstBlendAlpha: 0
|
||||||
|
- _Emission: 1
|
||||||
|
- _EmissionEnabled: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _EnableHeightBlend: 0
|
||||||
|
- _EnableInstancedPerPixelNormal: 1
|
||||||
|
- _EnvironmentReflections: 1
|
||||||
|
- _Exposure: 1.03
|
||||||
|
- _FlipbookMode: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0
|
||||||
|
- _GlossinessSource: 0
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _HeightTransition: 0
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 2
|
||||||
|
- _LightingEnabled: 1
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Metallic0: 0
|
||||||
|
- _Metallic1: 0
|
||||||
|
- _Metallic2: 0
|
||||||
|
- _Metallic3: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _NumLayersCount: 1
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _QueueOffset: 50
|
||||||
|
- _ReceiveShadows: 1
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SampleGI: 0
|
||||||
|
- _Shininess: 0.7
|
||||||
|
- _Smoothness: 0.5
|
||||||
|
- _Smoothness0: 0.5
|
||||||
|
- _Smoothness1: 0.5
|
||||||
|
- _Smoothness2: 0.5
|
||||||
|
- _Smoothness3: 0.5
|
||||||
|
- _SmoothnessSource: 0
|
||||||
|
- _SmoothnessTextureChannel: 1
|
||||||
|
- _SoftParticlesEnabled: 0
|
||||||
|
- _SoftParticlesFarFadeDistance: 1
|
||||||
|
- _SoftParticlesNearFadeDistance: 0
|
||||||
|
- _SpecSource: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _SrcBlendAlpha: 1
|
||||||
|
- _Stencil: 0
|
||||||
|
- _StencilComp: 8
|
||||||
|
- _StencilOp: 0
|
||||||
|
- _StencilReadMask: 255
|
||||||
|
- _StencilWriteMask: 255
|
||||||
|
- _SunDisk: 2
|
||||||
|
- _SunSize: 0.04
|
||||||
|
- _SunSizeConvergence: 5
|
||||||
|
- _Surface: 0
|
||||||
|
- _UVSec: 0
|
||||||
|
- _UseUIAlphaClip: 0
|
||||||
|
- _WorkflowMode: 1
|
||||||
|
- _XRMotionVectorsPass: 1
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0}
|
||||||
|
- _ClipRect: {r: -11275, g: -32767, b: 32767, a: 32767}
|
||||||
|
- _Color: {r: 0, g: 0.83456206, b: 1, a: 1}
|
||||||
|
- _Emission: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _GroundColor: {r: 0.36899996, g: 0.34899998, b: 0.34099993, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _SkyTint: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
|
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/DOMEKBARVA.mat.meta
Normal file
8
Assets/Materials/DOMEKBARVA.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 43a59ce0be297c44a94d4266bc86174d
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
100
Assets/Materials/KOMRECNIBARVA.mat
Normal file
100
Assets/Materials/KOMRECNIBARVA.mat
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
%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: KOMRECNIBARVA
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: b2aafd5c840033f44a31e8557fc1aee9, 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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _Exposure: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _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}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/KOMRECNIBARVA.mat.meta
Normal file
8
Assets/Materials/KOMRECNIBARVA.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d7a2ebf8eb383bc43a5203bcaf1b63e2
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
100
Assets/Materials/barvamapa1.mat
Normal file
100
Assets/Materials/barvamapa1.mat
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
%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: barvamapa1
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: 38ab53fd7c012934f80d87d827371c70, 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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _Exposure: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.11974901, g: 0.3358179, b: 0.5518868, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/barvamapa1.mat.meta
Normal file
8
Assets/Materials/barvamapa1.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fbe49e8a4c50f024989408f62bfdcb33
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
100
Assets/Materials/barvamapa11.mat
Normal file
100
Assets/Materials/barvamapa11.mat
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
%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: barvamapa11
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: 38ab53fd7c012934f80d87d827371c70, 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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _Exposure: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.64017385, g: 0.5382698, b: 0.9056604, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/barvamapa11.mat.meta
Normal file
8
Assets/Materials/barvamapa11.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8be50db4bd8c0aa4e884602af1bdccbc
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
100
Assets/Materials/barvamapa2.mat
Normal file
100
Assets/Materials/barvamapa2.mat
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
%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: barvamapa2
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: 38ab53fd7c012934f80d87d827371c70, 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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _Exposure: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.5707547, g: 0.58085465, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/barvamapa2.mat.meta
Normal file
8
Assets/Materials/barvamapa2.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f745f6d4b3e89844aadf9e01fcf41cf3
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
100
Assets/Materials/barvamapa3.mat
Normal file
100
Assets/Materials/barvamapa3.mat
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
%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: barvamapa3
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: 38ab53fd7c012934f80d87d827371c70, 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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _Exposure: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.4009434, g: 0.4009434, b: 0.4009434, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/barvamapa3.mat.meta
Normal file
8
Assets/Materials/barvamapa3.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e5e090726056f374dbbd3a626772822f
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
100
Assets/Materials/barvamapa4.mat
Normal file
100
Assets/Materials/barvamapa4.mat
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
%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: barvamapa4
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: 38ab53fd7c012934f80d87d827371c70, 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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _Exposure: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.5754717, g: 0.5754717, b: 0.5754717, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/barvamapa4.mat.meta
Normal file
8
Assets/Materials/barvamapa4.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a83875b5ebf7d7b42a074d07e791fee7
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
100
Assets/Materials/barvamapa5.mat
Normal file
100
Assets/Materials/barvamapa5.mat
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
%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: barvamapa5
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: 38ab53fd7c012934f80d87d827371c70, 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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _Exposure: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.5566038, g: 0.9338248, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/barvamapa5.mat.meta
Normal file
8
Assets/Materials/barvamapa5.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c4c816c88b520f649a38ab2b4e1716f4
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
32
Assets/Materials/barvamapa6.mat
Normal file
32
Assets/Materials/barvamapa6.mat
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
%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: barvamapa6
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 2100000, guid: c4c816c88b520f649a38ab2b4e1716f4, type: 2}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs: []
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats: []
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.9800406, g: 0.6084906, b: 1, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/barvamapa6.mat.meta
Normal file
8
Assets/Materials/barvamapa6.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 616bfa229ebc56548ae11df790a4cf12
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
100
Assets/Materials/barvamapa7.mat
Normal file
100
Assets/Materials/barvamapa7.mat
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
%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: barvamapa7
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: 38ab53fd7c012934f80d87d827371c70, 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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _Exposure: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.5754717, g: 0.5754717, b: 0.5754717, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/barvamapa7.mat.meta
Normal file
8
Assets/Materials/barvamapa7.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2faa8c507cbdf4e44bda99e39e5ee03d
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
100
Assets/Materials/barvamapa8.mat
Normal file
100
Assets/Materials/barvamapa8.mat
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
%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: barvamapa8
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: 38ab53fd7c012934f80d87d827371c70, 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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _Exposure: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.63918453, g: 0.8113208, b: 0.36739054, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/barvamapa8.mat.meta
Normal file
8
Assets/Materials/barvamapa8.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1848627499bdc424fa11b913e3aa2c1d
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
32
Assets/Materials/barvamapa9.mat
Normal file
32
Assets/Materials/barvamapa9.mat
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
%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: barvamapa9
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 2100000, guid: 8be50db4bd8c0aa4e884602af1bdccbc, type: 2}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs: []
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats: []
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.754717, g: 0.40583837, b: 0.40583837, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/barvamapa9.mat.meta
Normal file
8
Assets/Materials/barvamapa9.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 33108960a53974744ae1f1f329275c9d
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
101
Assets/Materials/bilabarva.mat
Normal file
101
Assets/Materials/bilabarva.mat
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
%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: bilabarva
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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}
|
||||||
|
- _DecalTex:
|
||||||
|
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: 0}
|
||||||
|
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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _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}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/bilabarva.mat.meta
Normal file
8
Assets/Materials/bilabarva.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3e5ab1daf40a3b54995d5f1453f1d199
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
100
Assets/Materials/industrybarva.mat
Normal file
100
Assets/Materials/industrybarva.mat
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
%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: industrybarva
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: 38ab53fd7c012934f80d87d827371c70, 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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _Exposure: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _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}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/industrybarva.mat.meta
Normal file
8
Assets/Materials/industrybarva.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 30078b48eb864694dbcb63ce7a222fc4
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
92
Assets/Materials/mapamaterial1.mat
Normal file
92
Assets/Materials/mapamaterial1.mat
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
%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: mapamaterial1
|
||||||
|
m_Shader: {fileID: 108, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
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: c72a02e6a4cda274ba055c14119e8b9c, 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
|
||||||
|
- _Exposure: 0.64
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _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}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/mapamaterial1.mat.meta
Normal file
8
Assets/Materials/mapamaterial1.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 746910162b3ccfe469ca492e61529149
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Materials/mapasketch1.png
Normal file
BIN
Assets/Materials/mapasketch1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
143
Assets/Materials/mapasketch1.png.meta
Normal file
143
Assets/Materials/mapasketch1.png.meta
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c72a02e6a4cda274ba055c14119e8b9c
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
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
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 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: 2
|
||||||
|
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
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: iOS
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Materials/mapasketch2.png
Normal file
BIN
Assets/Materials/mapasketch2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.5 MiB |
143
Assets/Materials/mapasketch2.png.meta
Normal file
143
Assets/Materials/mapasketch2.png.meta
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 38ab53fd7c012934f80d87d827371c70
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
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
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 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
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: iOS
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Materials/mapasketch3.png
Normal file
BIN
Assets/Materials/mapasketch3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
143
Assets/Materials/mapasketch3.png.meta
Normal file
143
Assets/Materials/mapasketch3.png.meta
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b2aafd5c840033f44a31e8557fc1aee9
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
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
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 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
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: iOS
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Materials/mapasketch4.png
Normal file
BIN
Assets/Materials/mapasketch4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
143
Assets/Materials/mapasketch4.png.meta
Normal file
143
Assets/Materials/mapasketch4.png.meta
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 32916b4706c84ce49860456b9ad4ae9b
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
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
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 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
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: iOS
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
100
Assets/Materials/resdientbarva.mat
Normal file
100
Assets/Materials/resdientbarva.mat
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
%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: resdientbarva
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords:
|
||||||
|
- _MAPPING_LATITUDE_LONGITUDE_LAYOUT
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
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: 32916b4706c84ce49860456b9ad4ae9b, 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:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _Exposure: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _ImageType: 0
|
||||||
|
- _Layout: 0
|
||||||
|
- _Mapping: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _MirrorOnBack: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Rotation: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _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}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/resdientbarva.mat.meta
Normal file
8
Assets/Materials/resdientbarva.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 89d2bedc1d2a91c41bde57194b987ea9
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
92
Assets/Materials/skyboxmapa.mat
Normal file
92
Assets/Materials/skyboxmapa.mat
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
%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: skyboxmapa
|
||||||
|
m_Shader: {fileID: 106, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords:
|
||||||
|
- _SUNDISK_HIGH_QUALITY
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
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: 0}
|
||||||
|
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:
|
||||||
|
- _AtmosphereThickness: 1.49
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _Exposure: 0.64
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 1
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _SunDisk: 2
|
||||||
|
- _SunSize: 0.079
|
||||||
|
- _SunSizeConvergence: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.38499022, g: 0.5707547, b: 0.5436759, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _GroundColor: {r: 0.4265308, g: 0.6367924, b: 0.38447845, a: 1}
|
||||||
|
- _SkyTint: {r: 0.31372374, g: 0.7075472, b: 0.7028023, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/skyboxmapa.mat.meta
Normal file
8
Assets/Materials/skyboxmapa.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0337b365d5f06d243a86ead984b59b6c
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/New Material.mat.meta
Normal file
8
Assets/New Material.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7142a58f80866aba3ae4ffeb79d5f67c
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -1508,7 +1508,7 @@ MonoBehaviour:
|
|||||||
m_text: Loading...
|
m_text: Loading...
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
m_sharedMaterial: {fileID: 2100000, guid: 9ad269c99dcf42b7aedefd83dd5a7b9d, type: 2}
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
m_fontSharedMaterials: []
|
m_fontSharedMaterials: []
|
||||||
m_fontMaterial: {fileID: 0}
|
m_fontMaterial: {fileID: 0}
|
||||||
m_fontMaterials: []
|
m_fontMaterials: []
|
||||||
@@ -1669,12 +1669,12 @@ Transform:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1010702369}
|
m_GameObject: {fileID: 1010702369}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
|
m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068}
|
||||||
m_LocalPosition: {x: 0, y: 290.6, z: 0}
|
m_LocalPosition: {x: 0, y: 29.01, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 0.1, y: 0.1, z: 0.1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 1161233725}
|
||||||
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
|
||||||
--- !u!1 &1161233721
|
--- !u!1 &1161233721
|
||||||
GameObject:
|
GameObject:
|
||||||
@@ -1788,6 +1788,7 @@ Transform:
|
|||||||
m_ConstrainProportionsScale: 1
|
m_ConstrainProportionsScale: 1
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 751597274}
|
- {fileID: 751597274}
|
||||||
|
- {fileID: 1010702372}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1 &1222944786
|
--- !u!1 &1222944786
|
||||||
@@ -2233,53 +2234,53 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1353866370}
|
m_GameObject: {fileID: 1353866370}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 9e2c3e4ba4e36ea40a686e58feca4d2b, type: 3}
|
m_Script: {fileID: 11500000, guid: 22bf82e679cf6e1419440d236360ba3b, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier: Assembly-CSharp::GameManager
|
m_EditorClassIdentifier: Assembly-CSharp::GameManager
|
||||||
displayName: Player
|
displayName:
|
||||||
JoinCreateLobby: {fileID: 1403738864}
|
JoinCreateLobby: {fileID: 1403738864}
|
||||||
InLobby: {fileID: 12226903}
|
InLobby: {fileID: 12226903}
|
||||||
LoadingScreen: {fileID: 247614966}
|
LoadingScreen: {fileID: 247614966}
|
||||||
GameScreen: {fileID: 1631266632}
|
GameScreen: {fileID: 1631266632}
|
||||||
MapCenterPoint: {fileID: 216559629}
|
MapCenterPoint: {fileID: 216559629}
|
||||||
buildingSettings:
|
buildingSettings:
|
||||||
ResidentalBuildingsMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
ResidentialBuildingsMat: {fileID: 2100000, guid: 43a59ce0be297c44a94d4266bc86174d, type: 2}
|
||||||
ResidentalBuildingHeight: 3
|
ResidentialBuildingHeight: 0
|
||||||
CommercialBuildingsMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
CommercialBuildingsMat: {fileID: 2100000, guid: d7a2ebf8eb383bc43a5203bcaf1b63e2, type: 2}
|
||||||
CommercialBuildingHeight: 10
|
CommercialBuildingHeight: 8
|
||||||
IndustrialBuildingsMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
IndustrialBuildingsMat: {fileID: 2100000, guid: 30078b48eb864694dbcb63ce7a222fc4, type: 2}
|
||||||
IndustrialBuildingHeight: 5
|
IndustrialBuildingHeight: 15
|
||||||
DefaultBuildingMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
DefaultBuildingMat: {fileID: 2100000, guid: 43a59ce0be297c44a94d4266bc86174d, type: 2}
|
||||||
DefaultBuildingHeight: 3
|
DefaultBuildingHeight: 30
|
||||||
pathwaySettings:
|
pathwaySettings:
|
||||||
FootwayMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
FootwayMat: {fileID: 2100000, guid: fbe49e8a4c50f024989408f62bfdcb33, type: 2}
|
||||||
FootwayWidth: 1
|
FootwayWidth: 3
|
||||||
PathMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
PathMat: {fileID: 2100000, guid: f745f6d4b3e89844aadf9e01fcf41cf3, type: 2}
|
||||||
PathWidth: 1
|
PathWidth: 3
|
||||||
StepsMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
StepsMat: {fileID: 2100000, guid: e5e090726056f374dbbd3a626772822f, type: 2}
|
||||||
StepsWidth: 2
|
StepsWidth: 4
|
||||||
CyclewayMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
CyclewayMat: {fileID: 2100000, guid: a83875b5ebf7d7b42a074d07e791fee7, type: 2}
|
||||||
CyclewayWidth: 2
|
CyclewayWidth: 4
|
||||||
PedestrianMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
PedestrianMat: {fileID: 2100000, guid: c4c816c88b520f649a38ab2b4e1716f4, type: 2}
|
||||||
PedestrianWidth: 2
|
PedestrianWidth: 4
|
||||||
RoadMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
RoadMat: {fileID: 2100000, guid: 616bfa229ebc56548ae11df790a4cf12, type: 2}
|
||||||
RoadWidth: 5
|
RoadWidth: 5
|
||||||
ServiceMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
ServiceMat: {fileID: 2100000, guid: 2faa8c507cbdf4e44bda99e39e5ee03d, type: 2}
|
||||||
ServiceWidth: 3
|
ServiceWidth: 5
|
||||||
ResidentialMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
ResidentialMat: {fileID: 2100000, guid: 1848627499bdc424fa11b913e3aa2c1d, type: 2}
|
||||||
ResidentialWidth: 5
|
ResidentialWidth: 6
|
||||||
TrackMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
TrackMat: {fileID: 2100000, guid: 33108960a53974744ae1f1f329275c9d, type: 2}
|
||||||
TrackWidth: 5
|
TrackWidth: 6
|
||||||
DefaultMat: {fileID: 2100000, guid: 6744524496c8e1549882277283c132cc, type: 2}
|
DefaultMat: {fileID: 2100000, guid: 8be50db4bd8c0aa4e884602af1bdccbc, type: 2}
|
||||||
DefaultWidth: 5
|
DefaultWidth: 5
|
||||||
areaSettings:
|
areaSettings:
|
||||||
ParkMat: {fileID: 2100000, guid: 5a46533bdf4003449bc9146ccef44e27, type: 2}
|
ParkMat: {fileID: 0}
|
||||||
GardenMat: {fileID: 2100000, guid: 5a46533bdf4003449bc9146ccef44e27, type: 2}
|
GardenMat: {fileID: 0}
|
||||||
PlaygroundMat: {fileID: 2100000, guid: 5a46533bdf4003449bc9146ccef44e27, type: 2}
|
PlaygroundMat: {fileID: 0}
|
||||||
ForestMat: {fileID: 2100000, guid: 5a46533bdf4003449bc9146ccef44e27, type: 2}
|
ForestMat: {fileID: 0}
|
||||||
GrassMat: {fileID: 2100000, guid: 5a46533bdf4003449bc9146ccef44e27, type: 2}
|
GrassMat: {fileID: 0}
|
||||||
WaterMat: {fileID: 2100000, guid: 5a46533bdf4003449bc9146ccef44e27, type: 2}
|
WaterMat: {fileID: 0}
|
||||||
DefaultMat: {fileID: 2100000, guid: 5a46533bdf4003449bc9146ccef44e27, type: 2}
|
DefaultMat: {fileID: 0}
|
||||||
Player: {fileID: 1161233721}
|
Player: {fileID: 1161233721}
|
||||||
testMode: 1
|
testMode: 1
|
||||||
--- !u!1 &1403738861
|
--- !u!1 &1403738861
|
||||||
@@ -2348,7 +2349,7 @@ Canvas:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1403738861}
|
m_GameObject: {fileID: 1403738861}
|
||||||
m_Enabled: 0
|
m_Enabled: 1
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_RenderMode: 1
|
m_RenderMode: 1
|
||||||
m_Camera: {fileID: 1010702371}
|
m_Camera: {fileID: 1010702371}
|
||||||
@@ -3421,10 +3422,9 @@ CanvasRenderer:
|
|||||||
SceneRoots:
|
SceneRoots:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_Roots:
|
m_Roots:
|
||||||
- {fileID: 1010702372}
|
|
||||||
- {fileID: 442151208}
|
- {fileID: 442151208}
|
||||||
- {fileID: 1353866371}
|
|
||||||
- {fileID: 1403738865}
|
- {fileID: 1403738865}
|
||||||
|
- {fileID: 1353866371}
|
||||||
- {fileID: 157221436}
|
- {fileID: 157221436}
|
||||||
- {fileID: 12226904}
|
- {fileID: 12226904}
|
||||||
- {fileID: 247614967}
|
- {fileID: 247614967}
|
||||||
|
|||||||
@@ -13,9 +13,8 @@ Material:
|
|||||||
m_ModifiedSerializedProperties: 0
|
m_ModifiedSerializedProperties: 0
|
||||||
m_ValidKeywords:
|
m_ValidKeywords:
|
||||||
- _EMISSION
|
- _EMISSION
|
||||||
- _NORMALMAP
|
|
||||||
m_InvalidKeywords: []
|
m_InvalidKeywords: []
|
||||||
m_LightmapFlags: 1
|
m_LightmapFlags: 7
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 0
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
@@ -52,7 +51,7 @@ Material:
|
|||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- _MainTex:
|
- _MainTex:
|
||||||
m_Texture: {fileID: 2800000, guid: 602cb87b6a29443b8636370ea0751574, type: 3}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- _MetallicGlossMap:
|
- _MetallicGlossMap:
|
||||||
@@ -115,6 +114,7 @@ Material:
|
|||||||
- _SrcBlendAlpha: 1
|
- _SrcBlendAlpha: 1
|
||||||
- _Surface: 0
|
- _Surface: 0
|
||||||
- _WorkflowMode: 1
|
- _WorkflowMode: 1
|
||||||
|
- _XRMotionVectorsPass: 1
|
||||||
- _ZWrite: 1
|
- _ZWrite: 1
|
||||||
m_Colors:
|
m_Colors:
|
||||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 0.7137255}
|
- _BaseColor: {r: 1, g: 1, b: 1, a: 0.7137255}
|
||||||
@@ -135,4 +135,4 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
version: 9
|
version: 10
|
||||||
|
|||||||
@@ -2,206 +2,108 @@
|
|||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!21 &2100000
|
--- !u!21 &2100000
|
||||||
Material:
|
Material:
|
||||||
serializedVersion: 6
|
serializedVersion: 8
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_PrefabParentObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInternal: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: Ground - Logo Scene
|
m_Name: Ground - Logo Scene
|
||||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_ShaderKeywords: _NORMALMAP
|
m_Parent: {fileID: 0}
|
||||||
m_LightmapFlags: 5
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords:
|
||||||
|
- _EMISSION
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 1
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap: {}
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
m_SavedProperties:
|
m_SavedProperties:
|
||||||
serializedVersion: 2
|
serializedVersion: 3
|
||||||
m_TexEnvs:
|
m_TexEnvs:
|
||||||
data:
|
- _BorderTex:
|
||||||
first:
|
m_Texture: {fileID: 0}
|
||||||
name: _MainTex
|
m_Scale: {x: 1, y: 1}
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 1cdc5b506b1a4a33a53c30669ced1f51, type: 3}
|
|
||||||
m_Scale: {x: 20, y: 20}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
data:
|
- _BumpMap:
|
||||||
first:
|
|
||||||
name: _BumpMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 8b8c8a10edf94ddc8cc4cc4fcd5696a9, type: 3}
|
m_Texture: {fileID: 2800000, guid: 8b8c8a10edf94ddc8cc4cc4fcd5696a9, type: 3}
|
||||||
m_Scale: {x: 30, y: 50}
|
m_Scale: {x: 30, y: 50}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
data:
|
- _DetailAlbedoMap:
|
||||||
first:
|
|
||||||
name: _DetailNormalMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
data:
|
- _DetailMask:
|
||||||
first:
|
|
||||||
name: _ParallaxMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
data:
|
- _DetailNormalMap:
|
||||||
first:
|
|
||||||
name: _OcclusionMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
data:
|
- _EdgeTex:
|
||||||
first:
|
|
||||||
name: _EmissionMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
data:
|
- _EmissionMap:
|
||||||
first:
|
|
||||||
name: _DetailMask
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
data:
|
- _FillTex:
|
||||||
first:
|
|
||||||
name: _DetailAlbedoMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
data:
|
- _MainTex:
|
||||||
first:
|
m_Texture: {fileID: 2800000, guid: 1cdc5b506b1a4a33a53c30669ced1f51, type: 3}
|
||||||
name: _MetallicGlossMap
|
m_Scale: {x: 20, y: 20}
|
||||||
second:
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
data:
|
- _OcclusionMap:
|
||||||
first:
|
|
||||||
name: _BorderTex
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
data:
|
- _ParallaxMap:
|
||||||
first:
|
|
||||||
name: _FillTex
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _EdgeTex
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
m_Floats:
|
m_Floats:
|
||||||
data:
|
- _Border: 0.021428574
|
||||||
first:
|
- _BumpScale: 1
|
||||||
name: _SrcBlend
|
- _Cutoff: 0.5
|
||||||
second: 1
|
- _DetailNormalMapScale: 1
|
||||||
data:
|
- _DiffusePower: 1
|
||||||
first:
|
- _DstBlend: 0
|
||||||
name: _DstBlend
|
- _EdgeSoftness: 0
|
||||||
second: 0
|
- _EdgeWidth: 0
|
||||||
data:
|
- _EmissionScaleUI: 0
|
||||||
first:
|
- _GlossMapScale: 1
|
||||||
name: _Radius
|
- _Glossiness: 0.344
|
||||||
second: 0
|
- _GlossyReflections: 1
|
||||||
data:
|
- _Metallic: 0
|
||||||
first:
|
- _Mode: 0
|
||||||
name: _Cutoff
|
- _OcclusionStrength: 1
|
||||||
second: .5
|
- _Parallax: 0.02
|
||||||
data:
|
- _Radius: 0
|
||||||
first:
|
- _Shininess: 0.22035475
|
||||||
name: _Shininess
|
- _Size: 0.1
|
||||||
second: .220354751
|
- _SmoothnessTextureChannel: 0
|
||||||
data:
|
- _SpecularHighlights: 1
|
||||||
first:
|
- _SrcBlend: 1
|
||||||
name: _Parallax
|
- _UVSec: 0
|
||||||
second: .0199999996
|
- _ZWrite: 1
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _ZWrite
|
|
||||||
second: 1
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _Glossiness
|
|
||||||
second: .344000012
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _BumpScale
|
|
||||||
second: 1
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _OcclusionStrength
|
|
||||||
second: 1
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _DetailNormalMapScale
|
|
||||||
second: 1
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _UVSec
|
|
||||||
second: 0
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _Mode
|
|
||||||
second: 0
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _Metallic
|
|
||||||
second: 0
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _EmissionScaleUI
|
|
||||||
second: 0
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _EdgeSoftness
|
|
||||||
second: 0
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _DiffusePower
|
|
||||||
second: 1
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _Border
|
|
||||||
second: .0214285739
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _Size
|
|
||||||
second: .100000001
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _EdgeWidth
|
|
||||||
second: 0
|
|
||||||
m_Colors:
|
m_Colors:
|
||||||
data:
|
- _BorderColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
first:
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
name: _EmissionColor
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0}
|
||||||
second: {r: 0, g: 0, b: 0, a: 0}
|
- _EmissionColorUI: {r: 1, g: 1, b: 1, a: 1}
|
||||||
data:
|
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
first:
|
- _SpecColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
name: _Color
|
m_BuildTextureStacks: []
|
||||||
second: {r: 1, g: 1, b: 1, a: 1}
|
m_AllowLocking: 1
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _SpecColor
|
|
||||||
second: {r: .5, g: .5, b: .5, a: 1}
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _EmissionColorUI
|
|
||||||
second: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _FaceColor
|
|
||||||
second: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _BorderColor
|
|
||||||
second: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Material:
|
|||||||
m_ValidKeywords:
|
m_ValidKeywords:
|
||||||
- _EMISSION
|
- _EMISSION
|
||||||
m_InvalidKeywords: []
|
m_InvalidKeywords: []
|
||||||
m_LightmapFlags: 1
|
m_LightmapFlags: 7
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 0
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
@@ -67,7 +67,7 @@ Material:
|
|||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- _MainTex:
|
- _MainTex:
|
||||||
m_Texture: {fileID: 2800000, guid: 85ac55597b97403c82fc6601a93cf241, type: 3}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 5, y: 5}
|
m_Scale: {x: 5, y: 5}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- _MetallicGlossMap:
|
- _MetallicGlossMap:
|
||||||
@@ -147,6 +147,7 @@ Material:
|
|||||||
- _Surface: 0
|
- _Surface: 0
|
||||||
- _UVSec: 0
|
- _UVSec: 0
|
||||||
- _WorkflowMode: 1
|
- _WorkflowMode: 1
|
||||||
|
- _XRMotionVectorsPass: 1
|
||||||
- _ZWrite: 1
|
- _ZWrite: 1
|
||||||
m_Colors:
|
m_Colors:
|
||||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
@@ -170,4 +171,4 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
version: 9
|
version: 10
|
||||||
|
|||||||
@@ -2,126 +2,84 @@
|
|||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!21 &2100000
|
--- !u!21 &2100000
|
||||||
Material:
|
Material:
|
||||||
serializedVersion: 6
|
serializedVersion: 8
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_PrefabParentObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInternal: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: Small Crate_diffuse
|
m_Name: Small Crate_diffuse
|
||||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_ShaderKeywords: _EMISSION _NORMALMAP
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords:
|
||||||
|
- _EMISSION
|
||||||
|
m_InvalidKeywords: []
|
||||||
m_LightmapFlags: 1
|
m_LightmapFlags: 1
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap: {}
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
m_SavedProperties:
|
m_SavedProperties:
|
||||||
serializedVersion: 2
|
serializedVersion: 3
|
||||||
m_TexEnvs:
|
m_TexEnvs:
|
||||||
- first:
|
- _BumpMap:
|
||||||
name: _BumpMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 8878a782f4334ecbbcf683b3ac780966, type: 3}
|
m_Texture: {fileID: 2800000, guid: 8878a782f4334ecbbcf683b3ac780966, type: 3}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- first:
|
- _DetailAlbedoMap:
|
||||||
name: _DetailAlbedoMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- first:
|
- _DetailMask:
|
||||||
name: _DetailMask
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- first:
|
- _DetailNormalMap:
|
||||||
name: _DetailNormalMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- first:
|
- _EmissionMap:
|
||||||
name: _EmissionMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- first:
|
- _MainTex:
|
||||||
name: _MainTex
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 602cb87b6a29443b8636370ea0751574, type: 3}
|
m_Texture: {fileID: 2800000, guid: 602cb87b6a29443b8636370ea0751574, type: 3}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- first:
|
- _MetallicGlossMap:
|
||||||
name: _MetallicGlossMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- first:
|
- _OcclusionMap:
|
||||||
name: _OcclusionMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- first:
|
- _ParallaxMap:
|
||||||
name: _ParallaxMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
m_Floats:
|
m_Floats:
|
||||||
- first:
|
- _BumpScale: 1
|
||||||
name: _BumpScale
|
- _Cutoff: 0.5
|
||||||
second: 1
|
- _DetailNormalMapScale: 1
|
||||||
- first:
|
- _DstBlend: 0
|
||||||
name: _Cutoff
|
- _GlossMapScale: 1
|
||||||
second: 0.5
|
- _Glossiness: 0.5
|
||||||
- first:
|
- _GlossyReflections: 1
|
||||||
name: _DetailNormalMapScale
|
- _Metallic: 0
|
||||||
second: 1
|
- _Mode: 0
|
||||||
- first:
|
- _OcclusionStrength: 1
|
||||||
name: _DstBlend
|
- _Parallax: 0.02
|
||||||
second: 0
|
- _SmoothnessTextureChannel: 0
|
||||||
- first:
|
- _SpecularHighlights: 1
|
||||||
name: _GlossMapScale
|
- _SrcBlend: 1
|
||||||
second: 1
|
- _UVSec: 0
|
||||||
- first:
|
- _ZWrite: 1
|
||||||
name: _Glossiness
|
|
||||||
second: 0.5
|
|
||||||
- first:
|
|
||||||
name: _GlossyReflections
|
|
||||||
second: 1
|
|
||||||
- first:
|
|
||||||
name: _Metallic
|
|
||||||
second: 0
|
|
||||||
- first:
|
|
||||||
name: _Mode
|
|
||||||
second: 0
|
|
||||||
- first:
|
|
||||||
name: _OcclusionStrength
|
|
||||||
second: 1
|
|
||||||
- first:
|
|
||||||
name: _Parallax
|
|
||||||
second: 0.02
|
|
||||||
- first:
|
|
||||||
name: _SmoothnessTextureChannel
|
|
||||||
second: 0
|
|
||||||
- first:
|
|
||||||
name: _SpecularHighlights
|
|
||||||
second: 1
|
|
||||||
- first:
|
|
||||||
name: _SrcBlend
|
|
||||||
second: 1
|
|
||||||
- first:
|
|
||||||
name: _UVSec
|
|
||||||
second: 0
|
|
||||||
- first:
|
|
||||||
name: _ZWrite
|
|
||||||
second: 1
|
|
||||||
m_Colors:
|
m_Colors:
|
||||||
- first:
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
name: _Color
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
second: {r: 1, g: 1, b: 1, a: 1}
|
m_BuildTextureStacks: []
|
||||||
- first:
|
m_AllowLocking: 1
|
||||||
name: _EmissionColor
|
|
||||||
second: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
version: 9
|
version: 10
|
||||||
--- !u!21 &2100000
|
--- !u!21 &2100000
|
||||||
Material:
|
Material:
|
||||||
serializedVersion: 8
|
serializedVersion: 8
|
||||||
|
|||||||
@@ -154,4 +154,4 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
version: 9
|
version: 10
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
8
Assets/_Recovery.meta
Normal file
8
Assets/_Recovery.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b9c8f9e5bbf063b4fb1152966129a495
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/diamonds1.meta
Normal file
8
Assets/diamonds1.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0707c43085a5aef49a5accc035396eff
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/host a join.meta
Normal file
8
Assets/host a join.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0f6331bfef5b3a00cb6f84141e60f9c4
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/main menu.meta
Normal file
8
Assets/main menu.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 43d195e24415843378eb1b53e9e1da18
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/prefabs.meta
Normal file
8
Assets/prefabs.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9868a99cf3ec1264c98aaab7374cc60f
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -7,7 +7,9 @@
|
|||||||
"com.unity.ide.visualstudio": "2.0.25",
|
"com.unity.ide.visualstudio": "2.0.25",
|
||||||
"com.unity.localization": "1.5.9",
|
"com.unity.localization": "1.5.9",
|
||||||
"com.unity.multiplayer.center": "1.0.0",
|
"com.unity.multiplayer.center": "1.0.0",
|
||||||
|
"com.unity.nuget.newtonsoft-json": "3.2.2",
|
||||||
"com.unity.remote-config": "4.2.5",
|
"com.unity.remote-config": "4.2.5",
|
||||||
|
"com.unity.render-pipelines.universal": "17.2.0",
|
||||||
"com.unity.ugui": "2.0.0",
|
"com.unity.ugui": "2.0.0",
|
||||||
"com.unity.modules.accessibility": "1.0.0",
|
"com.unity.modules.accessibility": "1.0.0",
|
||||||
"com.unity.modules.ai": "1.0.0",
|
"com.unity.modules.ai": "1.0.0",
|
||||||
|
|||||||
@@ -121,7 +121,7 @@
|
|||||||
},
|
},
|
||||||
"com.unity.burst": {
|
"com.unity.burst": {
|
||||||
"version": "1.8.25",
|
"version": "1.8.25",
|
||||||
"depth": 3,
|
"depth": 2,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.mathematics": "1.2.1",
|
"com.unity.mathematics": "1.2.1",
|
||||||
@@ -212,8 +212,8 @@
|
|||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.nuget.newtonsoft-json": {
|
"com.unity.nuget.newtonsoft-json": {
|
||||||
"version": "3.2.1",
|
"version": "3.2.2",
|
||||||
"depth": 1,
|
"depth": 0,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
@@ -249,6 +249,49 @@
|
|||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
|
"com.unity.render-pipelines.core": {
|
||||||
|
"version": "17.2.0",
|
||||||
|
"depth": 1,
|
||||||
|
"source": "builtin",
|
||||||
|
"dependencies": {
|
||||||
|
"com.unity.burst": "1.8.14",
|
||||||
|
"com.unity.mathematics": "1.3.2",
|
||||||
|
"com.unity.ugui": "2.0.0",
|
||||||
|
"com.unity.collections": "2.4.3",
|
||||||
|
"com.unity.modules.physics": "1.0.0",
|
||||||
|
"com.unity.modules.terrain": "1.0.0",
|
||||||
|
"com.unity.modules.jsonserialize": "1.0.0",
|
||||||
|
"com.unity.rendering.light-transport": "1.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com.unity.render-pipelines.universal": {
|
||||||
|
"version": "17.2.0",
|
||||||
|
"depth": 0,
|
||||||
|
"source": "builtin",
|
||||||
|
"dependencies": {
|
||||||
|
"com.unity.render-pipelines.core": "17.2.0",
|
||||||
|
"com.unity.shadergraph": "17.2.0",
|
||||||
|
"com.unity.render-pipelines.universal-config": "17.0.3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com.unity.render-pipelines.universal-config": {
|
||||||
|
"version": "17.0.3",
|
||||||
|
"depth": 1,
|
||||||
|
"source": "builtin",
|
||||||
|
"dependencies": {
|
||||||
|
"com.unity.render-pipelines.core": "17.0.3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com.unity.rendering.light-transport": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"depth": 2,
|
||||||
|
"source": "builtin",
|
||||||
|
"dependencies": {
|
||||||
|
"com.unity.collections": "2.2.0",
|
||||||
|
"com.unity.mathematics": "1.2.4",
|
||||||
|
"com.unity.modules.terrain": "1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"com.unity.scriptablebuildpipeline": {
|
"com.unity.scriptablebuildpipeline": {
|
||||||
"version": "2.4.3",
|
"version": "2.4.3",
|
||||||
"depth": 2,
|
"depth": 2,
|
||||||
@@ -259,6 +302,13 @@
|
|||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
|
"com.unity.searcher": {
|
||||||
|
"version": "4.9.3",
|
||||||
|
"depth": 2,
|
||||||
|
"source": "registry",
|
||||||
|
"dependencies": {},
|
||||||
|
"url": "https://packages.unity.com"
|
||||||
|
},
|
||||||
"com.unity.services.authentication": {
|
"com.unity.services.authentication": {
|
||||||
"version": "3.4.1",
|
"version": "3.4.1",
|
||||||
"depth": 2,
|
"depth": 2,
|
||||||
@@ -282,6 +332,15 @@
|
|||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
|
"com.unity.shadergraph": {
|
||||||
|
"version": "17.2.0",
|
||||||
|
"depth": 1,
|
||||||
|
"source": "builtin",
|
||||||
|
"dependencies": {
|
||||||
|
"com.unity.render-pipelines.core": "17.2.0",
|
||||||
|
"com.unity.searcher": "4.9.3"
|
||||||
|
}
|
||||||
|
},
|
||||||
"com.unity.test-framework": {
|
"com.unity.test-framework": {
|
||||||
"version": "1.6.0",
|
"version": "1.6.0",
|
||||||
"depth": 1,
|
"depth": 1,
|
||||||
|
|||||||
@@ -36,10 +36,8 @@ GraphicsSettings:
|
|||||||
- {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
|
- {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_PreloadedShaders: []
|
m_PreloadedShaders: []
|
||||||
m_PreloadShadersBatchTimeLimit: -1
|
m_PreloadShadersBatchTimeLimit: -1
|
||||||
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
|
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
type: 0}
|
m_CustomRenderPipeline: {fileID: 11400000, guid: 4b83569d67af61e458304325a23e5dfd, type: 2}
|
||||||
m_CustomRenderPipeline: {fileID: 11400000, guid: 4b83569d67af61e458304325a23e5dfd,
|
|
||||||
type: 2}
|
|
||||||
m_TransparencySortMode: 0
|
m_TransparencySortMode: 0
|
||||||
m_TransparencySortAxis: {x: 0, y: 0, z: 1}
|
m_TransparencySortAxis: {x: 0, y: 0, z: 1}
|
||||||
m_DefaultRenderingPath: 1
|
m_DefaultRenderingPath: 1
|
||||||
@@ -60,8 +58,7 @@ GraphicsSettings:
|
|||||||
m_FogKeepExp2: 1
|
m_FogKeepExp2: 1
|
||||||
m_AlbedoSwatchInfos: []
|
m_AlbedoSwatchInfos: []
|
||||||
m_RenderPipelineGlobalSettingsMap:
|
m_RenderPipelineGlobalSettingsMap:
|
||||||
UnityEngine.Rendering.Universal.UniversalRenderPipeline: {fileID: 11400000, guid: 18dc0cd2c080841dea60987a38ce93fa,
|
UnityEngine.Rendering.Universal.UniversalRenderPipeline: {fileID: 11400000, guid: 800007f585dbb8d409bce87a3ccad193, type: 2}
|
||||||
type: 2}
|
|
||||||
m_LightsUseLinearIntensity: 1
|
m_LightsUseLinearIntensity: 1
|
||||||
m_LightsUseColorTemperature: 1
|
m_LightsUseColorTemperature: 1
|
||||||
m_LogWhenShaderIsCompiled: 0
|
m_LogWhenShaderIsCompiled: 0
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"m_Dictionary": {
|
||||||
|
"m_DictionaryValues": []
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user