Commit f14c5b52 authored by 18신대성's avatar 18신대성

Merge branch 'model'

parents b8c7d64d f4b14e46
......@@ -5,6 +5,7 @@ using UnityEngine;
public class AnimTest : MonoBehaviour
{
Animator anim;
[Range(-1, 1)] public float xAngle = 0;
private void Start()
{
......@@ -28,5 +29,8 @@ public class AnimTest : MonoBehaviour
anim.SetBool("isShooting", true);
else if (Input.GetKey(KeyCode.H))
anim.SetBool("isShooting", false);
anim.SetLayerWeight(1, Mathf.Abs(xAngle));
anim.SetFloat("xAngle", xAngle);
}
}
This diff is collapsed.
This diff is collapsed.
fileFormatVersion: 2
guid: f99d61cdf18e3574d928b14edbfc5095
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
fileFormatVersion: 2
guid: 45ebfca57564d694ebacfdbad1cdc14d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment