// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2021-05-12
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
//
//
// ***********************************************************************
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
namespace G
{
///
/// 子弹
///
[RequireComponent(typeof(BulletBase))]
public class Bullet_timeline : MonoBehaviour
{
#region Field
#endregion
#region Method
private void Bullet_timeline_stopped(PlayableDirector obj)
{
this.gameObject.SetActive(false);
}
#endregion
#region Unity
// Use this for initialization
private void Start()
{
GetComponent().stopped += this.Bullet_timeline_stopped;
}
#endregion
}
}