Asset Dump

This commit is contained in:
2026-06-03 13:46:13 -07:00
parent e362aaeb43
commit 9091388bc2
20821 changed files with 26544125 additions and 58 deletions
@@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LaserGunScript : MonoBehaviour {
private Animator anim;
void Start(){
anim = GetComponent<Animator> ();
}
void Update () {
if (Input.GetMouseButtonDown (0)) {
anim.SetTrigger ("isFiring");
}
if(Input.GetMouseButtonUp (0)){
anim.SetTrigger ("isIdle");
}
}
}