This file contains hidden or 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
using UnityEngine; | |
using UnityEngine.Playables; | |
public class SetParentBehaviour : PlayableBehaviour | |
{ | |
public Transform parentObject; | |
public override void ProcessFrame(Playable playable, FrameData info, object playerData) | |
{ | |
if (parentObject == null) return; |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEditor; | |
using UnityEngine; | |
namespace Caskev.Tool | |
{ | |
public class CustomEditorGenerator : Editor |