@@ -213,7 +213,7 @@ Material:
|
||||
- _Dst: 10
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EdgeValue: 0.4454634
|
||||
- _EdgeValue: 0.5453637
|
||||
- _EnvironmentReflections: 1
|
||||
- _FNLfanxiangkaiguan: 0
|
||||
- _Face: 1
|
||||
@@ -258,7 +258,7 @@ Material:
|
||||
- _Mask_scale: 1
|
||||
- _Metallic: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Opacity: 0.5545366
|
||||
- _Opacity: 0.45463628
|
||||
- _Parallax: 0.005
|
||||
- _Pass: 0
|
||||
- _QueueOffset: 0
|
||||
|
||||
Binary file not shown.
@@ -6,7 +6,6 @@ using System.Linq;
|
||||
using Ichni;
|
||||
using UnityEditor;
|
||||
using UnityEditor.Build;
|
||||
using UnityEditor.Build.Reporting;
|
||||
using UnityEngine;
|
||||
|
||||
/// <summary>
|
||||
@@ -107,13 +106,18 @@ public class BuildAssetBundle
|
||||
}
|
||||
}
|
||||
|
||||
public class AssetBundleBuildPreprocessor : IPreprocessBuildWithReport
|
||||
[InitializeOnLoad]
|
||||
public static class AssetBundleBuildPlayerHandler
|
||||
{
|
||||
public int callbackOrder => 0;
|
||||
|
||||
public void OnPreprocessBuild(BuildReport report)
|
||||
static AssetBundleBuildPlayerHandler()
|
||||
{
|
||||
Debug.Log($"Rebuild AssetBundles before player build: {report.summary.platform}");
|
||||
BuildAssetBundle.BuildForTarget(report.summary.platform);
|
||||
BuildPlayerWindow.RegisterBuildPlayerHandler(BuildPlayerWithAssetBundles);
|
||||
}
|
||||
|
||||
private static void BuildPlayerWithAssetBundles(BuildPlayerOptions options)
|
||||
{
|
||||
Debug.Log($"Rebuild AssetBundles before player build: {options.target}");
|
||||
BuildAssetBundle.BuildForTarget(options.target);
|
||||
BuildPlayerWindow.DefaultBuildMethods.BuildPlayer(options);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,12 +118,14 @@ namespace Ichni.Story
|
||||
/// <summary>点击 Helper 的统一入口:播放反馈后创建一条新的专属气泡。</summary>
|
||||
private void HandleHelperClicked()
|
||||
{
|
||||
if (Time.unscaledTime < _nextClickTime)
|
||||
return;
|
||||
if (Time.unscaledTime >= _nextClickTime)
|
||||
{
|
||||
TryCreateRandomTalk();
|
||||
_nextClickTime = Time.unscaledTime + clickCooldown;
|
||||
}
|
||||
|
||||
_nextClickTime = Time.unscaledTime + clickCooldown;
|
||||
PlayClickAnimation();
|
||||
TryCreateRandomTalk();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
ManifestFileVersion: 0
|
||||
UnityVersion: 6000.3.7f1
|
||||
CRC: 369232788
|
||||
CRC: 1212460786
|
||||
HashAppended: 0
|
||||
AssetBundleManifest:
|
||||
AssetBundleInfos:
|
||||
|
||||
Binary file not shown.
@@ -1,16 +1,16 @@
|
||||
ManifestFileVersion: 0
|
||||
UnityVersion: 6000.3.7f1
|
||||
CRC: 3948698453
|
||||
CRC: 4187162310
|
||||
Hashes:
|
||||
AssetFileHash:
|
||||
serializedVersion: 2
|
||||
Hash: af7857bf316830adc26e256fe67e7e6e
|
||||
Hash: 041639c891c497f5cda773d76795250a
|
||||
TypeTreeHash:
|
||||
serializedVersion: 2
|
||||
Hash: dfed41e3b38758e5f34df30221d719dc
|
||||
IncrementalBuildHash:
|
||||
serializedVersion: 2
|
||||
Hash: 8b2370a964ccb84ad839925da51b1839
|
||||
Hash: fd431a0871b3281e203d8c5ae1ef07e3
|
||||
HashAppended: 0
|
||||
ClassTypes:
|
||||
- Class: 1
|
||||
|
||||
Binary file not shown.
@@ -1,16 +1,16 @@
|
||||
ManifestFileVersion: 0
|
||||
UnityVersion: 6000.3.7f1
|
||||
CRC: 3534727336
|
||||
CRC: 1325295300
|
||||
Hashes:
|
||||
AssetFileHash:
|
||||
serializedVersion: 2
|
||||
Hash: 51cebaae174d01d837ffac32a2fa6871
|
||||
Hash: 5451f82a726dcc14425b20ee9bc64122
|
||||
TypeTreeHash:
|
||||
serializedVersion: 2
|
||||
Hash: 6d9f9b8bc1074349261a0dbbf7f0f9f8
|
||||
IncrementalBuildHash:
|
||||
serializedVersion: 2
|
||||
Hash: 1a80e1aa74a3d257e8fdbb3bbe3af29f
|
||||
Hash: 93d05b1cb2304ccbb2af18c7f4892613
|
||||
HashAppended: 0
|
||||
ClassTypes:
|
||||
- Class: 1
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user