Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     player             = PlayerController.Instance;
     rope               = ChangeRopeLength.Instance;
     animator           = player.animator;
     player.jumpFinish += () => {
         rope.SetStiffness(1);
         jumpfinish = true;
     };
 }
Exemplo n.º 2
0
 void Awake()
 {
     instance = this;
 }