資源簡介
Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼.rar
代碼片段和文件信息
//-----------------------------------------------------------------
// SpriteTimelineEditor?v1.0?(1-25-2010)
//??Copyright?2009?Brady?Wright?and?Above?and?Beyond?Software
// All?rights?reserved
//-----------------------------------------------------------------
//?Uncomment?to?display?texture?names?in?the?timeline:
//?#define?SHOW_TEX_NAMES
using?UnityEditor;
using?UnityEngine;
using?System.Collections;
public?class?TextureAnimSettingsTracker
{
string?name;
int?loopCycles;
bool?loopReverse;
float?framerate;
public?bool?Synch(TextureAnim?t)
{
bool?changed?=?false;
if?(name?!=?t.name)
changed?=?true;
if?(loopCycles?!=?t.loopCycles)
changed?=?true;
if?(loopReverse?!=?t.loopReverse)
changed?=?true;
if?(framerate?!=?t.framerate)
changed?=?true;
name?=?t.name;
loopCycles?=?t.loopCycles;
loopReverse?=?t.loopReverse;
framerate?=?t.framerate;
return?changed;
}
}
public?class?SpriteTimelineEditor?:?EditorWindow
{
static?SpriteTimelineEditor?instance;
static?SpriteTimeline?timelineInstance;
bool?closing?=?false;
Rect?wndRect;
[UnityEditor.MenuItem(“Window/Sprite?Timeline?&t“)]
static?public?void?ShowEditor()
{
#if?UNITY_IPHONE?&&?!(UNITY_3_0?||?UNITY_3_1?||?UNITY_3_2?||?UNITY_3_3?||?UNITY_3_4?||?UNITY_3_5?||?UNITY_3_6?||?UNITY_3_7?||?UNITY_3_8?||?UNITY_3_9)
if?(instance?!=?null)
{
instance.Show(true);
return;
}
instance?=?new?SpriteTimelineEditor();
if(timelineInstance?==?null)
timelineInstance?=?new?SpriteTimeline();
//?Get?the?selected?object?and?see?if?it?has?a?sprite:
timelineInstance.Editor?=?instance;
timelineInstance.SetupSelection();
instance.position?=?new?Rect(200?200?700?400);
timelineInstance.position?=?instance.position;
timelineInstance.SetupRects();
instance.autoRepaintOnSceneChange?=?true;
instance.Show(true);
#else
if?(instance?!=?null)
{
instance.ShowUtility();
return;
}
instance?=?(SpriteTimelineEditor)EditorWindow.GetWindow(typeof(SpriteTimelineEditor)?false?“Sprite?Timeline“);
if?(timelineInstance?==?null)
timelineInstance?=?new?SpriteTimeline();
timelineInstance.Editor?=?instance;
/*
timelineInstance.SetupSelection();
timelineInstance.SetupRects();
*/
timelineInstance.position?=?instance.position;
instance.ShowUtility();
#endif
instance.wndRect?=?instance.position;
}
public?void?OnDisable()
{
#if?UNITY_IPHONE?&&?!(UNITY_3_0?||?UNITY_3_1?||?UNITY_3_2?||?UNITY_3_3?||?UNITY_3_4?||?UNITY_3_5?||?UNITY_3_6?||?UNITY_3_7?||?UNITY_3_8?||?UNITY_3_9)
this.Close();
#endif
}
public?void?OnCloseWindow()
{
#if?UNITY_IPHONE?&&?!(UNITY_3_0?||?UNITY_3_1?||?UNITY_3_2?||?UNITY_3_3?||?UNITY_3_4?||?UNITY_3_5?||?UNITY_3_6?||?UNITY_3_7?||?UNITY_3_8?||?UNITY_3_9)
instance?=?null;
closing?=?true;
DestroyImmediate(this);
#endif
}
//?Relay?events?to?our?timeline?editor?if?availab
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????15364??2012-12-28?15:10??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\.DS_Store
?????文件???????8486??2012-11-09?10:14??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-CSharp-Editor-vs.csproj
?????文件???????8542??2012-11-09?10:14??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-CSharp-Editor.csproj
?????文件??????64428??2012-11-09?11:05??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-CSharp-Editor.pidb
?????文件???????9996??2012-11-09?10:14??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-CSharp-firstpass-vs.csproj
?????文件???????9996??2012-11-09?10:14??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-CSharp-firstpass.csproj
?????文件?????699294??2012-11-09?11:05??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-CSharp-firstpass.pidb
?????文件???????7758??2012-11-09?11:05??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-CSharp-vs.csproj
?????文件???????7786??2012-11-09?11:05??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-CSharp.csproj
?????文件?????236073??2012-11-09?11:05??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-CSharp.pidb
?????文件???????5400??2012-11-09?10:14??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-Unitysc
?????文件??????30494??2012-11-09?11:05??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-Unitysc
?????文件???????5400??2012-11-09?10:14??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-Unitysc
?????文件???????6338??2012-11-09?10:14??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-Unitysc
?????文件??????33391??2012-11-09?11:05??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-Unitysc
?????文件???????6366??2012-11-09?10:14??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assembly-Unitysc
?????文件??????21508??2012-12-28?15:09??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\.DS_Store
?????文件??????44625??2011-05-14?07:04??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Editors\SpriteTimelineEditor.cs
?????文件????????165??2012-10-11?13:32??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Editors\SpriteTimelineEditor.cs.me
?????文件??????24693??2011-05-26?02:38??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Editors\UICtlEditor.cs
?????文件????????165??2012-10-11?13:32??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Editors\UICtlEditor.cs.me
?????文件??????13501??2011-05-26?02:39??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Editors\UIPanelEditor.cs
?????文件????????165??2012-10-11?13:32??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Editors\UIPanelEditor.cs.me
?????文件?????????60??2012-10-11?13:32??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Editors.me
?????文件????????595??2011-01-23?03:39??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Inspectors\UIActionBtnInspector.cs
?????文件????????165??2012-10-11?13:32??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Inspectors\UIActionBtnInspector.cs.me
?????文件????????628??2011-01-23?03:39??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Inspectors\UIBistateInteractivePanelInspector.cs
?????文件????????165??2012-10-11?13:32??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Inspectors\UIBistateInteractivePanelInspector.cs.me
?????文件????????605??2011-01-23?03:39??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Inspectors\UIBtnChangePanelInspector.cs
?????文件????????165??2012-10-11?13:32??Unity3D橫版射擊游戲《G小隊-中東戰(zhàn)爭》源碼\G小隊-中東戰(zhàn)爭\G小隊08ios--U3D\G小隊08ios\Assets\Editor\AnBSoft\Inspectors\UIBtnChangePanelInspector.cs.me
............此處省略8384個文件信息
評論
共有 條評論