-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* v1.3.1 copier changes * v1.3.1 - Copier fixes
- Loading branch information
Showing
12 changed files
with
968 additions
and
772 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System.Collections.Generic; | ||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections; | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace Pumkin.AvatarTools.Copiers | ||
{ | ||
public class CopyInstance | ||
{ | ||
public GameObject from; | ||
public GameObject to; | ||
public List<CopierPropertyReference> propertyRefs; | ||
public HashSet<Transform> ignoredTransforms; | ||
|
||
public CopyInstance(GameObject copyFrom, GameObject copyTo, IEnumerable<Transform> ignoreList) | ||
{ | ||
from = copyFrom; | ||
to = copyTo; | ||
propertyRefs = new List<CopierPropertyReference>(); | ||
ignoredTransforms = new HashSet<Transform>(ignoreList); | ||
} | ||
} | ||
|
||
public class CopierPropertyReference | ||
{ | ||
public SerializedObject serialiedObject; | ||
public string[] propertyPaths; | ||
public Transform[] targetTransforms; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.