mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
Initial commit
This commit is contained in:
commit
3c7cc0c973
8391 changed files with 704313 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
using System.Runtime.CompilerServices;
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: cb006e3fa37420b42b3673eef90cd4b5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: de9233595819db54faa3b4122efb128c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,5 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: InternalsVisibleTo("Unity.2D.Animation.Runtime")]
|
||||
[assembly: InternalsVisibleTo("Unity.2D.Animation.Editor")]
|
||||
[assembly: InternalsVisibleTo("Unity.2D.IK.Editor")]
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 031a31877f2d04a4dac4146c804dbde9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "Unity.InternalAPIEngineBridge.001",
|
||||
"references": [],
|
||||
"optionalUnityReferences": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": []
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e4b228dab700203488a7c7d474a25838
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,58 @@
|
|||
using UnityEngine.UIElements;
|
||||
using Unity.Collections;
|
||||
|
||||
namespace UnityEngine.U2D.Common
|
||||
{
|
||||
internal static class InternalEngineBridge
|
||||
{
|
||||
public static void SetLocalAABB(SpriteRenderer spriteRenderer, Bounds aabb)
|
||||
{
|
||||
spriteRenderer.SetLocalAABB(aabb);
|
||||
}
|
||||
|
||||
public static void SetDeformableBuffer(SpriteRenderer spriteRenderer, NativeArray<byte> src)
|
||||
{
|
||||
spriteRenderer.SetDeformableBuffer(src);
|
||||
}
|
||||
|
||||
public static Vector2 GUIUnclip(Vector2 v)
|
||||
{
|
||||
return GUIClip.Unclip(v);
|
||||
}
|
||||
|
||||
public static Rect GetGUIClipTopMostRect()
|
||||
{
|
||||
return GUIClip.topmostRect;
|
||||
}
|
||||
|
||||
public static Rect GetGUIClipTopRect()
|
||||
{
|
||||
return GUIClip.GetTopRect();
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
public static void SetLocalEulerHint(Transform t)
|
||||
{
|
||||
t.SetLocalEulerHint(t.GetLocalEulerAngles(t.rotationOrder));
|
||||
}
|
||||
|
||||
public static bool IsChecked(this VisualElement element)
|
||||
{
|
||||
return (element.pseudoStates & PseudoStates.Checked) == PseudoStates.Checked;
|
||||
}
|
||||
|
||||
public static void SetChecked(this VisualElement element, bool isChecked)
|
||||
{
|
||||
if (isChecked)
|
||||
{
|
||||
element.pseudoStates |= PseudoStates.Checked;
|
||||
}
|
||||
else
|
||||
{
|
||||
element.pseudoStates &= ~PseudoStates.Checked;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 74d5c6e86f4a1214ca6e9737086f7468
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "Unity.2D.Common.Runtime",
|
||||
"references": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": []
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c3352a8bbbe14fb4ab52ae7bfff927ea
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Add table
Add a link
Reference in a new issue