Uma script update
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class DeepCopy
|
||||
{
|
||||
public static void CopyValues<T>(T from, T to)
|
||||
{
|
||||
var json = JsonUtility.ToJson(from);
|
||||
JsonUtility.FromJsonOverwrite(json, to);
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7edd0f77d9304bf44b5a176217fb45a0
|
||||
guid: 4227c56e1c9f9564591654f0d69ef04a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@@ -653,6 +653,14 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
a.CostumeId = "00";
|
||||
}
|
||||
});//fill empty
|
||||
GameObject MainLive = new GameObject("Live");
|
||||
GameObject Director = new GameObject("Director");
|
||||
|
||||
Gallop.Live.Director mController = Director.AddComponent<Gallop.Live.Director>();
|
||||
mController.live = live;
|
||||
Instantiate(mController, MainLive.transform);
|
||||
|
||||
Destroy(Director);
|
||||
}
|
||||
|
||||
//Use CriWare Library
|
||||
@@ -840,7 +848,7 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void RecursiveLoadAsset(UmaDatabaseEntry entry, bool IsSubAsset = false)
|
||||
public void RecursiveLoadAsset(UmaDatabaseEntry entry, bool IsSubAsset = false, Transform SetParent = null )
|
||||
{
|
||||
if (!string.IsNullOrEmpty(entry.Prerequisites))
|
||||
{
|
||||
@@ -848,20 +856,20 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
{
|
||||
if (prerequisite.StartsWith(UmaDatabaseController.CharaPath))
|
||||
{
|
||||
RecursiveLoadAsset(Main.AbChara.FirstOrDefault(ab => ab.Name == prerequisite), true);
|
||||
RecursiveLoadAsset(Main.AbChara.FirstOrDefault(ab => ab.Name == prerequisite), true, SetParent);
|
||||
}
|
||||
else if (prerequisite.StartsWith(UmaDatabaseController.MotionPath))
|
||||
{
|
||||
RecursiveLoadAsset(Main.AbMotions.FirstOrDefault(ab => ab.Name == prerequisite), true);
|
||||
RecursiveLoadAsset(Main.AbMotions.FirstOrDefault(ab => ab.Name == prerequisite), true, SetParent);
|
||||
}
|
||||
else
|
||||
RecursiveLoadAsset(Main.AbList.FirstOrDefault(ab => ab.Name == prerequisite), true);
|
||||
RecursiveLoadAsset(Main.AbList.FirstOrDefault(ab => ab.Name == prerequisite), true, SetParent);
|
||||
}
|
||||
}
|
||||
LoadAsset(entry, IsSubAsset);
|
||||
LoadAsset(entry, IsSubAsset, SetParent);
|
||||
}
|
||||
|
||||
public void LoadAsset(UmaDatabaseEntry entry, bool IsSubAsset = false)
|
||||
public void LoadAsset(UmaDatabaseEntry entry, bool IsSubAsset = false, Transform SetParent = null)
|
||||
{
|
||||
Debug.Log("Loading " + entry.Name);
|
||||
if (Main.LoadedBundles.ContainsKey(entry.Name)) return;
|
||||
@@ -877,7 +885,7 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
}
|
||||
Main.LoadedBundles.Add(entry.Name, bundle);
|
||||
UI.LoadedAssetsAdd(entry);
|
||||
LoadBundle(bundle, IsSubAsset);
|
||||
LoadBundle(bundle, IsSubAsset, SetParent);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -885,7 +893,7 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
private void LoadBundle(AssetBundle bundle, bool IsSubAsset = false)
|
||||
private void LoadBundle(AssetBundle bundle, bool IsSubAsset = false, Transform SetParent = null)
|
||||
{
|
||||
if (bundle.name == "shader.a")
|
||||
{
|
||||
@@ -968,7 +976,7 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
{
|
||||
if (!IsSubAsset)
|
||||
{
|
||||
LoadProp(go);
|
||||
LoadProp(go, SetParent);
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -1343,10 +1351,10 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
private void LoadProp(GameObject go)
|
||||
private void LoadProp(GameObject go, Transform SetParent = null)
|
||||
{
|
||||
var container = CurrentOtherContainer;
|
||||
var prop = Instantiate(go, container.transform);
|
||||
var prop = Instantiate(go, SetParent ? SetParent : container.transform);
|
||||
foreach (Renderer r in prop.GetComponentsInChildren<Renderer>())
|
||||
{
|
||||
foreach (Material m in r.sharedMaterials)
|
||||
@@ -1357,6 +1365,14 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void LoadAssetPath(string path, Transform SetParent)
|
||||
{
|
||||
foreach(var asset in UmaViewerMain.Instance.AbList.Where(a => a.Name == path))
|
||||
{
|
||||
RecursiveLoadAsset(asset, false, SetParent);
|
||||
}
|
||||
}
|
||||
|
||||
private void LoadTear(GameObject go)
|
||||
{
|
||||
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop
|
||||
{
|
||||
public class CameraEventCallback : MonoBehaviour
|
||||
{
|
||||
private Camera _targetCamera; // 0x18
|
||||
public Action<Camera> OnPreCullCallback; // 0x20
|
||||
public Action<Camera> OnPreRenderCallback; // 0x28
|
||||
public Action<Camera> OnPostRenderCallback; // 0x30
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d165d55944a7c3e4e84b279b2a2c4ba6
|
||||
guid: e256de223a005bd4d86ba3c32ee917d1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@@ -0,0 +1,33 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class CameraLookAt : MonoBehaviour
|
||||
{
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private Camera _targetCamera; // 0x18
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private GameObject _attachObject; // 0x20
|
||||
private Transform _tmAttachObject; // 0x28
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private GameObject _translateObject; // 0x30
|
||||
private Transform _tmTranslateObject; // 0x38
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private GameObject _rotateObject; // 0x40
|
||||
private Transform _tmRotateObject; // 0x48
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private GameObject _fovObject; // 0x50
|
||||
private Transform _tmFOVObject; // 0x58
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private float _multiplyValue; // 0x60
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private float _fieldOfViewLimit; // 0x64
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private GameObject _cameraMotionObject; // 0x68
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private Animator _cameraAnimator; // 0x70
|
||||
private Quaternion _currentQuaternion; // 0x78
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e70b835619985f0479bfea8430423159
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class CharaEffectInfo
|
||||
{
|
||||
private GameObject _gameObject; // 0x10
|
||||
private Material[][] _materials; // 0x18
|
||||
private int _renderQueue; // 0x20
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 29ac7f0fa72c4d642b0faca9b8be39af
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,136 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Gallop.Live.Cutt;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class CharacterObject : MonoBehaviour, ILiveTimelineCharactorLocator, ILiveTimelineMSQTarget
|
||||
{
|
||||
public enum RealtimeShadowType
|
||||
{
|
||||
HardShadow = 0,
|
||||
SoftShadow = 1
|
||||
}
|
||||
|
||||
public const int DRESS_COUNT = 2;
|
||||
public const int DRESS_MAIN_INDEX = 0;
|
||||
public const int DRESS_SUB_INDEX = 1;
|
||||
private int _reserveDressModelCount; // 0x18
|
||||
private int _activeModelIndex; // 0x1C
|
||||
private GameObject[] _modelObjectArray; // 0x20
|
||||
private Transform[] _modelTransformArray; // 0x28
|
||||
//private LiveModelController[] _liveModelControllerArray; // 0x30
|
||||
//private GallopSweatController[] _sweatControllerArray; // 0x38
|
||||
//private EyeTraceController[] _eyeTraceControllerArray; // 0x40
|
||||
//private LiveModelController.EyeTargetPositionSetter[] _eyeTargetSetter; // 0x48
|
||||
private const int EffectAttachNum = 26;
|
||||
private Transform[,] _effectAttachTransformArray; // 0x50
|
||||
public int prevFrameWarmUpCyspring; // 0x58
|
||||
public int CurrentFrameEyeTrack; // 0x5C
|
||||
private List<Collider[]> _colliderListArray; // 0x60
|
||||
private bool _liveMSQControlled; // 0x68
|
||||
private float _liveMSQCurrentAnimStartTime; // 0x6C
|
||||
private bool _bVisible; // 0x70
|
||||
private LiveCharaPosition _liveCharaStandingPosition; // 0x74
|
||||
private Vector3 _liveCharaInitialPosition; // 0x78
|
||||
private const float kLiveCharaHeadPositionOffsetHeight = 0.1f;
|
||||
private int _liveCharaHeightLevel; // 0x84
|
||||
private float _liveCharaHeightValue; // 0x88
|
||||
private float _liveCharaHeightRatioBase; // 0x8C
|
||||
private float _liveCharaHeightRatio; // 0x90
|
||||
private Vector3 _liveCharaFormationHeightRateOffset; // 0x94
|
||||
private bool _isPositionNodePositionAddParent; // 0xA0
|
||||
private LiveTimelineDefine.FacialEyeTrackTargetType _eyeTrackTargetType; // 0xA4
|
||||
private GameObject _softShadowCamera; // 0xC0
|
||||
private GameObject _softShadowReceiver; // 0xC8
|
||||
private Transform _softShadowCameraTrans; // 0xD0
|
||||
private Transform _softShadowReceiverTrans; // 0xD8
|
||||
private const string SoftShadowObjectName = "Shadow Camera";
|
||||
private CharacterObject.RealtimeShadowType _realtimeShadowType; // 0xE0
|
||||
private bool _enableRealtimeShadow; // 0xE4
|
||||
private bool _isMirror; // 0xE5
|
||||
//private CastShadowEffect _dynamicShadow; // 0xE8
|
||||
private int _characterDataIndex; // 0xF0
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private float _motionNoiseTime; // 0xF4
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private float _motionNoiseRate; // 0xF8
|
||||
private bool _isUpdateMotionNoiseTime; // 0xFC
|
||||
protected bool _isLod; // 0xFD
|
||||
protected Transform _parentDefaultTransform; // 0x100
|
||||
protected Transform _parentTransform; // 0x108
|
||||
protected AnimationState _bodyAnimationState; // 0x110
|
||||
private bool _isSetting; // 0x118
|
||||
protected bool _isMeshActiveAuto; // 0x119
|
||||
private readonly Dictionary<int, Props> _dicProps; // 0x120
|
||||
private readonly List<int> _lstPropHashs; // 0x128
|
||||
//private FakeShadowController[] _shadowL; // 0x130
|
||||
//private FakeShadowController[] _shadowR; // 0x138
|
||||
//private FollowSpotLightController[] _followSpotLightControllers; // 0x140
|
||||
//private List<Spotlight3dController> _spotlight3dControllerList; // 0x148
|
||||
private Vector3 _eyeTrackDefaultPos; // 0x150
|
||||
|
||||
public int ReserveDressModelCount { get; }
|
||||
public int ActiveModelIndex { get; }
|
||||
public int LayerIndex { get; set; }
|
||||
public Color EmissiveColor { get; set; }
|
||||
public GameObject[] ModelObjectArray { get; }
|
||||
public GameObject CurrentModelObject { get; }
|
||||
public Transform[] ModelTransformArray { get; }
|
||||
public Transform CurrentModelTransform { get; }
|
||||
//public LiveModelController[] LiveModelControllerArray { get; }
|
||||
//public LiveModelController CurrentLiveModelController { get; }
|
||||
public EyeTraceController[] EyeTraceControllerArray { get; }
|
||||
public Animation liveMSQAnimation { get; }
|
||||
public bool liveMSQControlled { get; set; }
|
||||
public AnimationState liveMSQCurrentAnimState { get; set; }
|
||||
public float liveMSQCurrentAnimStartTime { get; set; }
|
||||
public float heightRate { get; }
|
||||
//public LiveIK IKCtrl { get; }
|
||||
public bool liveCharaVisible { get; set; }
|
||||
public LiveCharaPosition liveCharaStandingPosition { get; set; }
|
||||
public Vector3 liveCharaInitialPosition { get; set; }
|
||||
public Vector3 liveCharaPosition { get; }
|
||||
public Quaternion liveCharaPositionLocalRotation { get; set; }
|
||||
public Vector3 liveCharaHeadPosition { get; }
|
||||
public Vector3 liveCharaWaistPosition { get; }
|
||||
public Vector3 liveCharaLeftHandWristPosition { get; }
|
||||
public Vector3 liveCharaLeftHandAttachPosition { get; }
|
||||
public Vector3 liveCharaRightHandWristPosition { get; }
|
||||
public Vector3 liveCharaRightHandAttachPosition { get; }
|
||||
public Vector3 liveCharaChestPosition { get; }
|
||||
public Vector3 liveCharaFootPosition { get; }
|
||||
public Vector3 liveCharaConstHeightHeadPosition { get; }
|
||||
public Vector3 liveCharaConstHeightWaistPosition { get; }
|
||||
public Vector3 liveCharaConstHeightChestPosition { get; }
|
||||
public Vector3 liveCharaInitialHeightHeadPosition { get; }
|
||||
public Vector3 liveCharaInitialHeightWaistPosition { get; }
|
||||
public Vector3 liveCharaInitialHeightChestPosition { get; }
|
||||
public Vector3 liveCharaScale { get; }
|
||||
public Transform liveParentDefaultTransform { get; set; }
|
||||
public Transform liveParentTransform { get; set; }
|
||||
public Transform liveRootTransform { get; }
|
||||
public int liveCharaHeightLevel { get; set; }
|
||||
public float liveCharaHeightValue { get; }
|
||||
public float liveCharaHeightRatioBase { get; set; }
|
||||
public float liveCharaHeightRatio { get; set; }
|
||||
public Vector3 liveCharaFormationHeightRateOffset { get; set; }
|
||||
public bool IsPositionNodePositionAddParent { get; set; }
|
||||
public bool IsCastShadow { get; set; }
|
||||
public float CySpringRate { get; set; }
|
||||
public LiveTimelineDefine.FacialEyeTrackTargetType EyeTrackTargetType { get; set; }
|
||||
public float EyeTrackVerticalRate { get; set; }
|
||||
public float EyeTrackHorizontalRate { get; set; }
|
||||
public Vector3 EyeTrackDirectWorldPosition { get; set; }
|
||||
public CharacterObject.RealtimeShadowType realtimeShadowType { get; set; }
|
||||
public bool enableRealtimeShadow { get; set; }
|
||||
public bool IsMirror { get; set; }
|
||||
public int CharacterDataIndex { get; set; }
|
||||
public bool IsUpdateMotionNoiseTime { get; set; }
|
||||
public bool IsSetting { get; }
|
||||
public static string FollowSpotLightParentName { get; set; }
|
||||
public FollowSpotLightController[] FollowSpotLightControllers { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2db4a9726d149bf4c8d4c8cca1d06ff6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,43 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live.Cutt
|
||||
{
|
||||
public interface ILiveTimelineCharactorLocator
|
||||
{
|
||||
public abstract bool liveCharaVisible { get; set; }
|
||||
public abstract LiveCharaPosition liveCharaStandingPosition { get; set; }
|
||||
public abstract Vector3 liveCharaInitialPosition { get; set; }
|
||||
public abstract Vector3 liveCharaPosition { get; }
|
||||
public abstract Quaternion liveCharaPositionLocalRotation { get; set; }
|
||||
public abstract Vector3 liveCharaHeadPosition { get; }
|
||||
public abstract Vector3 liveCharaWaistPosition { get; }
|
||||
public abstract Vector3 liveCharaLeftHandWristPosition { get; }
|
||||
public abstract Vector3 liveCharaLeftHandAttachPosition { get; }
|
||||
public abstract Vector3 liveCharaRightHandAttachPosition { get; }
|
||||
public abstract Vector3 liveCharaRightHandWristPosition { get; }
|
||||
public abstract Vector3 liveCharaChestPosition { get; }
|
||||
public abstract Vector3 liveCharaFootPosition { get; }
|
||||
public abstract Vector3 liveCharaConstHeightHeadPosition { get; }
|
||||
public abstract Vector3 liveCharaConstHeightWaistPosition { get; }
|
||||
public abstract Vector3 liveCharaConstHeightChestPosition { get; }
|
||||
public abstract Vector3 liveCharaInitialHeightHeadPosition { get; }
|
||||
public abstract Vector3 liveCharaInitialHeightWaistPosition { get; }
|
||||
public abstract Vector3 liveCharaInitialHeightChestPosition { get; }
|
||||
public abstract Vector3 liveCharaScale { get; }
|
||||
public abstract Transform liveParentDefaultTransform { get; set; }
|
||||
public abstract Transform liveParentTransform { get; set; }
|
||||
public abstract Transform liveRootTransform { get; }
|
||||
public abstract int liveCharaHeightLevel { get; set; }
|
||||
public abstract float liveCharaHeightValue { get; }
|
||||
public abstract float liveCharaHeightRatioBase { get; set; }
|
||||
public abstract float liveCharaHeightRatio { get; set; }
|
||||
public abstract Vector3 liveCharaFormationHeightRateOffset { get; set; }
|
||||
public abstract bool IsPositionNodePositionAddParent { get; set; }
|
||||
public abstract bool IsCastShadow { get; set; }
|
||||
public abstract float CySpringRate { get; set; }
|
||||
public abstract int LayerIndex { set; }
|
||||
public abstract Color EmissiveColor { set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e45fd2046ce72d54d8e384609af1e05d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,17 @@
|
||||
using RootMotion.FinalIK;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live.Cutt
|
||||
{
|
||||
public interface ILiveTimelineMSQTarget
|
||||
{
|
||||
//public abstract LiveModelController[] LiveModelControllerArray { get; }
|
||||
public abstract bool liveMSQControlled { get; set; }
|
||||
public abstract AnimationState liveMSQCurrentAnimState { get; set; }
|
||||
public abstract float liveMSQCurrentAnimStartTime { get; set; }
|
||||
public abstract float heightRate { get; }
|
||||
//public abstract LiveIK IKCtrl { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc8d035e1edd59a4193a6f730829b03e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -7,10 +7,17 @@ namespace Gallop.Live.Cutt
|
||||
public class LiveTimelineControl : MonoBehaviour
|
||||
{
|
||||
public LiveTimelineData data;
|
||||
public const int kTargetFps = 60;
|
||||
public const float kTargetFpsF = 60;
|
||||
public const float kFrameToSec = 0.016666668f;
|
||||
public Transform cameraPositionLocatorsRoot;
|
||||
public Transform cameraLookAtLocatorsRoot;
|
||||
[SerializeField]
|
||||
private Transform[] characterStandPosLocators;
|
||||
public const float BaseCharaHeight = 158;
|
||||
public const float BaseCharaHeightMin = 130;
|
||||
public const float BaseCharaHeightMax = 190;
|
||||
public const float BaseCharaHeightDiff = 60;
|
||||
|
||||
public void CopyValues<T>(T from, T to)
|
||||
{
|
||||
|
||||
-27
@@ -1,27 +0,0 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live.Cutt
|
||||
{
|
||||
[System.Serializable]
|
||||
public class LiveTimelineKeyA2UConfigData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public A2U.Blend blend;
|
||||
public A2U.Order order;
|
||||
public bool enable;
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class LiveTimelineKeyA2UConfigDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyA2UConfigData>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class LiveTimelineA2UConfigData : ILiveTimelineGroupDataWithName
|
||||
{
|
||||
private const string default_name = "A2UConfig";
|
||||
public LiveTimelineKeyA2UConfigDataList keys;
|
||||
}
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live.Cutt
|
||||
{
|
||||
[System.Serializable]
|
||||
public class LiveTimelineKeyA2UData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
private static readonly float MinOpacity;
|
||||
private static readonly float MaxOpacity;
|
||||
public Color spriteColor;
|
||||
public Vector2 position;
|
||||
public Vector2 scale;
|
||||
public float rotationZ;
|
||||
public int textureIndex;
|
||||
public int appearanceRandomSeed;
|
||||
public float spriteAppearance;
|
||||
public int slopeRandomSeed;
|
||||
public float spriteMinSlope;
|
||||
public float spriteMaxSlope;
|
||||
public float spriteScale;
|
||||
public float spriteOpacity;
|
||||
public float startSec;
|
||||
public float speed;
|
||||
public bool isFlick;
|
||||
public bool enable;
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class LiveTimelineKeyA2UDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyA2UData>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class LiveTimelineA2UData : ILiveTimelineGroupDataWithName
|
||||
{
|
||||
private const string default_name = "A2U";
|
||||
public LiveTimelineKeyA2UDataList keys;
|
||||
}
|
||||
}
|
||||
+3
-1
@@ -32,13 +32,14 @@ namespace Gallop.Live.Cutt
|
||||
public float outlineWidthPower;
|
||||
public Color outlineColor;
|
||||
public ModelController.OutlineColorBlend outlineColorBlend;
|
||||
public LiveDefine.LightBlendMode LightBlendMode;
|
||||
public bool IsProjector;
|
||||
public LiveTimelineKeyLoopType loopType;
|
||||
public int loopCount;
|
||||
public int loopExecutedCount;
|
||||
public int loopIntervalFrame;
|
||||
public bool isPasteLoopUnit;
|
||||
public bool isChangeLoopInterpolate;
|
||||
public bool IsProjector;
|
||||
public float f32;
|
||||
public LiveTimelineKeyLoopType _loopType;
|
||||
public int _loopCount;
|
||||
@@ -56,6 +57,7 @@ namespace Gallop.Live.Cutt
|
||||
[System.Serializable]
|
||||
public class LiveTimelineBgColor1Data : ILiveTimelineGroupDataWithName
|
||||
{
|
||||
private const string default_name = "BgColor1";
|
||||
public LiveTimelineKeyBgColor1DataList keys;
|
||||
}
|
||||
}
|
||||
|
||||
+15
-14
@@ -25,20 +25,21 @@ namespace Gallop.Live.Cutt
|
||||
[System.Serializable]
|
||||
public class LiveTimelineKeyBlinkLightData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Color[] color0Array;
|
||||
public Color[] color1Array;
|
||||
public float[] powerArray;
|
||||
public bool[] isReverseHueArray;
|
||||
public BlinkLightPattern pattern;
|
||||
public BlinkLightColorType colorType;
|
||||
public float powerMin;
|
||||
public float powerMax;
|
||||
public int loopCount;
|
||||
public float waitTime;
|
||||
public float turnOnTime;
|
||||
public float turnOffTime;
|
||||
public float keepTime;
|
||||
public float intervalTime;
|
||||
public LiveDefine.LightBlendMode LightBlendMode; // 0x30
|
||||
public Color[] color0Array; // 0x38
|
||||
public Color[] color1Array; // 0x40
|
||||
public float[] powerArray; // 0x48
|
||||
public bool[] isReverseHueArray; // 0x50
|
||||
public BlinkLightPattern pattern; // 0x58
|
||||
public BlinkLightColorType colorType; // 0x5C
|
||||
public float powerMin; // 0x60
|
||||
public float powerMax; // 0x64
|
||||
public int loopCount; // 0x68
|
||||
public float waitTime; // 0x6C
|
||||
public float turnOnTime; // 0x70
|
||||
public float turnOffTime; // 0x74
|
||||
public float keepTime; // 0x78
|
||||
public float intervalTime; // 0x7C
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live.Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCharaNodeData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public LiveCharaPositionFlag PositionFlag;
|
||||
public bool EnableHeadCySpring;
|
||||
public bool EnableEarCySpring;
|
||||
public bool EnableBodyCySpring;
|
||||
public bool EnableSkirtCySpring;
|
||||
public bool EnableTailCySpring;
|
||||
public List<string> TargetCySpringBornNameList;
|
||||
public List<bool> TargetCySpringBornEnableList;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCharaNodeDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyCharaNodeData>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineCharaNodeData : ILiveTimelineGroupDataWithName
|
||||
{
|
||||
private const string DEFAULT_NAME = "CharaNode";
|
||||
public LiveTimelineKeyCharaNodeDataList keys;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b573cfc026eef1d498f6bb7bf1edac82
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+44
-38
@@ -2,6 +2,7 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Gallop.Cutt.Util;
|
||||
using Cutt;
|
||||
|
||||
namespace Gallop.Live.Cutt
|
||||
{
|
||||
@@ -20,42 +21,47 @@ namespace Gallop.Live.Cutt
|
||||
[System.Serializable]
|
||||
public class LiveTimelineCharaPartsData
|
||||
{
|
||||
private const int DATA_LIST_SIZE = 18;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList centerKeys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList left1Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList right1Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList left2Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList right2Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place06Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place07Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place08Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place09Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place10Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place11Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place12Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place13Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place14Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place15Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place16Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place17Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place18Keys;
|
||||
}
|
||||
private const int DATA_LIST_SIZE = 20;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList centerKeys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList left1Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList right1Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList left2Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList right2Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place06Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place07Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place08Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place09Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place10Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place11Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place12Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place13Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place14Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place15Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place16Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place17Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place18Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place19Keys;
|
||||
[SerializeField]
|
||||
private LiveTimelineKeyCharaPartsDataList place20Keys;
|
||||
private readonly ILiveTimelineKeyDataList[] _cacheDataList;
|
||||
}
|
||||
}
|
||||
+24
-20
@@ -1,3 +1,4 @@
|
||||
using Cutt;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
@@ -26,24 +27,27 @@ namespace Gallop.Live.Cutt
|
||||
[System.Serializable]
|
||||
public class LiveTimelineFacialToonData
|
||||
{
|
||||
public const int DATA_LIST_SIZE = 18;
|
||||
public LiveTimelineKeyFacialToonDataList centerKeys;
|
||||
public LiveTimelineKeyFacialToonDataList left1Keys;
|
||||
public LiveTimelineKeyFacialToonDataList right1Keys;
|
||||
public LiveTimelineKeyFacialToonDataList left2Keys;
|
||||
public LiveTimelineKeyFacialToonDataList right2Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion5Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion6Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion7Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion8Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion9Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion10Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion11Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion12Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion13Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion14Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion15Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion16Keys;
|
||||
public LiveTimelineKeyFacialToonDataList motion17Keys;
|
||||
}
|
||||
public const int DATA_LIST_SIZE = 20;
|
||||
public LiveTimelineKeyFacialToonDataList centerKeys; // 0x10
|
||||
public LiveTimelineKeyFacialToonDataList left1Keys; // 0x18
|
||||
public LiveTimelineKeyFacialToonDataList right1Keys; // 0x20
|
||||
public LiveTimelineKeyFacialToonDataList left2Keys; // 0x28
|
||||
public LiveTimelineKeyFacialToonDataList right2Keys; // 0x30
|
||||
public LiveTimelineKeyFacialToonDataList motion5Keys; // 0x38
|
||||
public LiveTimelineKeyFacialToonDataList motion6Keys; // 0x40
|
||||
public LiveTimelineKeyFacialToonDataList motion7Keys; // 0x48
|
||||
public LiveTimelineKeyFacialToonDataList motion8Keys; // 0x50
|
||||
public LiveTimelineKeyFacialToonDataList motion9Keys; // 0x58
|
||||
public LiveTimelineKeyFacialToonDataList motion10Keys; // 0x60
|
||||
public LiveTimelineKeyFacialToonDataList motion11Keys; // 0x68
|
||||
public LiveTimelineKeyFacialToonDataList motion12Keys; // 0x70
|
||||
public LiveTimelineKeyFacialToonDataList motion13Keys; // 0x78
|
||||
public LiveTimelineKeyFacialToonDataList motion14Keys; // 0x80
|
||||
public LiveTimelineKeyFacialToonDataList motion15Keys; // 0x88
|
||||
public LiveTimelineKeyFacialToonDataList motion16Keys; // 0x90
|
||||
public LiveTimelineKeyFacialToonDataList motion17Keys; // 0x98
|
||||
public LiveTimelineKeyFacialToonDataList motion18Keys; // 0xA0
|
||||
public LiveTimelineKeyFacialToonDataList motion19Keys; // 0xA8
|
||||
private ILiveTimelineKeyDataList[] _cacheDataList; // 0xB0
|
||||
}
|
||||
}
|
||||
|
||||
+78
-65
@@ -1,3 +1,4 @@
|
||||
using Cutt;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
@@ -46,52 +47,60 @@ namespace Gallop.Live.Cutt
|
||||
HandAttachR = 2
|
||||
}
|
||||
|
||||
public Vector3 Position;
|
||||
public float RotationY;
|
||||
public float LocalRotationY;
|
||||
public bool visible;
|
||||
public int DressIndex;
|
||||
public bool warmUpCySpring;
|
||||
public bool isEnabledOffset;
|
||||
public Vector3 offsetMaxPosition;
|
||||
public Vector3 offsetMinPosition;
|
||||
public bool isEnabledOffsetCameraTargetChara;
|
||||
public bool IsWorldSpace;
|
||||
public Vector3 WorldSpaceOrigin;
|
||||
public float WorldRotationY;
|
||||
public bool IsLookAtWorldOrigin;
|
||||
public bool IsPositionAddParentNode;
|
||||
public bool IsCastShadow;
|
||||
public float CySpringRate;
|
||||
public bool IsLayerIndex;
|
||||
public int LayerIndex;
|
||||
public bool IsEmissiveColor;
|
||||
public Color EmissiveColor;
|
||||
public float EmissiveScrollTimeScale;
|
||||
public float EmissiveScrollEnergyScale;
|
||||
public LiveTimelineKeyFormationOffsetData.IKSystemType IKSystem;
|
||||
public int IKSystemParam1;
|
||||
public int IKSystemParam2;
|
||||
public int IKSystemParam3;
|
||||
public int IKSystemParam4;
|
||||
public int PositionPriority;
|
||||
public bool IsEnabledIKMicStandLOffset;
|
||||
public bool IsEnabledIKMicStandROffset;
|
||||
public Vector3 IKMicStandLOffsetHigh;
|
||||
public Vector3 IKMicStandLOffsetLow;
|
||||
public Vector3 IKMicStandROffsetHigh;
|
||||
public Vector3 IKMicStandROffsetLow;
|
||||
[SerializeField]
|
||||
private int ver;
|
||||
[SerializeField]
|
||||
private Vector2 posXZ;
|
||||
[SerializeField]
|
||||
private float posY;
|
||||
[SerializeField]
|
||||
private Vector3 position;
|
||||
[SerializeField]
|
||||
private float rotY;
|
||||
}
|
||||
public Vector3 Position;
|
||||
public float RotationY;
|
||||
public float LocalRotationY;
|
||||
public bool visible;
|
||||
public int DressIndex;
|
||||
public bool warmUpCySpring;
|
||||
public bool isEnabledOffset;
|
||||
public Vector3 offsetMaxPosition;
|
||||
public Vector3 offsetMinPosition;
|
||||
public bool isEnabledOffsetCameraTargetChara;
|
||||
public bool IsWorldSpace;
|
||||
public Vector3 WorldSpaceOrigin;
|
||||
public float WorldRotationY;
|
||||
public bool IsLookAtWorldOrigin;
|
||||
public bool IsPositionAddParentNode;
|
||||
public string ParentObjectName;
|
||||
public bool IsCastShadow;
|
||||
public float CySpringRate;
|
||||
public bool IsLayerIndex;
|
||||
public int LayerIndex;
|
||||
public bool IsEmissiveColor;
|
||||
public Color EmissiveColor;
|
||||
public float EmissiveScrollTimeScale;
|
||||
public float EmissiveScrollEnergyScale;
|
||||
private static readonly string[] IKSYSTEM_HOLD_HAND_TARGET_NODE_NAME_ARRAY;
|
||||
public LiveTimelineKeyFormationOffsetData.IKSystemType IKSystem;
|
||||
public int IKSystemParam1;
|
||||
public int IKSystemParam2;
|
||||
public int IKSystemParam3;
|
||||
public int IKSystemParam4;
|
||||
public int PositionPriority;
|
||||
public bool IsEnabledIKMicStandLOffset;
|
||||
public bool IsEnabledIKMicStandROffset;
|
||||
public Vector3 IKMicStandLOffsetHigh;
|
||||
public Vector3 IKMicStandLOffsetLow;
|
||||
public Vector3 IKMicStandROffsetHigh;
|
||||
public Vector3 IKMicStandROffsetLow;
|
||||
[SerializeField]
|
||||
private int ver;
|
||||
[SerializeField]
|
||||
private Vector2 posXZ;
|
||||
[SerializeField]
|
||||
private float posY;
|
||||
[SerializeField]
|
||||
private Vector3 position;
|
||||
[SerializeField]
|
||||
private float rotY;
|
||||
private const int ATTR_RESET_CLOTH = 65536;
|
||||
private const int ATTR_PARENT_OBJECT = 131072;
|
||||
private int _parentObjectNameHash;
|
||||
private bool _isUpdatedParentObject;
|
||||
private Transform _parentObjectTransform;
|
||||
private int _parentObjectTargetCount;
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class LiveTimelineKeyFormationOffsetDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyFormationOffsetData>
|
||||
@@ -102,23 +111,27 @@ namespace Gallop.Live.Cutt
|
||||
[System.Serializable]
|
||||
public class LiveTimelineFormationOffsetData
|
||||
{
|
||||
public LiveTimelineKeyFormationOffsetDataList centerKeys; // 0x10
|
||||
public LiveTimelineKeyFormationOffsetDataList left1Keys; // 0x18
|
||||
public LiveTimelineKeyFormationOffsetDataList right1Keys; // 0x20
|
||||
public LiveTimelineKeyFormationOffsetDataList left2Keys; // 0x28
|
||||
public LiveTimelineKeyFormationOffsetDataList right2Keys; // 0x30
|
||||
public LiveTimelineKeyFormationOffsetDataList place06Keys; // 0x38
|
||||
public LiveTimelineKeyFormationOffsetDataList place07Keys; // 0x40
|
||||
public LiveTimelineKeyFormationOffsetDataList place08Keys; // 0x48
|
||||
public LiveTimelineKeyFormationOffsetDataList place09Keys; // 0x50
|
||||
public LiveTimelineKeyFormationOffsetDataList place10Keys; // 0x58
|
||||
public LiveTimelineKeyFormationOffsetDataList place11Keys; // 0x60
|
||||
public LiveTimelineKeyFormationOffsetDataList place12Keys; // 0x68
|
||||
public LiveTimelineKeyFormationOffsetDataList place13Keys; // 0x70
|
||||
public LiveTimelineKeyFormationOffsetDataList place14Keys; // 0x78
|
||||
public LiveTimelineKeyFormationOffsetDataList place15Keys; // 0x80
|
||||
public LiveTimelineKeyFormationOffsetDataList place16Keys; // 0x88
|
||||
public LiveTimelineKeyFormationOffsetDataList place17Keys; // 0x90
|
||||
public LiveTimelineKeyFormationOffsetDataList place18Keys; // 0x98
|
||||
}
|
||||
private const int DATA_LIST_SIZE = 20;
|
||||
public LiveTimelineKeyFormationOffsetDataList centerKeys; // 0x10
|
||||
public LiveTimelineKeyFormationOffsetDataList left1Keys; // 0x18
|
||||
public LiveTimelineKeyFormationOffsetDataList right1Keys; // 0x20
|
||||
public LiveTimelineKeyFormationOffsetDataList left2Keys; // 0x28
|
||||
public LiveTimelineKeyFormationOffsetDataList right2Keys; // 0x30
|
||||
public LiveTimelineKeyFormationOffsetDataList place06Keys; // 0x38
|
||||
public LiveTimelineKeyFormationOffsetDataList place07Keys; // 0x40
|
||||
public LiveTimelineKeyFormationOffsetDataList place08Keys; // 0x48
|
||||
public LiveTimelineKeyFormationOffsetDataList place09Keys; // 0x50
|
||||
public LiveTimelineKeyFormationOffsetDataList place10Keys; // 0x58
|
||||
public LiveTimelineKeyFormationOffsetDataList place11Keys; // 0x60
|
||||
public LiveTimelineKeyFormationOffsetDataList place12Keys; // 0x68
|
||||
public LiveTimelineKeyFormationOffsetDataList place13Keys; // 0x70
|
||||
public LiveTimelineKeyFormationOffsetDataList place14Keys; // 0x78
|
||||
public LiveTimelineKeyFormationOffsetDataList place15Keys; // 0x80
|
||||
public LiveTimelineKeyFormationOffsetDataList place16Keys; // 0x88
|
||||
public LiveTimelineKeyFormationOffsetDataList place17Keys; // 0x90
|
||||
public LiveTimelineKeyFormationOffsetDataList place18Keys; // 0x98
|
||||
public LiveTimelineKeyFormationOffsetDataList place19Keys; // 0xA0
|
||||
public LiveTimelineKeyFormationOffsetDataList place20Keys; // 0xA8
|
||||
private readonly ILiveTimelineKeyDataList[] _cacheDataList; // 0xB0
|
||||
}
|
||||
}
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live.Cutt
|
||||
{
|
||||
public enum LiveFlashPlayerActionType
|
||||
{
|
||||
PlayIn = 0,
|
||||
None = 1,
|
||||
Max = 2,
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyFlashPlayerData : LiveTimelineKey
|
||||
{
|
||||
public LiveFlashPlayerActionType _actionType;
|
||||
public string CueSheetName;
|
||||
public string CueName;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyFlashPlayerDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyFlashPlayerData>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 83a535f6c000a1c478251b774206a19a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+15
-1
@@ -23,6 +23,14 @@ namespace Gallop.Live.Cutt
|
||||
public LiveTimelineKeyMonitorControlData.ChangeUVSetting.ChangeUVSettingCondition[] ConditionArray;
|
||||
}
|
||||
|
||||
public enum ExtraContent
|
||||
{
|
||||
None = 0,
|
||||
ChampionsMeetingLogo = 1,
|
||||
ChampionsMeetingGoal = 2
|
||||
}
|
||||
|
||||
public const int CHANGE_UV_SETTING_MAX = 1;
|
||||
public Vector2 position;
|
||||
public Vector2 size;
|
||||
public int dispID;
|
||||
@@ -31,13 +39,19 @@ namespace Gallop.Live.Cutt
|
||||
public int playStartOffsetFrame;
|
||||
public float blendFactor;
|
||||
public Color colorFade;
|
||||
public Color BaseColor;
|
||||
public int RenderQueueNo;
|
||||
public bool IsRenderQueue;
|
||||
public int DispID2;
|
||||
public float CrossFadeRate;
|
||||
public int LightImageNo;
|
||||
public int LightImageNo;
|
||||
public int LightImageNo2;
|
||||
public LiveTimelineKeyMonitorControlData.ChangeUVSetting[] ChangeUVSettingArray;
|
||||
public LiveTimelineKeyMonitorControlData.ExtraContent extraContent;
|
||||
private const int ATTR_MULTI = 65536;
|
||||
private const int ATTR_PLAY_REVERSE = 131072;
|
||||
private const int ATTR_USE_MONITOR_CAMERA = 262144;
|
||||
private const int ATTR_FORCED_USE_MONITOR_CAMERA = 524288;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+11
-7
@@ -7,13 +7,17 @@ namespace Gallop.Live.Cutt
|
||||
[System.Serializable]
|
||||
public class LiveTimelineKeyVolumeLightData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Vector3 sunPosition;
|
||||
public Color color1;
|
||||
public float power;
|
||||
public float komorebi;
|
||||
public float blurRadius;
|
||||
public bool enable;
|
||||
public bool isEnabledBorderClear;
|
||||
public Vector3 sunPosition; // 0x30
|
||||
public Color color1; // 0x3C
|
||||
public float power; // 0x4C
|
||||
public float komorebi; // 0x50
|
||||
public float blurRadius; // 0x54
|
||||
public float ColorRate; // 0x58
|
||||
public float ScreenColorPower; // 0x5C
|
||||
public float EffectColorPower; // 0x60
|
||||
public bool enable; // 0x64
|
||||
public bool isEnabledBorderClear; // 0x65
|
||||
private const int ATTR_BLUR_ALPHA = 65536;
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
using Cutt;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -237,8 +238,8 @@ namespace Gallop.Live.Cutt
|
||||
public float TotalTimeLength;
|
||||
public bool Lyrics;
|
||||
public LiveTimelineDefine.SheetIndex SheetType;
|
||||
public LiveTimelineKeyTimescaleDataList timescaleKeys;
|
||||
public LiveTimelineKeyCameraPositionDataList cameraPosKeys;
|
||||
[SerializeField] public LiveTimelineKeyTimescaleDataList timescaleKeys;
|
||||
[SerializeField] public LiveTimelineKeyCameraPositionDataList cameraPosKeys;
|
||||
|
||||
//[SerializeField]用于该类在别的脚本里定义的时候
|
||||
[SerializeField] public LiveTimelineKeyCameraLookAtDataList cameraLookAtKeys;
|
||||
@@ -312,14 +313,12 @@ namespace Gallop.Live.Cutt
|
||||
[SerializeField] public List<LiveTimelineEffectData> effectList;
|
||||
|
||||
[SerializeField] public LiveTimelineKeyTiltShiftDataList tiltShiftKeys;
|
||||
|
||||
[SerializeField] public List<LiveTimelineA2UConfigData> a2uConfigList;
|
||||
[SerializeField] public List<LiveTimelineA2UData> a2uList;
|
||||
|
||||
[SerializeField] public LiveTimelineKeyTitleDataList titleKeys;
|
||||
[SerializeField] public LiveTimelineKeyFlashPlayerDataList flashPlayerKeys;
|
||||
[SerializeField] public LiveTimelineKeyTitleDataList titleKeys;
|
||||
|
||||
[SerializeField] public List<LiveTimelineSpotlight3dData> spotlight3dList;
|
||||
[SerializeField] public List<LiveTimelineNodeScaleData> nodeScaleList;
|
||||
[SerializeField] public List<LiveTimelineCharaNodeData> CharaNodeDataList;
|
||||
[SerializeField] public List<LiveTimelineNodeScaleData> nodeScaleList;
|
||||
|
||||
[SerializeField] public LiveTimelineKeyCharaFootLightDataList charaFootLightKeys;
|
||||
|
||||
@@ -349,7 +348,7 @@ namespace Gallop.Live.Cutt
|
||||
|
||||
|
||||
|
||||
/*
|
||||
/*
|
||||
//终于可以调用AB包了,虽然后面发现没什么用...说不定什么时候能用到
|
||||
private void Start()
|
||||
{
|
||||
@@ -370,6 +369,6 @@ namespace Gallop.Live.Cutt
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,322 @@
|
||||
using System;
|
||||
using Gallop.ImageEffect;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine;
|
||||
using Gallop.Live.Cutt;
|
||||
using static Director;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class Director : MonoBehaviour
|
||||
{
|
||||
private class OutLineOffLengthItem
|
||||
{
|
||||
public Camera _camera;
|
||||
public float _outlineOffLength;
|
||||
}
|
||||
|
||||
private enum LoadAssetTask
|
||||
{
|
||||
Start = 0,
|
||||
TimelineEnd = 1,
|
||||
CharacterEnd = 2,
|
||||
StageEnd = 3,
|
||||
Finish = 4
|
||||
}
|
||||
|
||||
public enum QualityLevel
|
||||
{
|
||||
Auto = 0,
|
||||
Lv1_Outline75 = 1,
|
||||
Lv2_Outline = 2,
|
||||
Lv3_OutlineBloom50 = 3,
|
||||
Lv4_OutlineBloom75 = 4,
|
||||
Lv5_OutlineBloom100 = 5,
|
||||
Lv6_OutlineDof75 = 6,
|
||||
Lv7_OutlineDof1280 = 7,
|
||||
Lv8_OutlineDof = 8,
|
||||
Max = 8
|
||||
}
|
||||
|
||||
public enum DisplayMode
|
||||
{
|
||||
None = 0,
|
||||
Landscape = 1,
|
||||
Portrait = 2
|
||||
}
|
||||
|
||||
private enum State
|
||||
{
|
||||
None = 0,
|
||||
LiveInit_Start = 1,
|
||||
LiveInit = 2,
|
||||
LiveStart_Start = 3,
|
||||
LiveStart = 4,
|
||||
LivePlay_Start = 5,
|
||||
LivePlay = 6
|
||||
}
|
||||
|
||||
private enum CameraIndex
|
||||
{
|
||||
Motion = 0,
|
||||
Timeline1 = 1,
|
||||
Timeline2 = 2,
|
||||
Timeline3 = 3
|
||||
}
|
||||
|
||||
public enum IndirectLightShaftsTextureType
|
||||
{
|
||||
ShaftA = 0,
|
||||
ShaftB = 1,
|
||||
Mask = 2,
|
||||
ShaftC = 3
|
||||
}
|
||||
|
||||
public class SpotLightEffectMaterialData
|
||||
{
|
||||
public Material AdditionMaterial;
|
||||
public Material MultiplyMaterial;
|
||||
}
|
||||
|
||||
public class Live3DSettings
|
||||
{
|
||||
public int MusicId { get; set; }
|
||||
public string CuttPath { get; set; }
|
||||
public string BgPath { get; set; }
|
||||
public float DelayTime { get; set; }
|
||||
public string CameraPath { get; set; }
|
||||
//public Director.Live3DSettings.UvMovieData[] UvMovieDataArray { get; set; }
|
||||
public string[] MirrorScanLightTexturePathArray { get; set; }
|
||||
public int CharacterDataCount { get; set; }
|
||||
//public CharacterObject.CharacterData[] CharacterDataArray { get; }
|
||||
public bool IsEnabled { get; set; }
|
||||
public bool IsOP { get; set; }
|
||||
public bool IsED { get; set; }
|
||||
public bool IsSkipSkit { get; set; }
|
||||
public bool IsVoiceOP { get; set; }
|
||||
public bool IsVoiceED { get; set; }
|
||||
public bool IsLyricsOP { get; set; }
|
||||
public bool IsLyricsED { get; set; }
|
||||
public bool IsCyalumeOP { get; set; }
|
||||
public bool IsCyalumeED { get; set; }
|
||||
//public Director.Live3DSettings.AudienceAnimationData[] AudienceAnimationDataArray { get; set; }
|
||||
public Dictionary<int, string> ProjectorTextureDictionary { get; set; }
|
||||
public int ExtraResourceId { get; set; }
|
||||
public int MusicResourceId { get; set; }
|
||||
}
|
||||
|
||||
public class LiveLoadSettings
|
||||
{
|
||||
public class CharacterInfo
|
||||
{
|
||||
public int CharaId { get; set; }
|
||||
public int MobId { get; set; }
|
||||
public int[] DressIdArray { get; set; }
|
||||
public int[] DressColorIdArray { get; set; }
|
||||
public int VocalCharaId { get; set; }
|
||||
public bool IsMob { get; }
|
||||
}
|
||||
|
||||
public class RaceInfo
|
||||
{
|
||||
public int RaceInstanceId { get; set; }
|
||||
public RaceDefine.Weather Weather { get; set; }
|
||||
public string[] CharacterNameArray { get; set; }
|
||||
public string[] TrainerNameArray { get; set; }
|
||||
public string[] CharacterNameArrayForChampionsText { get; set; }
|
||||
public string[] TrainerNameArrayForChampionsText { get; set; }
|
||||
public RaceDefine.RaceType RaceType { get; set; }
|
||||
public int DateYear { get; set; }
|
||||
public int ChampionsMeetingResourceId { get; set; }
|
||||
public Texture GoalCaptureTexture { get; set; }
|
||||
}
|
||||
|
||||
public int MusicId { get; set; }
|
||||
public List<Director.LiveLoadSettings.CharacterInfo> CharacterInfoList { get; }
|
||||
public Director.LiveLoadSettings.RaceInfo raceInfo { get; }
|
||||
public bool IsSkipSkit { get; set; }
|
||||
public Dictionary<int, int> StageObjectSelectTargetDictionary { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
private const float LiveStartFadeInTime = 1;
|
||||
private const string TransparentCameraName = "TransparentCamera";
|
||||
private const int TransparentCameraDepth = 15;
|
||||
private const string MonitorCameraPrefabPath = "Prefabs/Live/MonitorCamera";
|
||||
private const float LiveTotalTimeInit = 180;
|
||||
private const float LiveTotalTimeMargin = 0;
|
||||
private const float MaxOutlineOffLength = 99999;
|
||||
private const int FINALIZE_CAMERA_DEPTH = 19;
|
||||
private static Director _instance;
|
||||
[SerializeField]
|
||||
private Director.State _state;
|
||||
private bool _isDestroyed;
|
||||
private LiveTimelineControl _liveTimelineControl;
|
||||
private bool _isFinished;
|
||||
private readonly RandomTable<float> _randomTable;
|
||||
private RandomRatioTable _blinkLightRandomRatioTable;
|
||||
private float _sceneFrameRate;
|
||||
[SerializeField]
|
||||
private float _liveCurrentTime;
|
||||
private bool _isRequestFadeOut;
|
||||
private bool _isLiveSetup;
|
||||
[SerializeField]
|
||||
private bool _isEnableBloom;
|
||||
private bool _isBloom;
|
||||
private bool _isDof;
|
||||
private StageController _stageController;
|
||||
private bool _isEnabledStageController;
|
||||
public RenderTexture[] MonitorTextureArray;
|
||||
[SerializeField]
|
||||
private Transform _globalLightTransform;
|
||||
[SerializeField]
|
||||
private GameObject[] _cameraNodes;
|
||||
private Camera[] _cameraObjects;
|
||||
private CameraEventCallback[] _cameraEventCallbackArray;
|
||||
private GameObject _transparentCameraObject;
|
||||
private Camera _transparentCamera;
|
||||
private Transform _transparentCameraTransform;
|
||||
private MultiCameraFinalComposite[] _multiCameraFinalCompositeArray;
|
||||
private MultiCameraComposite[] _multiCameraCompositionArray;
|
||||
private MultiCamera _multiCamera;
|
||||
[SerializeField]
|
||||
private CameraLookAt _cameraLookAt;
|
||||
[SerializeField]
|
||||
private Animator _cameraAnimator;
|
||||
private RuntimeAnimatorController _cameraRuntimeAnimator;
|
||||
private GameObject[] _monitorCameraObjectArray;
|
||||
private MonitorCamera[] _monitorCameraArray;
|
||||
[SerializeField]
|
||||
private HandShakeCamera _handShakeCamera;
|
||||
private int _activeCameraIndex;
|
||||
private readonly int kMotionCameraIndex;
|
||||
private readonly int[] kTimelineCameraIndices;
|
||||
//private GallopFrameBuffer _frameBuffer;
|
||||
//private LowResolutionCameraFrameBuffer[] _lowResolutionCameraArray;
|
||||
private Camera _mainCameraObject;
|
||||
private Transform _mainCameraTransform;
|
||||
public Action OnChangeOriantationLandscapeCallback;
|
||||
public Action OnChangeOriantationPortraitCallback;
|
||||
private readonly List<CharacterObject> _characterObjectList;
|
||||
private List<CharaEffectInfo> _listShadowEffectInfo;
|
||||
private List<CharaEffectInfo> _listSpotLightEffectInfo;
|
||||
private ModelController.ModelDepthInfo[] _depthOrderInfoArray;
|
||||
private readonly List<ModelController> _modelControllerList;
|
||||
private bool _isUpdateModelRenderQueue;
|
||||
//private PropsManager _propsManager;
|
||||
private SongPart _songPart;
|
||||
//public LiveChampionsTextController ChampionsTextController;
|
||||
public LiveTitleController TitleController;
|
||||
private LiveFadeController _fadeController;
|
||||
//private readonly List<LiveImageEffect> _imageEffectLive3dList;
|
||||
//private IndirectLightShaftsParam[] _indirectLightShaftsParamArray;
|
||||
private Texture2D[] _indirectLightShaftsTexture;
|
||||
private ColorCorrectionParam _colorCorrectionParameter;
|
||||
[SerializeField]
|
||||
private float _outlineFovMin;
|
||||
[SerializeField]
|
||||
private float _outlineFovMinOffLength;
|
||||
[SerializeField]
|
||||
private float _outlineFovLessOffLength;
|
||||
[SerializeField]
|
||||
private float _outlineFovMax;
|
||||
[SerializeField]
|
||||
private float _outlineFovMaxOffLength;
|
||||
[SerializeField]
|
||||
private float _outlineFovGreaterOffLength;
|
||||
private List<Director.OutLineOffLengthItem> _outlineOffLengthItems;
|
||||
private const int VariationCallOn = 1;
|
||||
private const int VariationCallOff = 2;
|
||||
private const int CharaSongVariation = 1;
|
||||
private const int MOB_DEFAULT_DRESS_ID = 7;
|
||||
private const int PROPS_BLINKLIGHT_RENDERQUEUE_START = 100;
|
||||
private const string LIGHT_UVMOVIE_FILE_NAME = "gal_UVmovie_{0}_Light";
|
||||
private const string LIVE_IMAGE_SUFFIX_CHAMPIONS_LOGO = "champions_logo";
|
||||
private const string LIVE_IMAGE_SUFFIX_CHAMPIONS_JACKET = "champions_jacket";
|
||||
private Director.LoadAssetTask _loadAssetTask;
|
||||
private bool _isClothInitialized;
|
||||
private int _charaClothResetTimer;
|
||||
private GameObject _initializeCamera;
|
||||
private Transform _initializeCameraTransform;
|
||||
private float _clothInitTimer;
|
||||
//private List<PropsManager.PropsData> _propsDataList;
|
||||
private int _usualMultiTrainedCharaId;
|
||||
private bool _isInitializedMultiCamera;
|
||||
private bool _isInitialized;
|
||||
private static GameObject _cuttPrefab;
|
||||
private static bool _usingAssetBundleCuttPrefab;
|
||||
private static TextAsset _cyalumeChoreographyCsv;
|
||||
private static TextAsset _songPartCsv;
|
||||
private static TextAsset[] _uvMovieJsonArray;
|
||||
private bool _enableTimelineGlobalRimParam;
|
||||
private Vector3 _tempRateVector;
|
||||
private Vector3 _tempAttachRateVector;
|
||||
|
||||
public static Director Instance { get; }
|
||||
public static bool HasInstance { get; }
|
||||
public LiveTimelineControl LiveTimelineControl { get; }
|
||||
public Director.DisplayMode displayMode { get; set; }
|
||||
public bool IsStarted { get; }
|
||||
public bool IsFinished { get; set; }
|
||||
public static bool IsLiveCall { get; set; }
|
||||
public static bool IsDisplayCyalume { get; set; }
|
||||
public static bool IsDisplayAudience { get; set; }
|
||||
public RandomTable<float> randomTable { get; }
|
||||
public RandomRatioTable BlinkLightRandomRatioTable { get; }
|
||||
public float SceneFrameRate { get; }
|
||||
public LiveTimeController LiveTimeController { get; }
|
||||
public float LiveCurrentTime { get; }
|
||||
public float LiveTotalTime { get; }
|
||||
public bool isRequestFadeOut { get; }
|
||||
public bool DoStartLive { get; set; }
|
||||
public int screenOriginWidth { get; }
|
||||
public int screenOriginHeight { get; }
|
||||
public StageController StageController { get; }
|
||||
public bool IsEnabledStageController { get; }
|
||||
public Transform GlobalLightTransform { get; set; }
|
||||
public Camera[] CameraObjects { get; }
|
||||
public Animator CameraAnimator { get; }
|
||||
public HandShakeCamera HandShakeCamera { get; }
|
||||
//public GallopFrameBuffer FrameBuffer { get; }
|
||||
public Camera MainCameraObject { get; }
|
||||
public Transform MainCameraTransform { get; }
|
||||
public List<CharacterObject> CharacterObjectList { get; }
|
||||
public List<CharaEffectInfo> listShadowEffectInfo { get; }
|
||||
public List<CharaEffectInfo> listSpotLightEffectInfo { get; }
|
||||
public List<Director.SpotLightEffectMaterialData> SpotLightEffectMaterialDataList { get; set; }
|
||||
public PropsManager PropsManager { get; }
|
||||
public SongPart SongPart { get; }
|
||||
public LiveFadeController FadeController { get; }
|
||||
public LiveTimelineDefine.SheetIndex SheetType { get; }
|
||||
public bool IsTimelineControlled { get; }
|
||||
public static Director.LiveLoadSettings LoadSettings { get; }
|
||||
public static Director.Live3DSettings LiveSettings { get; }
|
||||
public static List<string> SongCueSheetPathList { get; set; }
|
||||
public int UsualMultiTrainedCharaId { get; set; }
|
||||
public bool IsInitialized { get; }
|
||||
public static RegisterInfo[] IndirectLightShaftsTextureRegisterInfoArray { get; set; }
|
||||
public static RegisterInfo[] CharacterRegisterInfoArray { get; set; }
|
||||
public static RegisterInfo[] CommonRegisterInfoArray { get; set; }
|
||||
public static RegisterInfo[] EffectRegisterInfoArray { get; set; }
|
||||
public static Dictionary<string, List<string>> FlashSeCueNameDict { get; set; }
|
||||
|
||||
//Testing
|
||||
public LiveEntry live;
|
||||
private const string CUTT_PATH = "cutt/cutt_son{0}/cutt_son{0}";
|
||||
|
||||
private UmaViewerBuilder Builder => UmaViewerBuilder.Instance;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
if (live != null)
|
||||
{
|
||||
Debug.Log(string.Format(CUTT_PATH, live.MusicId));
|
||||
Builder.LoadAssetPath(string.Format(CUTT_PATH, live.MusicId), this.gameObject.transform);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd41a591fd88f8f4a95b36ecbf27a8d1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,30 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class HandShakeCamera
|
||||
{
|
||||
public struct Work
|
||||
{
|
||||
public float Power; // 0x0
|
||||
public float Frequency; // 0x4
|
||||
public Vector3 CameraRightVector; // 0x8
|
||||
public float DeltaTime; // 0x14
|
||||
private float _currentAngle; // 0x18
|
||||
private Vector2 _screenPosition; // 0x1C
|
||||
private Vector2 _nextTarget; // 0x24
|
||||
private float _duration; // 0x2C
|
||||
}
|
||||
|
||||
private const float TIME_RANGE = 0.1f;
|
||||
private const float DELTA_TIME_FACTOR = 30;
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private float _power; // 0x10
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private float _frequency; // 0x14
|
||||
private Vector3 _position; // 0x18
|
||||
private HandShakeCamera.Work _work; // 0x24
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c2493e661265d18448ffc3513442d6f4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,18 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class LiveFadeController
|
||||
{
|
||||
//private RawImageCommon _landscapeImage; // 0x10
|
||||
//private RawImageCommon _portraitImage; // 0x18
|
||||
private float _startCurrentTime; // 0x20
|
||||
private float _duration; // 0x24
|
||||
private Color _color; // 0x28
|
||||
private Color _startColor; // 0x38
|
||||
private Color _targetColor; // 0x48
|
||||
private bool _isInitialized; // 0x58
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e55070e17f8671347b7a8cf06ab00008
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,29 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class LiveTimeController
|
||||
{
|
||||
private readonly float SmoothingTargetDeltaTime; // 0x10
|
||||
private readonly float SmoothingDeltaTimeThreshold; // 0x14
|
||||
private readonly float SmoothingOvertimeClamp; // 0x18
|
||||
private bool _isEnabledSmooth; // 0x20
|
||||
private float _smoothingWorkTime; // 0x28
|
||||
private float _lastMusicTimeWithoutDelay; // 0x2C
|
||||
private float _currentTime; // 0x30
|
||||
private float _prevTime; // 0x34
|
||||
private float _deltaTime; // 0x38
|
||||
private bool _doCalcElapsedTime; // 0x3C
|
||||
private float _elapsedTime; // 0x40
|
||||
private bool _isPause; // 0x44
|
||||
|
||||
public float MusicTime { get; set; }
|
||||
public float SmoothMusicTime { get; set; }
|
||||
public float CurrentTime { get; set; }
|
||||
public float DeltaTime { get; }
|
||||
public bool IsCalcElapsedTime { get; }
|
||||
public bool IsPause { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fbc7c70b27fb80842af2c4f4398705b4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,29 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class LiveTitleController : MonoBehaviour
|
||||
{
|
||||
private const int MAX_AUTHOR_TEXT_FONT_SIZE = 32;
|
||||
//[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
//private TextCommon _titleText; // 0x18
|
||||
//[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
//private TextCommon _authorText; // 0x20
|
||||
//[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
//private ImageCommon _titleImage; // 0x28
|
||||
//[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
//private UIGradation _titleGradation; // 0x30
|
||||
//[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
//private FadeGui _fadeGui; // 0x38
|
||||
private bool _isInitialized; // 0x40
|
||||
private bool _isDisappear; // 0x41
|
||||
private bool _isScaleSettingsVertical; // 0x42
|
||||
private const float HORIZONTAL_SCALE = 1;
|
||||
private const float VERTICAL_SCALE = 0.8f;
|
||||
private Transform _transform; // 0x48
|
||||
private Transform _landscapeTransform; // 0x50
|
||||
private Transform _portraitTransform; // 0x58
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b17d6fb8e8733854b993ee5af061bf50
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,92 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class Master3dLive
|
||||
{
|
||||
public class LiveSettings
|
||||
{
|
||||
public enum DataType
|
||||
{
|
||||
Cutt = 0,
|
||||
Bg = 1,
|
||||
Delay = 2,
|
||||
Camera = 3,
|
||||
UVMovie = 4,
|
||||
MirrorScanLightMaterial = 5,
|
||||
OP = 6,
|
||||
ED = 7,
|
||||
OptionOP = 8,
|
||||
OptionED = 9,
|
||||
AudienceAnimation = 10,
|
||||
ProjectorTexture = 11,
|
||||
DressChangePosition = 12,
|
||||
CharacterExpansion = 13,
|
||||
ExtraResource = 14,
|
||||
MusicResource = 15
|
||||
}
|
||||
|
||||
private const int COLUM_MIN = 2;
|
||||
public const int PARAM_MAX = 20;
|
||||
|
||||
public int Id { get; set; }
|
||||
public int TypeValue { get; set; }
|
||||
public Master3dLive.LiveSettings.DataType Type { get; set; }
|
||||
public string[] ParamStringArray { get; set; }
|
||||
public int[] ParamValueArray { get; set; }
|
||||
}
|
||||
|
||||
public class Live3dData
|
||||
{
|
||||
public enum ExtraResource
|
||||
{
|
||||
None = 0,
|
||||
ChampionsMeeting = 1
|
||||
}
|
||||
|
||||
public class UvMovieData
|
||||
{
|
||||
public enum LoadCondition
|
||||
{
|
||||
Never = -1,
|
||||
Always = 0,
|
||||
CharaDress = 1
|
||||
}
|
||||
|
||||
public enum PlayCondition
|
||||
{
|
||||
PlayNoLight = 0,
|
||||
PlayLight = 1
|
||||
}
|
||||
|
||||
public string ResourceName { get; set; }
|
||||
public int LoadConditionValue { get; set; }
|
||||
public int PlayConditionValue { get; set; }
|
||||
}
|
||||
|
||||
public int MusicId { get; set; }
|
||||
public int MusicResourceId { get; set; }
|
||||
public string CuttName { get; set; }
|
||||
public int BgId { get; set; }
|
||||
public int BgVar { get; set; }
|
||||
public float DelayTime { get; set; }
|
||||
public string CameraName { get; set; }
|
||||
public Master3dLive.Live3dData.UvMovieData[] UvMovieDataArray { get; set; }
|
||||
public int[] MirrorScanLightIdArray { get; set; }
|
||||
public string[] MirrorScanLightNameArray { get; set; }
|
||||
public bool IsOP { get; set; }
|
||||
public bool IsED { get; set; }
|
||||
public bool IsLyricsOP { get; set; }
|
||||
public bool IsLyricsED { get; set; }
|
||||
public bool IsCyalumeOP { get; set; }
|
||||
public bool IsCyalumeED { get; set; }
|
||||
public string[] AudienceAnimationArray { get; set; }
|
||||
public Dictionary<int, string> ProjectorTextureDictionary { get; set; }
|
||||
public int ExtraResourceId { get; set; }
|
||||
}
|
||||
|
||||
public Master3dLive.Live3dData LiveData;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 40b8dc33172b4844c840874cf782c340
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,22 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class MonitorCamera : MonoBehaviour
|
||||
{
|
||||
public const int DEFAULT_DEPTH = 16;
|
||||
public const float TEXTURE_WIDTH_RATE_MIN = 0.25f;
|
||||
public const float TEXTURE_WIDTH_RATE_MAX = 1;
|
||||
public const float TEXTURE_WIDTH_RATE_DEF = 0.25f;
|
||||
private Camera _targetCamera; // 0x18
|
||||
private bool _isEnabledTargetTexture; // 0x20
|
||||
private RenderTexture _targetTexture; // 0x28
|
||||
private RenderTexture _monitorTexture; // 0x30
|
||||
|
||||
public Camera TargetCamera { get; }
|
||||
public RenderTexture MonitorTexture { get; }
|
||||
public static float TextureWidthRate { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 728fa655c96f4b948a241fb73458c8d7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,14 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class MultiCamera : MonoBehaviour
|
||||
{
|
||||
private RenderTexture _framebufferCompositeTexture; // 0x18
|
||||
private RenderTexture _compositeTexture; // 0x20
|
||||
[SerializeField] // RVA: 0xEBE0 Offset: 0xEBE0 VA: 0x7FF85CCBEBE0
|
||||
private Material[] _compositeMaterial; // 0x28
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 391ac73b1e1e5694983213cd6918de9f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,38 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class MultiCameraFinalComposite : MonoBehaviour
|
||||
{
|
||||
public enum FadeType
|
||||
{
|
||||
Normal = 0,
|
||||
Single = 1,
|
||||
CaptureFrame = 2
|
||||
}
|
||||
|
||||
private enum MaterialType
|
||||
{
|
||||
None = 0,
|
||||
Normal = 1,
|
||||
Single = 2
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
private RenderTexture _finalCompositeTexture;
|
||||
[SerializeField]
|
||||
private RenderTexture _compositeTexture;
|
||||
[SerializeField]
|
||||
private Material[] _material;
|
||||
private Material _clearMaterial;
|
||||
[SerializeField]
|
||||
private float _fadeValue;
|
||||
[SerializeField]
|
||||
private RenderTexture _monitorTexture;
|
||||
private MultiCameraFinalComposite.FadeType _fadeType;
|
||||
//private GallopImageEffect _imageEffect;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ba97cdfd924bbea4eb6e07743cdbc23c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class RandomRatioTable
|
||||
{
|
||||
private RandomNumber _randomNumber; // 0x10
|
||||
private int _randomSeed; // 0x18
|
||||
private float[,] _randomValueArray; // 0x20
|
||||
private int _majorLength; // 0x28
|
||||
private int _minorLength; // 0x2C
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5d2aef65c1a5755449da20c62b2aac94
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,12 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class RandomTable
|
||||
{
|
||||
public const int DEFAULT_BUCKET_COUNT = 16;
|
||||
public const int DEFAULT_STACK_SIZE = 256;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6173f393a36d18b4c91e94c7779e0d3b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live
|
||||
{
|
||||
public class RandomTable<T>
|
||||
{
|
||||
private const int MAX_COUNT = 16;
|
||||
private const int OFFSET_RANDOM_BUCKET = 1;
|
||||
private bool _bInitialized;
|
||||
private Func<int, int, T> _fnGenerator;
|
||||
private int _bucketCount;
|
||||
private int _stackSize;
|
||||
private T[,] _arrRandomValue;
|
||||
private int _curStackPtr;
|
||||
|
||||
public bool isInitialized { get; }
|
||||
public int bucketCount { get; }
|
||||
public int stackSize { get; }
|
||||
public T Item { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5bfbb76a97b0185439ef1d26d8c18c23
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,19 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop
|
||||
{
|
||||
public static class LiveDefine
|
||||
{
|
||||
public const int LIVE_CHARACTER_MAX = 20;
|
||||
public const int LIVE_THEATER_CHARACTER_MAX = 18;
|
||||
public const int BACK_DANCER_RANK = 4;
|
||||
|
||||
public enum LightBlendMode
|
||||
{
|
||||
Addition = 0,
|
||||
Multiply = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bce1fb00fe9e7cd429eda19bdb470e4b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -19,5 +19,11 @@ namespace Gallop
|
||||
Multiply = 1,
|
||||
Max = 2
|
||||
}
|
||||
|
||||
public struct ModelDepthInfo
|
||||
{
|
||||
public int index; // 0x0
|
||||
public float depthOrder; // 0x4
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,507 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop
|
||||
{
|
||||
public static class RaceDefine
|
||||
{
|
||||
public enum PopularityMark
|
||||
{
|
||||
Left = 0,
|
||||
Center = 1,
|
||||
Right = 2
|
||||
}
|
||||
|
||||
public enum RaceType
|
||||
{
|
||||
None = 0,
|
||||
PvP = 1,
|
||||
Tutorial = 2,
|
||||
Story = 3,
|
||||
StoryCondition = 4,
|
||||
Champions = 5,
|
||||
Single = 6,
|
||||
SingleModeScenarioTeamRace = 7,
|
||||
RoomMatch = 8,
|
||||
Practice = 9,
|
||||
Daily = 10,
|
||||
TeamBuilding = 11,
|
||||
Legend = 12,
|
||||
ChallengeMatch = 13,
|
||||
TeamStadium = 14,
|
||||
Heroes = 16
|
||||
}
|
||||
|
||||
public enum RaceGroup
|
||||
{
|
||||
None = 0,
|
||||
Common = 1,
|
||||
Daily = 2,
|
||||
TrainingPractice = 3,
|
||||
StoryCondition = 4,
|
||||
TeamBuilding = 5,
|
||||
Practice = 6,
|
||||
Single = 7,
|
||||
Legend = 8,
|
||||
TeamStadium = 9,
|
||||
SingleModeScenarioTeamRace = 10,
|
||||
Champions = 11,
|
||||
RoomMatch = 12,
|
||||
ChallengeMatch = 13,
|
||||
Heroes = 14,
|
||||
CustomG1 = 61
|
||||
}
|
||||
|
||||
public enum CourseDistanceType
|
||||
{
|
||||
Short = 1,
|
||||
Mile = 2,
|
||||
Middle = 3,
|
||||
Long = 4
|
||||
}
|
||||
|
||||
public enum TeamRaceNumberType
|
||||
{
|
||||
Short = 1,
|
||||
Mile = 2,
|
||||
Middle = 3,
|
||||
Long = 4,
|
||||
Dirt = 5
|
||||
}
|
||||
|
||||
public enum RaceState
|
||||
{
|
||||
Null = -1,
|
||||
Init = 0,
|
||||
MemberList = 1,
|
||||
GateIn = 2,
|
||||
WaitStartDash = 3,
|
||||
Race = 4,
|
||||
OverRun = 5,
|
||||
OverRunResult = 6,
|
||||
WinningCircleInit = 7,
|
||||
WinningCircle = 8,
|
||||
End = 9
|
||||
}
|
||||
|
||||
public enum RaceNpcType
|
||||
{
|
||||
Normal = 0,
|
||||
Boss = 3,
|
||||
User = 11,
|
||||
UserOther = 20,
|
||||
Ghost = 21,
|
||||
Follow = 22
|
||||
}
|
||||
|
||||
public enum Grade
|
||||
{
|
||||
None = 0,
|
||||
Grade1 = 100,
|
||||
Grade2 = 200,
|
||||
Grade3 = 300,
|
||||
Grade4 = 400,
|
||||
Grade5 = 500,
|
||||
Grade6 = 600,
|
||||
Grade7 = 700,
|
||||
Grade8 = 800,
|
||||
Grade9 = 900,
|
||||
SpecialGrade = 1000,
|
||||
G1 = 100,
|
||||
G2 = 200,
|
||||
G3 = 300,
|
||||
Open = 400,
|
||||
U_1600 = 500,
|
||||
U_1000 = 600,
|
||||
PreOpen = 700,
|
||||
NoWin = 800,
|
||||
NewHorses = 900,
|
||||
Legend = 100,
|
||||
Orion = 200,
|
||||
Cassiopeia = 300,
|
||||
Aries = 400,
|
||||
Varugo = 500,
|
||||
Consolation = 800,
|
||||
Beginner = 900,
|
||||
GUR = 1000,
|
||||
Min = 900
|
||||
}
|
||||
|
||||
public enum Difficulty
|
||||
{
|
||||
Easy = 1,
|
||||
Normal = 2,
|
||||
Hard = 3,
|
||||
VeryHard = 4,
|
||||
Extreme = 5
|
||||
}
|
||||
|
||||
public enum StraightFrontType
|
||||
{
|
||||
Null = 0,
|
||||
Front = 1,
|
||||
AcrossFront = 2
|
||||
}
|
||||
|
||||
public enum GroundType
|
||||
{
|
||||
Turf = 1,
|
||||
Dirt = 2,
|
||||
Max = 2
|
||||
}
|
||||
|
||||
public enum GroundCondition
|
||||
{
|
||||
Good = 1,
|
||||
Soft = 2,
|
||||
Hard = 3,
|
||||
Bad = 4
|
||||
}
|
||||
|
||||
public enum Weather
|
||||
{
|
||||
None = 0,
|
||||
Sunny = 1,
|
||||
Cloudy = 2,
|
||||
Rainy = 3,
|
||||
Snow = 4,
|
||||
Max = 5,
|
||||
Min = 0
|
||||
}
|
||||
|
||||
public enum Time
|
||||
{
|
||||
None = 0,
|
||||
Morning = 1,
|
||||
Daytime = 2,
|
||||
Evening = 3,
|
||||
Night = 4,
|
||||
Max = 5,
|
||||
Min = 0
|
||||
}
|
||||
|
||||
public enum CourseAround
|
||||
{
|
||||
None = 1,
|
||||
Inner = 2,
|
||||
Outer = 3,
|
||||
OuterToInner = 4
|
||||
}
|
||||
|
||||
public enum Rotation
|
||||
{
|
||||
Right = 1,
|
||||
Left = 2,
|
||||
StraightRight = 3,
|
||||
StraightLeft = 4
|
||||
}
|
||||
|
||||
public enum Audience
|
||||
{
|
||||
Few = 1,
|
||||
Normal = 2,
|
||||
SoldOut = 3
|
||||
}
|
||||
|
||||
public enum Category
|
||||
{
|
||||
Course = 0,
|
||||
Gate = 1,
|
||||
TurfGoal = 2,
|
||||
DirtGoal = 3,
|
||||
TurfGoalFlower = 4,
|
||||
DirtGoalFlower = 5,
|
||||
Tree = 6,
|
||||
Audience = 7,
|
||||
Flag = 8,
|
||||
Sky = 9,
|
||||
Car = 10
|
||||
}
|
||||
|
||||
public enum GoalGateType
|
||||
{
|
||||
Common = 0
|
||||
}
|
||||
|
||||
public enum RunningStyle
|
||||
{
|
||||
None = 0,
|
||||
Nige = 1,
|
||||
Senko = 2,
|
||||
Sashi = 3,
|
||||
Oikomi = 4
|
||||
}
|
||||
|
||||
public enum RunningStyleEx
|
||||
{
|
||||
None = 0,
|
||||
Oonige = 1
|
||||
}
|
||||
|
||||
public enum ProperExpCategory
|
||||
{
|
||||
None = 0,
|
||||
Ground = 1,
|
||||
RunningStyle = 2,
|
||||
Distance = 3
|
||||
}
|
||||
|
||||
public enum ProperGrade
|
||||
{
|
||||
Null = 0,
|
||||
G = 1,
|
||||
F = 2,
|
||||
E = 3,
|
||||
D = 4,
|
||||
C = 5,
|
||||
B = 6,
|
||||
A = 7,
|
||||
S = 8
|
||||
}
|
||||
|
||||
public enum ProperType
|
||||
{
|
||||
Distance = 1,
|
||||
Ground = 2,
|
||||
RunningStyle = 3
|
||||
}
|
||||
|
||||
public enum DefeatType
|
||||
{
|
||||
Null = 0,
|
||||
Win = 1,
|
||||
Lose = 2,
|
||||
RunningStyleMany = 3,
|
||||
Temptaion = 4,
|
||||
GutsOrder = 5,
|
||||
Stamina = 6,
|
||||
LastSpurtFalse = 7,
|
||||
LastSpurtTargetSpeedDec = 8,
|
||||
PassiveSkillNum = 9,
|
||||
BlockFrontTime = 10,
|
||||
Speed = 11,
|
||||
ProperDistance = 12,
|
||||
ProperGround = 13,
|
||||
Motivation = 14
|
||||
}
|
||||
|
||||
public enum HorseLength
|
||||
{
|
||||
Nose = 0,
|
||||
Head = 1,
|
||||
Neck = 2,
|
||||
Half = 3,
|
||||
ThreeQuarters = 4,
|
||||
One = 5,
|
||||
OneAndOneQuarters = 6,
|
||||
OneAndHalf = 7,
|
||||
OneAndThreeQuarters = 8,
|
||||
Two = 9,
|
||||
TwoAndHalf = 10,
|
||||
Three = 11,
|
||||
ThreeAndHalf = 12,
|
||||
Four = 13,
|
||||
Five = 14,
|
||||
Six = 15,
|
||||
Seven = 16,
|
||||
Eight = 17,
|
||||
Nine = 18,
|
||||
Ten = 19,
|
||||
OverTen = 20
|
||||
}
|
||||
|
||||
public enum CoursePathType
|
||||
{
|
||||
NormalRace = 0,
|
||||
StoryRace = 1
|
||||
}
|
||||
|
||||
public enum BGMControlMode
|
||||
{
|
||||
Null = 0,
|
||||
Normal = 1
|
||||
}
|
||||
|
||||
public enum RaceBGMConditionType
|
||||
{
|
||||
Null = -1,
|
||||
Heroes1stStage = 1,
|
||||
HeroesFinalStage = 10
|
||||
}
|
||||
|
||||
public enum SlopeType
|
||||
{
|
||||
Null = 0,
|
||||
Up = 1,
|
||||
Down = 2
|
||||
}
|
||||
|
||||
public enum QualityType
|
||||
{
|
||||
Quality3D_Light = 0,
|
||||
Quality3D = 1,
|
||||
Quality3D_Rich = 2,
|
||||
Quality_Unknown = -1
|
||||
}
|
||||
|
||||
public enum CutInPlayMode
|
||||
{
|
||||
LongOnceADay = 0,
|
||||
Long = 1,
|
||||
Short = 2
|
||||
}
|
||||
|
||||
public enum Motivation
|
||||
{
|
||||
None = 0,
|
||||
Min = 1,
|
||||
Low = 2,
|
||||
Middle = 3,
|
||||
High = 4,
|
||||
Max = 5
|
||||
}
|
||||
|
||||
public enum UnlockFlag
|
||||
{
|
||||
Status = 1,
|
||||
ConservePower = 2
|
||||
}
|
||||
|
||||
public enum PositionKeepMode
|
||||
{
|
||||
Null = 0,
|
||||
SpeedUp = 1,
|
||||
Overtake = 2,
|
||||
PaseUp = 3,
|
||||
PaseDown = 4,
|
||||
PaseUpEx = 5
|
||||
}
|
||||
|
||||
public enum EventCameraCategory
|
||||
{
|
||||
Jikkyo = 1,
|
||||
SkillCutIn = 2,
|
||||
Temp01 = 3,
|
||||
Goal = 4
|
||||
}
|
||||
|
||||
public enum HorseRelativePos
|
||||
{
|
||||
Null = 0,
|
||||
Left = 1,
|
||||
Right = 2
|
||||
}
|
||||
|
||||
public enum TurfVisionType
|
||||
{
|
||||
URA = 1,
|
||||
NAU = 2,
|
||||
Stand = 3
|
||||
}
|
||||
|
||||
public enum ResultBoardConditionType
|
||||
{
|
||||
Turf_None = 1,
|
||||
Turf_Dirt = 2,
|
||||
Dirt_None = 3,
|
||||
Dirt_Turf = 4
|
||||
}
|
||||
|
||||
public enum EventType
|
||||
{
|
||||
None = 0,
|
||||
LegendRace = 1
|
||||
}
|
||||
|
||||
public enum RaceTrackFootSmokeColorType
|
||||
{
|
||||
LightMap = 1,
|
||||
LightProbeOnlyNight = 2
|
||||
}
|
||||
|
||||
public enum SEPriority
|
||||
{
|
||||
ResidentCrowd = 1,
|
||||
GroupFoot = 2,
|
||||
HighFoot = 3,
|
||||
CourseEnvironment = 4,
|
||||
EventCrowd = 5,
|
||||
StoryRaceVoice = 6,
|
||||
CourseGateOpen = 7,
|
||||
StoryRaceTimeline = 8,
|
||||
Score = 9,
|
||||
SkillCutIn = 10,
|
||||
MessagePlate = 11,
|
||||
Skill = 13,
|
||||
Foot = 15,
|
||||
Cloth = 20
|
||||
}
|
||||
|
||||
public enum CharaColorType
|
||||
{
|
||||
Null = 0,
|
||||
Black = 1
|
||||
}
|
||||
|
||||
public enum MainStoryShowSkillType
|
||||
{
|
||||
Null = 0,
|
||||
Show = 1,
|
||||
ShowGimmickMatch = 2,
|
||||
ShowGimmickUnmatch = 3
|
||||
}
|
||||
|
||||
public enum LastSpurtEvaluateValue
|
||||
{
|
||||
False = 0,
|
||||
True = 1,
|
||||
TrueExceedNeedMaxHp = 2,
|
||||
Max = 2
|
||||
}
|
||||
|
||||
public const int FINAL_CORNER_END_ORDER_NULL = -1;
|
||||
public const int HORSE_INDEX_NULL = -1;
|
||||
public const int TEAM_STADIUM_MEMBER_MAX = 3;
|
||||
public const int POPULARITY_ICON_MAX = 5;
|
||||
public const int SCREEN_VERTICAL = 0;
|
||||
public const int SCREEN_LANDSCAPE = 1;
|
||||
public const string POPULAR_ICON_NAME = "utx_ico_racepopularity_{0:D2}";
|
||||
public const int RANK_1ST = 1;
|
||||
public const int RANK_2ND = 2;
|
||||
public const int RANK_3RD = 3;
|
||||
public const int RANK_4TH = 4;
|
||||
public const int RANK_5TH = 5;
|
||||
public const int RANK_6TH = 6;
|
||||
public const int COURSE_SECTION_NUM = 24;
|
||||
public const float HORSE_LENGTH_DISTANCE_ONE = 2.5f;
|
||||
public const float HorseLength_One = 1;
|
||||
public const float HorseLength_Three = 3;
|
||||
public const float HorseDistance2LaneCoef = 18;
|
||||
public const float HorseLane2DistanceCoef = 0.055555556f;
|
||||
public const float HorseLane_Quarters = 0.013888889f;
|
||||
public const float HorseLane_Harf = 0.027777778f;
|
||||
public const float HorseLane_ThreeQuarters = 0.041666668f;
|
||||
public const float HorseLane_One = 0.055555556f;
|
||||
public const float HorseLane_OneAndOneQuarters = 0.06944445f;
|
||||
public const float HorseLane_OneAndHarf = 0.083333336f;
|
||||
public const float HorseLane_OneAndThreeQuarters = 0.097222224f;
|
||||
public const float HorseLane_Two = 0.11111111f;
|
||||
public const float HorseLane_Three = 0.16666667f;
|
||||
public const float HorseLane_Four = 0.22222222f;
|
||||
public const float HorseLane_Five = 0.2777778f;
|
||||
public const float HorseLane_Six = 0.33333334f;
|
||||
public const float HorseLane_Seven = 0.3888889f;
|
||||
public const float HorseLane_Eight = 0.44444445f;
|
||||
public const float HorseLane_Nine = 0.5f;
|
||||
public const float HorseLane_Ten = 0.5555556f;
|
||||
public const int RACE_HORSE_MAX = 18;
|
||||
public const float COURSE_SCALE = 0.625f;
|
||||
public const float COURSE_WIDTH = 11.25f;
|
||||
public const float ONE_FURONG_DISTANCE = 200;
|
||||
public const float ONE_FURONG_DISTANCE_INV = 0.005f;
|
||||
public const int POST_NUMBER_MIN = 1;
|
||||
public const int POST_NUMBER_MAX = 8;
|
||||
public const int COMPETE_GROUP_NULL = -1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc1d44fb449948548b26e82d2f6f5a6e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,11 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop
|
||||
{
|
||||
public class RandomNumber
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ef25312972ef6034cb969aa68f88e86e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Resources;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop
|
||||
{
|
||||
public class RegisterInfo
|
||||
{
|
||||
private string _filePath; // 0x10
|
||||
//private ResourceManager.ResourceHash _hash; // 0x18
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9a9be58d9187fa74aa1f3ea4b00d23fe
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,102 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop
|
||||
{
|
||||
public interface ISongPartAccesor
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class SongPart : ISongPartAccesor
|
||||
{
|
||||
public enum PartPosition
|
||||
{
|
||||
Center = 0,
|
||||
Left = 1,
|
||||
Right = 2,
|
||||
Left2 = 3,
|
||||
Right2 = 4,
|
||||
Left3 = 5,
|
||||
Right3 = 6,
|
||||
Max = 7,
|
||||
LLeft = 3,
|
||||
RRight = 4
|
||||
}
|
||||
|
||||
public enum PartType
|
||||
{
|
||||
Off = 0,
|
||||
Label_0 = 1,
|
||||
Label_1 = 2,
|
||||
Label_2 = 3,
|
||||
Label_3 = 4,
|
||||
Label_4 = 5,
|
||||
Label_5 = 6,
|
||||
Max = 7
|
||||
}
|
||||
|
||||
private enum CsvLabel
|
||||
{
|
||||
Time = 0,
|
||||
Sing_LLeft = 1,
|
||||
Sing_Left = 2,
|
||||
Sing_Center = 3,
|
||||
Sing_Right = 4,
|
||||
Sing_RRight = 5,
|
||||
Volume_LLeft = 6,
|
||||
Volume_Left = 7,
|
||||
Volume_Center = 8,
|
||||
Volume_Right = 9,
|
||||
Volume_RRight = 10,
|
||||
Pan_LLeft = 11,
|
||||
Pan_Left = 12,
|
||||
Pan_Center = 13,
|
||||
Pan_Right = 14,
|
||||
Pan_RRight = 15,
|
||||
Max = 16
|
||||
}
|
||||
|
||||
private enum CsvLabel7
|
||||
{
|
||||
Time = 0,
|
||||
Sing_Left3 = 1,
|
||||
Sing_Left2 = 2,
|
||||
Sing_Left = 3,
|
||||
Sing_Center = 4,
|
||||
Sing_Right = 5,
|
||||
Sing_Right2 = 6,
|
||||
Sing_Right3 = 7,
|
||||
Volume_Left3 = 8,
|
||||
Volume_Left2 = 9,
|
||||
Volume_Left = 10,
|
||||
Volume_Center = 11,
|
||||
Volume_Right = 12,
|
||||
Volume_Right2 = 13,
|
||||
Volume_Right3 = 14,
|
||||
Pan_Left3 = 15,
|
||||
Pan_Left2 = 16,
|
||||
Pan_Left = 17,
|
||||
Pan_Center = 18,
|
||||
Pan_Right = 19,
|
||||
Pan_Right2 = 20,
|
||||
Pan_Right3 = 21,
|
||||
VolumeRate = 22,
|
||||
Max = 23
|
||||
}
|
||||
|
||||
public class SongPartData
|
||||
{
|
||||
public long Time { get; set; }
|
||||
public SongPart.PartType[] PartArray { get; set; }
|
||||
public int[] PositionArray { get; set; }
|
||||
public int[] OrderArray { get; set; }
|
||||
public float[] PartVolumeArray { get; set; }
|
||||
public float[] PartPanArray { get; set; }
|
||||
public float PartVolumeRate { get; set; }
|
||||
}
|
||||
|
||||
private List<SongPart.SongPartData> _songPartDataList; // 0x10
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d0f3dc31bd9a38549aa0a74e8e21b9bd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user