• This project
    • Loading...
  • Sign in

castone-01-ultra-haptics / Gravity-Ball-Shooter

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Gravity-Ball-Shooter
  • Assets
  • EffectExamples
  • Shared
  • Scripts
  • DecalDestroyer.cs
  • I_Jemin's avatar
    Init · d6731307
    d6731307
    I_Jemin authored 2018-06-20 00:37:37 +0900
DecalDestroyer.cs 281 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DecalDestroyer : MonoBehaviour {

	public float lifeTime = 5.0f;

	private IEnumerator Start()
	{
		yield return new WaitForSeconds(lifeTime);
		Destroy(gameObject);
	}
}