public override void OnInspectorGUI() { spriteDeformerAnimation = (SpriteDeformerAnimation)target; base.InspectorSpriteDeformer(); base.InspectorEditToolBar(); }
void Start() { spriteDeformerAnimation = GetComponent<SpriteDeformerAnimation>(); foreach (var point in spriteDeformerAnimation.points) { if (point.name == "foot") { footPoints.Add(point); spriteDeformerAnimation.notAnimatedPoints.Add(point); } } }