1. svn -> git
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
|
||||
[AddComponentMenu("Destructible 2D/D2D Mothership Thruster")]
|
||||
public class D2D_MothershipThruster : MonoBehaviour
|
||||
{
|
||||
public ParticleSystem Particles;
|
||||
|
||||
public D2D_MothershipCore Core;
|
||||
|
||||
protected virtual void Update()
|
||||
{
|
||||
// Core not connected?
|
||||
if (Particles != null && Core == null)
|
||||
{
|
||||
Particles.enableEmission = false;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user