轨迹插件引入
This commit is contained in:
1 parent
89b5275efd
commit
195893a1b0
1023 files changed
+378944
-18404
No files matched your search
@@ -0,0 +1,41 @@
|
||||
// =====================================================================
|
||||
// Copyright 2013-2017 Fluffy Underware
|
||||
// All rights reserved
|
||||
//
|
||||
// http://www.fluffyunderware.com
|
||||
// =====================================================================
|
||||
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using FluffyUnderware.DevTools.Extensions;
|
||||
|
||||
namespace FluffyUnderware.DevTools
|
||||
{
|
||||
/// <summary>
|
||||
/// A MonoBehaviour with a version number, useful to handle upgrades if needed
|
||||
/// </summary>
|
||||
public abstract class DTVersionedMonoBehaviour : MonoBehaviour
|
||||
{
|
||||
[SerializeField, HideInInspector]
|
||||
string m_Version;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the version of this component
|
||||
/// </summary>
|
||||
public string Version
|
||||
{
|
||||
get { return m_Version; }
|
||||
protected set { m_Version = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Destroys the gameobject
|
||||
/// </summary>
|
||||
[Obsolete("Use ObjectExt.Destroy(...) instead")]
|
||||
public void Destroy()
|
||||
{
|
||||
gameObject.Destroy(false, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user