mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Minor: fixed formatting to please format checks.
This commit is contained in:
parent
20203dcd07
commit
80479320f7
@ -63,7 +63,7 @@ namespace Spine.Unity {
|
|||||||
|
|
||||||
[CreateAssetMenu(fileName = "New SkeletonDataAsset", menuName = "Spine/SkeletonData Asset")]
|
[CreateAssetMenu(fileName = "New SkeletonDataAsset", menuName = "Spine/SkeletonData Asset")]
|
||||||
public class SkeletonDataAsset : ScriptableObject {
|
public class SkeletonDataAsset : ScriptableObject {
|
||||||
#region Inspector
|
#region Inspector
|
||||||
public AtlasAssetBase[] atlasAssets = new AtlasAssetBase[0];
|
public AtlasAssetBase[] atlasAssets = new AtlasAssetBase[0];
|
||||||
|
|
||||||
#if SPINE_TK2D
|
#if SPINE_TK2D
|
||||||
@ -97,12 +97,12 @@ namespace Spine.Unity {
|
|||||||
void Reset () {
|
void Reset () {
|
||||||
Clear();
|
Clear();
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
SkeletonData skeletonData;
|
SkeletonData skeletonData;
|
||||||
AnimationStateData stateData;
|
AnimationStateData stateData;
|
||||||
|
|
||||||
#region Runtime Instantiation
|
#region Runtime Instantiation
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates a runtime SkeletonDataAsset.</summary>
|
/// Creates a runtime SkeletonDataAsset.</summary>
|
||||||
public static SkeletonDataAsset CreateRuntimeInstance (TextAsset skeletonDataFile, AtlasAssetBase atlasAsset, bool initialize, float scale = 0.01f) {
|
public static SkeletonDataAsset CreateRuntimeInstance (TextAsset skeletonDataFile, AtlasAssetBase atlasAsset, bool initialize, float scale = 0.01f) {
|
||||||
@ -137,7 +137,7 @@ namespace Spine.Unity {
|
|||||||
Clear();
|
Clear();
|
||||||
GetSkeletonData(true);
|
GetSkeletonData(true);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
/// <summary>Clears the loaded SkeletonData and AnimationStateData. Use this to force a reload for the next time GetSkeletonData is called.</summary>
|
/// <summary>Clears the loaded SkeletonData and AnimationStateData. Use this to force a reload for the next time GetSkeletonData is called.</summary>
|
||||||
public void Clear () {
|
public void Clear () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user