查缺补漏
This commit is contained in:
1866
Assets/000_assets/shader/vertex shader.shader
Normal file
1866
Assets/000_assets/shader/vertex shader.shader
Normal file
File diff suppressed because it is too large
Load Diff
9
Assets/000_assets/shader/vertex shader.shader.meta
Normal file
9
Assets/000_assets/shader/vertex shader.shader.meta
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3a8db378654753044a90baffa9634c96
|
||||||
|
ShaderImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
defaultTextures: []
|
||||||
|
nonModifiableTextures: []
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -2,6 +2,7 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Dreamteck.Splines;
|
using Dreamteck.Splines;
|
||||||
|
using Ichni.Editor;
|
||||||
using Ichni.RhythmGame.Beatmap;
|
using Ichni.RhythmGame.Beatmap;
|
||||||
using Lean.Pool;
|
using Lean.Pool;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
@@ -50,6 +51,25 @@ namespace Ichni.RhythmGame
|
|||||||
{
|
{
|
||||||
matchedBM = new TrackHeadPoint_BM(elementName, elementGuid, tags, parentElement.matchedBM as GameElement_BM);
|
matchedBM = new TrackHeadPoint_BM(elementName, elementGuid, tags, parentElement.matchedBM as GameElement_BM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void SetUpInspector()
|
||||||
|
{
|
||||||
|
base.SetUpInspector();
|
||||||
|
|
||||||
|
IHaveInspection inspector = EditorManager.instance.uiManager.inspector;
|
||||||
|
var container = inspector.GenerateContainer("Track Percent Point");
|
||||||
|
|
||||||
|
var generation = container.GenerateSubcontainer(3);
|
||||||
|
var generateTrailButton = inspector.GenerateButton(this, generation, "Generate Trail", () =>
|
||||||
|
{
|
||||||
|
Trail.GenerateElement("New Trail", Guid.NewGuid(), new List<string>(), true,
|
||||||
|
this, 1, true, 1,
|
||||||
|
AnimationCurve.Constant(0, 1, 1), ColorExtensions.DefaultGradient());
|
||||||
|
});
|
||||||
|
var environmentObjectButton = inspector.GenerateButton(this, generation, "Environment Object",
|
||||||
|
() => TemporaryObject.GenerateElement("New Environment Object", Guid.NewGuid(), new List<string>(),
|
||||||
|
true, this));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Beatmap
|
namespace Beatmap
|
||||||
|
|||||||
Reference in New Issue
Block a user