You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
2.7 KiB
C#
90 lines
2.7 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using Articy.Touhou;
|
|
using Articy.Unity;
|
|
using Articy.Unity.Constraints;
|
|
using Articy.Unity.Interfaces;
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
|
|
namespace Articy.Touhou.Features
|
|
{
|
|
|
|
|
|
public class ShieldFeatureConstraint
|
|
{
|
|
|
|
private Boolean mLoadedConstraints;
|
|
|
|
private NumberConstraint mTime;
|
|
|
|
private NumberConstraint mRecoverSpeed;
|
|
|
|
private ReferenceStripConstraint mRecoverCondition;
|
|
|
|
private EnumConstraint mStaggerDefLevel;
|
|
|
|
public NumberConstraint Time
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mTime;
|
|
}
|
|
}
|
|
|
|
public NumberConstraint RecoverSpeed
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mRecoverSpeed;
|
|
}
|
|
}
|
|
|
|
public ReferenceStripConstraint RecoverCondition
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mRecoverCondition;
|
|
}
|
|
}
|
|
|
|
public EnumConstraint StaggerDefLevel
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mStaggerDefLevel;
|
|
}
|
|
}
|
|
|
|
public virtual void EnsureConstraints()
|
|
{
|
|
if ((mLoadedConstraints == true))
|
|
{
|
|
return;
|
|
}
|
|
mLoadedConstraints = true;
|
|
mTime = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, "秒");
|
|
mRecoverSpeed = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, "点/秒");
|
|
mRecoverCondition = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "FlowFragment;Dialogue;DialogueFragment;Condition;Instruction;Hub;Jump;Entity;Loca" +
|
|
"tion;Link;Path;Spot;Zone;LocationText;LocationImage;Document;TextObject;Journey;" +
|
|
"Asset;", "", "None;Image;Video;Audio;Document;Misc;All;", "");
|
|
mStaggerDefLevel = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
|
|
}
|
|
}
|
|
}
|