文档,给那些工具挪窝
This commit is contained in:
@@ -49,10 +49,10 @@ MonoBehaviour:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 26192
|
||||
m_assetChangeTS: 1748796846
|
||||
m_fileInfoReadTS: 1748796858
|
||||
m_fileWriteTS: 1748796846
|
||||
m_cachefileWriteTS: 1748796846
|
||||
m_assetChangeTS: 1749103872
|
||||
m_fileInfoReadTS: 1749103883
|
||||
m_fileWriteTS: 1749103872
|
||||
m_cachefileWriteTS: 1749103872
|
||||
refreshStamp: 2
|
||||
UseGUIDsList: []
|
||||
- guid: 00000000000000005000000000000000
|
||||
@@ -1851,8 +1851,8 @@ MonoBehaviour:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 8241
|
||||
m_assetChangeTS: 1748595572
|
||||
m_fileInfoReadTS: 1748595588
|
||||
m_assetChangeTS: 1749103900
|
||||
m_fileInfoReadTS: 1749103903
|
||||
m_fileWriteTS: 1748595308
|
||||
m_cachefileWriteTS: 1748595308
|
||||
refreshStamp: 2
|
||||
@@ -7166,15 +7166,15 @@ MonoBehaviour:
|
||||
UseGUIDsList: []
|
||||
- guid: 7006cf01f592ed54593fb8a4f7fc5f97
|
||||
type: 5
|
||||
m_fileInfoHash: 2162.prefab
|
||||
m_fileInfoHash: 2088.prefab
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 2162
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758837
|
||||
m_fileWriteTS: 1746119252
|
||||
m_cachefileWriteTS: 1746119252
|
||||
m_fileSize: 2088
|
||||
m_assetChangeTS: 1749103910
|
||||
m_fileInfoReadTS: 1749103911
|
||||
m_fileWriteTS: 1746088394
|
||||
m_cachefileWriteTS: 1746088394
|
||||
refreshStamp: 2
|
||||
UseGUIDsList:
|
||||
- guid: 1344c3c82d62a2a41a3576d8abb8e3ea
|
||||
@@ -20037,8 +20037,8 @@ MonoBehaviour:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 84386
|
||||
m_assetChangeTS: 1748589050
|
||||
m_fileInfoReadTS: 1748589074
|
||||
m_assetChangeTS: 1749103910
|
||||
m_fileInfoReadTS: 1749103911
|
||||
m_fileWriteTS: 1746886071
|
||||
m_cachefileWriteTS: 1746886071
|
||||
refreshStamp: 2
|
||||
@@ -24374,15 +24374,15 @@ MonoBehaviour:
|
||||
UseGUIDsList: []
|
||||
- guid: 914dd73ddae7943148ea71537167542b
|
||||
type: 2
|
||||
m_fileInfoHash: 10357.cs
|
||||
m_fileInfoHash: 10356.cs
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 10357
|
||||
m_fileSize: 10356
|
||||
m_assetChangeTS: 1748797267
|
||||
m_fileInfoReadTS: 1748796841
|
||||
m_fileWriteTS: 1748796829
|
||||
m_cachefileWriteTS: 0
|
||||
m_fileInfoReadTS: 1749103250
|
||||
m_fileWriteTS: 1749102885
|
||||
m_cachefileWriteTS: 1749102885
|
||||
refreshStamp: 2
|
||||
UseGUIDsList: []
|
||||
- guid: 915dabe870142d4eb34a5dbf62d6df68
|
||||
@@ -47993,15 +47993,15 @@ MonoBehaviour:
|
||||
UseGUIDsList: []
|
||||
- guid: 53e14ab421bb98b48b1d276bf32cddd2
|
||||
type: 5
|
||||
m_fileInfoHash: 25710.prefab
|
||||
m_fileInfoHash: 24864.prefab
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 25710
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758830
|
||||
m_fileWriteTS: 1746895565
|
||||
m_cachefileWriteTS: 1746895565
|
||||
m_fileSize: 24864
|
||||
m_assetChangeTS: 1749103910
|
||||
m_fileInfoReadTS: 1749103911
|
||||
m_fileWriteTS: 1746870545
|
||||
m_cachefileWriteTS: 1746870545
|
||||
refreshStamp: 2
|
||||
UseGUIDsList:
|
||||
- guid: b4c5757a536b2e14bbb3c3fa2ed0a8e4
|
||||
@@ -64698,8 +64698,8 @@ MonoBehaviour:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 0
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758827
|
||||
m_assetChangeTS: 1749103910
|
||||
m_fileInfoReadTS: 1749103911
|
||||
m_fileWriteTS: 0
|
||||
m_cachefileWriteTS: 0
|
||||
refreshStamp: 2
|
||||
@@ -67501,15 +67501,15 @@ MonoBehaviour:
|
||||
UseGUIDsList: []
|
||||
- guid: a48a638548bdb6645bfa74867dc72087
|
||||
type: 2
|
||||
m_fileInfoHash: 10258.cs
|
||||
m_fileInfoHash: 9178.cs
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 10258
|
||||
m_assetChangeTS: 1748595572
|
||||
m_fileInfoReadTS: 1748595588
|
||||
m_fileWriteTS: 1748595562
|
||||
m_cachefileWriteTS: 1748595562
|
||||
m_fileSize: 9178
|
||||
m_assetChangeTS: 1749184022
|
||||
m_fileInfoReadTS: 1749184269
|
||||
m_fileWriteTS: 1749104436
|
||||
m_cachefileWriteTS: 1749104436
|
||||
refreshStamp: 2
|
||||
UseGUIDsList: []
|
||||
- guid: a48a9e08d9023374fab5d929e609b9bd
|
||||
@@ -68234,10 +68234,10 @@ MonoBehaviour:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 11267
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758827
|
||||
m_fileWriteTS: 1746895565
|
||||
m_cachefileWriteTS: 1746895565
|
||||
m_assetChangeTS: 1749103900
|
||||
m_fileInfoReadTS: 1749103903
|
||||
m_fileWriteTS: 1746873108
|
||||
m_cachefileWriteTS: 1746873108
|
||||
refreshStamp: 2
|
||||
UseGUIDsList: []
|
||||
- guid: b43651fb085b38445ade3f9de3ab0636
|
||||
@@ -82559,8 +82559,8 @@ MonoBehaviour:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 0
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758825
|
||||
m_assetChangeTS: 1749103910
|
||||
m_fileInfoReadTS: 1749103911
|
||||
m_fileWriteTS: 0
|
||||
m_cachefileWriteTS: 0
|
||||
refreshStamp: 2
|
||||
@@ -82853,15 +82853,15 @@ MonoBehaviour:
|
||||
UseGUIDsList: []
|
||||
- guid: b56a53ecbd73dca4aa3152504b1ca92d
|
||||
type: 5
|
||||
m_fileInfoHash: 6934.prefab
|
||||
m_fileInfoHash: 6712.prefab
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 6934
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758825
|
||||
m_fileWriteTS: 1746895565
|
||||
m_cachefileWriteTS: 1746895565
|
||||
m_fileSize: 6712
|
||||
m_assetChangeTS: 1749103910
|
||||
m_fileInfoReadTS: 1749103911
|
||||
m_fileWriteTS: 1746884964
|
||||
m_cachefileWriteTS: 1746884964
|
||||
refreshStamp: 2
|
||||
UseGUIDsList:
|
||||
- guid: 1344c3c82d62a2a41a3576d8abb8e3ea
|
||||
@@ -85692,15 +85692,15 @@ MonoBehaviour:
|
||||
UseGUIDsList: []
|
||||
- guid: e53cd577e34d8df41b51ef212682a5b6
|
||||
type: 5
|
||||
m_fileInfoHash: 2254.prefab
|
||||
m_fileInfoHash: 2177.prefab
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 2254
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758824
|
||||
m_fileWriteTS: 1742680962
|
||||
m_cachefileWriteTS: 1742680962
|
||||
m_fileSize: 2177
|
||||
m_assetChangeTS: 1749103910
|
||||
m_fileInfoReadTS: 1749103911
|
||||
m_fileWriteTS: 1740760198
|
||||
m_cachefileWriteTS: 1740760198
|
||||
refreshStamp: 2
|
||||
UseGUIDsList:
|
||||
- guid: fe87c0e1cc204ed48ad3b37840f39efc
|
||||
@@ -112921,15 +112921,15 @@ MonoBehaviour:
|
||||
UseGUIDsList: []
|
||||
- guid: d73d411fb33ebdd489321f08668d0673
|
||||
type: 5
|
||||
m_fileInfoHash: 2158.prefab
|
||||
m_fileInfoHash: 2084.prefab
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 2158
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758820
|
||||
m_fileWriteTS: 1746895565
|
||||
m_cachefileWriteTS: 1746895565
|
||||
m_fileSize: 2084
|
||||
m_assetChangeTS: 1749103910
|
||||
m_fileInfoReadTS: 1749103911
|
||||
m_fileWriteTS: 1746885929
|
||||
m_cachefileWriteTS: 1746885929
|
||||
refreshStamp: 2
|
||||
UseGUIDsList:
|
||||
- guid: 1344c3c82d62a2a41a3576d8abb8e3ea
|
||||
@@ -143844,10 +143844,10 @@ MonoBehaviour:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 8948
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758815
|
||||
m_fileWriteTS: 1746895565
|
||||
m_cachefileWriteTS: 1746895565
|
||||
m_assetChangeTS: 1749103865
|
||||
m_fileInfoReadTS: 1749103883
|
||||
m_fileWriteTS: 1746885467
|
||||
m_cachefileWriteTS: 1746885467
|
||||
refreshStamp: 2
|
||||
UseGUIDsList: []
|
||||
- guid: f9ecc84bea2f775498b7ec65b3810570
|
||||
@@ -150026,15 +150026,15 @@ MonoBehaviour:
|
||||
UseGUIDsList: []
|
||||
- guid: 6a0b7de67a0025a44977db34773ec53c
|
||||
type: 5
|
||||
m_fileInfoHash: 235801.prefab
|
||||
m_fileInfoHash: 228086.prefab
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 235801
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758814
|
||||
m_fileWriteTS: 1746895565
|
||||
m_cachefileWriteTS: 1746895565
|
||||
m_fileSize: 228086
|
||||
m_assetChangeTS: 1749103910
|
||||
m_fileInfoReadTS: 1749103911
|
||||
m_fileWriteTS: 1746873268
|
||||
m_cachefileWriteTS: 1746873268
|
||||
refreshStamp: 2
|
||||
UseGUIDsList:
|
||||
- guid: fe87c0e1cc204ed48ad3b37840f39efc
|
||||
@@ -167260,8 +167260,8 @@ MonoBehaviour:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 0
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758812
|
||||
m_assetChangeTS: 1749103865
|
||||
m_fileInfoReadTS: 1749103883
|
||||
m_fileWriteTS: 0
|
||||
m_cachefileWriteTS: 0
|
||||
refreshStamp: 2
|
||||
@@ -185434,8 +185434,8 @@ MonoBehaviour:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 0
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758809
|
||||
m_assetChangeTS: 1749103865
|
||||
m_fileInfoReadTS: 1749103883
|
||||
m_fileWriteTS: 0
|
||||
m_cachefileWriteTS: 0
|
||||
refreshStamp: 2
|
||||
@@ -203521,15 +203521,15 @@ MonoBehaviour:
|
||||
UseGUIDsList: []
|
||||
- guid: 1eef181acaca89841a32060c68923043
|
||||
type: 5
|
||||
m_fileInfoHash: 19314.prefab
|
||||
m_fileInfoHash: 18684.prefab
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 19314
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758806
|
||||
m_fileWriteTS: 1746895565
|
||||
m_cachefileWriteTS: 1746895565
|
||||
m_fileSize: 18684
|
||||
m_assetChangeTS: 1749103910
|
||||
m_fileInfoReadTS: 1749103911
|
||||
m_fileWriteTS: 1746873934
|
||||
m_cachefileWriteTS: 1746873934
|
||||
refreshStamp: 2
|
||||
UseGUIDsList:
|
||||
- guid: fe87c0e1cc204ed48ad3b37840f39efc
|
||||
@@ -211185,15 +211185,15 @@ MonoBehaviour:
|
||||
ids: 00000000
|
||||
- guid: ae19b314bbfece546a1a8d74d38387ac
|
||||
type: 2
|
||||
m_fileInfoHash: 370.cs
|
||||
m_fileInfoHash: 1589.cs
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 370
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1747758805
|
||||
m_fileWriteTS: 1746895565
|
||||
m_cachefileWriteTS: 1746895565
|
||||
m_fileSize: 1589
|
||||
m_assetChangeTS: 1749184023
|
||||
m_fileInfoReadTS: 1749184265
|
||||
m_fileWriteTS: 1749104430
|
||||
m_cachefileWriteTS: 1749104430
|
||||
refreshStamp: 2
|
||||
UseGUIDsList: []
|
||||
- guid: ae5924760c9fbf54d89df9f13435887e
|
||||
@@ -229994,6 +229994,45 @@ MonoBehaviour:
|
||||
m_cachefileWriteTS: 1748796655
|
||||
refreshStamp: 2
|
||||
UseGUIDsList: []
|
||||
- guid: 2aebeab4fb1481a44b0657cfc12def90
|
||||
type: 1
|
||||
m_fileInfoHash:
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 0
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1749103856
|
||||
m_fileWriteTS: 0
|
||||
m_cachefileWriteTS: 0
|
||||
refreshStamp: 2
|
||||
UseGUIDsList: []
|
||||
- guid: 6adc3c7d00791a7498bac07c3cf08095
|
||||
type: 1
|
||||
m_fileInfoHash:
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 0
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1749103883
|
||||
m_fileWriteTS: 0
|
||||
m_cachefileWriteTS: 0
|
||||
refreshStamp: 2
|
||||
UseGUIDsList: []
|
||||
- guid: 1ec2771618afafe489a6cd3de5b20bc1
|
||||
type: 2
|
||||
m_fileInfoHash: 0.cs
|
||||
m_assetbundle:
|
||||
m_addressable:
|
||||
m_atlas:
|
||||
m_fileSize: 0
|
||||
m_assetChangeTS: 0
|
||||
m_fileInfoReadTS: 1749104542
|
||||
m_fileWriteTS: 1749104513
|
||||
m_cachefileWriteTS: 1749104513
|
||||
refreshStamp: 2
|
||||
UseGUIDsList: []
|
||||
setting:
|
||||
alternateColor: 1
|
||||
excludeTypes: 0
|
||||
|
||||
8
Assets/Prefabs/Graphical Tools.meta
Normal file
8
Assets/Prefabs/Graphical Tools.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6adc3c7d00791a7498bac07c3cf08095
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Scripts/Graphical Tools.meta
Normal file
8
Assets/Scripts/Graphical Tools.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2aebeab4fb1481a44b0657cfc12def90
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,44 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Ichni;
|
||||
using Ichni.RhythmGame;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class NotefabContoler : MonoBehaviour
|
||||
{
|
||||
public NoteBase noteBase;
|
||||
public RawImage ifHold;
|
||||
public void Initialize(NoteBase note, float timePerBeat, int beatDeviver)
|
||||
{
|
||||
noteBase = note;
|
||||
Image color = GetComponent<Image>();
|
||||
transform.localPosition = new Vector3(0, note.exactJudgeTime / timePerBeat * beatDeviver, 0);
|
||||
switch (note)
|
||||
{
|
||||
case Hold hold:
|
||||
color.color = new Color(0, 1, 0, 1);
|
||||
if (ifHold != null)
|
||||
{
|
||||
ifHold.transform.localPosition = new Vector3(0, (hold.holdEndTime - hold.exactJudgeTime) / timePerBeat * beatDeviver / 2, 0);
|
||||
var rect = ifHold.GetComponent<RectTransform>();
|
||||
rect.sizeDelta = new Vector2(rect.sizeDelta.x, (hold.holdEndTime - hold.exactJudgeTime) / timePerBeat * beatDeviver);
|
||||
ifHold.color = new Color(0, 1, 0, 1);
|
||||
}
|
||||
break;
|
||||
case Tap:
|
||||
color.color = new Color(0, 1, 1, 1);
|
||||
break;
|
||||
case Stay:
|
||||
color.color = new Color(1, 1, 0, 1);
|
||||
break;
|
||||
case Flick:
|
||||
color.color = new Color(1, 0.2f, 0, 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
public void Onclick()
|
||||
{
|
||||
EditorManager.instance.uiManager.hierarchy.FindTab(noteBase);
|
||||
}
|
||||
}
|
||||
@@ -123,31 +123,7 @@ public class SampleWindow : MovableWindow//该window高度为300,横的要在1
|
||||
private void SpawnNote(NoteBase i, float posx = 0)
|
||||
{
|
||||
GameObject u = Instantiate(NotePrefab, NoteMovepoint);
|
||||
u.transform.localPosition = new Vector3(0, i.exactJudgeTime / timePerBeat * beatDeviver, 0);
|
||||
Image color = u.GetComponent<Image>();
|
||||
u.GetComponent<NotefabContoler>().noteBase = i;
|
||||
switch (i)
|
||||
{
|
||||
case Hold hold:
|
||||
color.color = new Color(0, 1, 0, 1);
|
||||
RawImage a = u.GetComponent<NotefabContoler>().ifHold;
|
||||
a.transform.localPosition = new Vector3(0, (hold.holdEndTime - hold.exactJudgeTime) / timePerBeat * beatDeviver / 2, 0);
|
||||
a.GetComponent<RectTransform>().sizeDelta = new Vector2(a.GetComponent<RectTransform>().sizeDelta.x, (hold.holdEndTime - hold.exactJudgeTime) / timePerBeat * beatDeviver);
|
||||
a.color = new Color(0, 1, 0, 1);
|
||||
break;
|
||||
|
||||
case Tap:
|
||||
color.color = new Color(0, 1, 1, 1);
|
||||
break;
|
||||
|
||||
case Stay:
|
||||
color.color = new Color(1, 1, 0, 1);
|
||||
break;
|
||||
|
||||
case Flick:
|
||||
color.color = new Color(1, 0.2f, 0, 1);
|
||||
break;
|
||||
}//服了,之后整合到controler里头去
|
||||
u.GetComponent<NotefabContoler>().Initialize(i, timePerBeat, beatDeviver);
|
||||
}
|
||||
|
||||
public GameObject selectedGameObject;
|
||||
@@ -1,16 +0,0 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Ichni;
|
||||
using Ichni.RhythmGame;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class NotefabContoler : MonoBehaviour
|
||||
{
|
||||
public NoteBase noteBase;
|
||||
public RawImage ifHold;
|
||||
public void Onclick()
|
||||
{
|
||||
EditorManager.instance.uiManager.hierarchy.FindTab(noteBase);
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user