Skip to content

Commit 4946945

Browse files
authored
Feature/disallow multiple ev curve instance (#34)
* Strict check to disallow multiple instance of TooEvAdjustmentCurve and some chores. [skip ci] * Version is 0.2.1-preview. Co-authored-by: higeometry <[email protected]>
1 parent 33c47b4 commit 4946945

File tree

15 files changed

+268
-418
lines changed

15 files changed

+268
-418
lines changed

HDRP-DefaultVolumeProject-2020.3/Assets/Samples/UTS3/Runtime/Scripts/FaceUpdate.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ void OnGUI ()
3939

4040
void Update ()
4141
{
42-
42+
/*
4343
if (Input.GetMouseButton (0)) {
4444
current = 1;
45-
} else if (!isKeepFace) {
45+
} else */ if (!isKeepFace) {
4646
current = Mathf.Lerp (current, 0, delayWeight);
4747
}
4848
anim.SetLayerWeight (1, current);

HDRP-DefaultVolumeProject-2020.3/Assets/Samples/UTS3/Runtime/Scripts/IdleChanger.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ void Start ()
4040

4141
// Update is called once per frame
4242
void Update ()
43-
{
43+
{
44+
/*
4445
// ↑キー/スペースが押されたら、ステートを次に送る処理
4546
if (Input.GetKeyDown ("up") || Input.GetButton ("Jump")) {
4647
// ブーリアンNextをtrueにする
@@ -52,8 +53,9 @@ void Update ()
5253
// ブーリアンBackをtrueにする
5354
anim.SetBool ("Back", true);
5455
}
55-
56-
// "Next"フラグがtrueの時の処理
56+
*/
57+
58+
// "Next"フラグがtrueの時の処理
5759
if (anim.GetBool ("Next")) {
5860
// 現在のステートをチェックし、ステート名が違っていたらブーリアンをfalseに戻す
5961
currentState = anim.GetCurrentAnimatorStateInfo (0);

0 commit comments

Comments
 (0)