prepped aiming

This commit is contained in:
2023-04-04 00:04:34 -04:00
parent 3586ee1e48
commit e948e4687d
44 changed files with 4057 additions and 2696 deletions

View File

@ -0,0 +1,27 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DummyComponent : MonoBehaviour
{
private Animator anim;
// Start is called before the first frame update
void Start()
{
anim = this.GetComponentInParent<Animator>();
}
// Update is called once per frame
void Update()
{
}
private void OnCollisionEnter(Collision collision)
{
if(collision.gameObject.GetComponent<BulletComponent>() != null)
{
anim.Play("DummyFall");
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7704c7887a840104bbb7774436810b7c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: