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
///This sample script adds shaking movements to the humanoid bone. | |
///but could be used for other rig with a bit of modification. | |
///Useful when we want to a certain part of the enemy, as seen in most games with huge boss... :P | |
using UnityEngine; | |
public class shakebone : MonoBehaviour { | |
Animator animator; | |
public HumanBodyBones[] bones; |