testing player character asset
This commit is contained in:
15
Assets/GrigoriyArx/Droll Robots/Scripts/HitSplash.cs
Normal file
15
Assets/GrigoriyArx/Droll Robots/Scripts/HitSplash.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class HitSplash : MonoBehaviour
|
||||
{
|
||||
public float lifeTime = 1f;
|
||||
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
Destroy(gameObject, lifeTime);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user