Onto lesson 2
This commit is contained in:
@@ -2,11 +2,11 @@ using UnityEngine;
|
||||
|
||||
public class SelectionMarker : MonoBehaviour
|
||||
{
|
||||
|
||||
public float lifeTime = 1.0f;
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
|
||||
//Destroy(gameObject, lifeTime);
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
@@ -14,4 +14,8 @@ public class SelectionMarker : MonoBehaviour
|
||||
{
|
||||
|
||||
}
|
||||
public void DestroySelectionMarker()
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user