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.
124 lines
3.5 KiB
C#
124 lines
3.5 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 MoveParamBasicFeatureConstraint
|
|
{
|
|
|
|
private Boolean mLoadedConstraints;
|
|
|
|
private NumberConstraint mSpeedMax;
|
|
|
|
private NumberConstraint mMoveForce;
|
|
|
|
private NumberConstraint mGroundDrag;
|
|
|
|
private NumberConstraint mAirDrag;
|
|
|
|
private BooleanConstraint mIsFlying;
|
|
|
|
private BooleanConstraint mNeedScale;
|
|
|
|
private NumberConstraint mGravity;
|
|
|
|
public NumberConstraint SpeedMax
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mSpeedMax;
|
|
}
|
|
}
|
|
|
|
public NumberConstraint MoveForce
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mMoveForce;
|
|
}
|
|
}
|
|
|
|
public NumberConstraint GroundDrag
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mGroundDrag;
|
|
}
|
|
}
|
|
|
|
public NumberConstraint AirDrag
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mAirDrag;
|
|
}
|
|
}
|
|
|
|
public BooleanConstraint IsFlying
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mIsFlying;
|
|
}
|
|
}
|
|
|
|
public BooleanConstraint needScale
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mNeedScale;
|
|
}
|
|
}
|
|
|
|
public NumberConstraint Gravity
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mGravity;
|
|
}
|
|
}
|
|
|
|
public virtual void EnsureConstraints()
|
|
{
|
|
if ((mLoadedConstraints == true))
|
|
{
|
|
return;
|
|
}
|
|
mLoadedConstraints = true;
|
|
mSpeedMax = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
|
|
mMoveForce = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
|
|
mGroundDrag = new Articy.Unity.Constraints.NumberConstraint(0D, 3.40282346638529E+38D, 0, 0, 0, null);
|
|
mAirDrag = new Articy.Unity.Constraints.NumberConstraint(0D, 3.40282346638529E+38D, 0, 0, 0, null);
|
|
mIsFlying = new Articy.Unity.Constraints.BooleanConstraint(false);
|
|
mNeedScale = new Articy.Unity.Constraints.BooleanConstraint(false);
|
|
mGravity = new Articy.Unity.Constraints.NumberConstraint(0D, 3.40282346638529E+38D, 0, 0, 0, null);
|
|
}
|
|
}
|
|
}
|