1.1.0 未驗證
This commit is contained in:
1 parent
2638c5929d
commit
4a72bd132a
31 files changed
+790
-123
No files matched your search
@@ -50,6 +50,13 @@ public class HitscanWeapon : MonoBehaviour
|
||||
recoilRandom = new System.Random(RecoilSeed);
|
||||
}
|
||||
|
||||
// 每回合開始時重設 (種子 = 這一回合的 roundSeed,記在 config)
|
||||
public void ResetRecoilSeed(int seed)
|
||||
{
|
||||
RecoilSeed = seed;
|
||||
recoilRandom = new System.Random(seed);
|
||||
}
|
||||
|
||||
void OnDisable()
|
||||
{
|
||||
// 切槍時取消換彈,模型回到原位
|
||||
|
||||
Reference in new issue
Block a user