forked from MattRix/UnityDecompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathComponentUtility.cs
More file actions
24 lines (24 loc) · 823 Bytes
/
Copy pathComponentUtility.cs
File metadata and controls
24 lines (24 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Runtime.CompilerServices;
using UnityEngine;
namespace UnityEditorInternal
{
public sealed class ComponentUtility
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern bool MoveComponentUp(Component component);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern bool MoveComponentDown(Component component);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern bool CopyComponent(Component component);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern bool PasteComponentValues(Component component);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern bool PasteComponentAsNew(GameObject go);
}
}