Add StickGame Assets
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace FishNet.Example.ColliderRollbacks
|
||||
{
|
||||
public class DestroyAfterDelay : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private float _delay = 1f;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
Destroy(gameObject, _delay);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user